commit:     abc3e3fce3b03503a1b6b0757a5b50302df5ecfc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 18:11:53 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 21 19:21:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc3e3fc

media-plugins/kodi-screensaver-stars: EAPI 7 -> 8, drop kodi-addon.eclass

Cleanup ebuild style and standardise

Use adaptive version dep on media-tv/kodi

Add countless missing slot ops

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kodi-screensaver-stars-9999.ebuild                | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git 
a/media-plugins/kodi-screensaver-stars/kodi-screensaver-stars-9999.ebuild 
b/media-plugins/kodi-screensaver-stars/kodi-screensaver-stars-9999.ebuild
index 45acfbb6c5b1..41d7e99bc193 100644
--- a/media-plugins/kodi-screensaver-stars/kodi-screensaver-stars-9999.ebuild
+++ b/media-plugins/kodi-screensaver-stars/kodi-screensaver-stars-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit kodi-addon
+inherit cmake
 
 DESCRIPTION="Stars screensaver for Kodi"
 HOMEPAGE="https://github.com/xbmc/screensaver.stars";
@@ -11,17 +11,14 @@ KODI_PLUGIN_NAME="screensaver.stars"
 
 case ${PV} in
 9999)
-       SRC_URI=""
        EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git";
        inherit git-r3
-       DEPEND="~media-tv/kodi-9999"
        ;;
 *)
        CODENAME="Matrix"
-       KEYWORDS="~amd64 ~x86"
        
SRC_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}/archive/${PV}-${CODENAME}.tar.gz
 -> ${P}.tar.gz"
        S="${WORKDIR}/${KODI_PLUGIN_NAME}-${PV}-${CODENAME}"
-       DEPEND="=media-tv/kodi-19*:="
+       KEYWORDS="~amd64 ~x86"
        ;;
 esac
 
@@ -29,4 +26,12 @@ LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
 
+DEPEND="=media-tv/kodi-${PV%%.*}*"
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/kodi"
+       )
+       cmake_src_configure
+}

Reply via email to