public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/kodi-screensaver-pingpong/
Date: Wed, 21 May 2025 19:21:37 +0000 (UTC)	[thread overview]
Message-ID: <1747855266.885459ea3fd60dc973ec6ed94e3460f483ae16f2.asturm@gentoo> (raw)

commit:     885459ea3fd60dc973ec6ed94e3460f483ae16f2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 18:11:45 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 21 19:21:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885459ea

media-plugins/kodi-screensaver-pingpong: 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-pingpong-9999.ebuild          | 30 ++++++++++++----------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/media-plugins/kodi-screensaver-pingpong/kodi-screensaver-pingpong-9999.ebuild b/media-plugins/kodi-screensaver-pingpong/kodi-screensaver-pingpong-9999.ebuild
index 5046bcdc53fc..9374f552abe9 100644
--- a/media-plugins/kodi-screensaver-pingpong/kodi-screensaver-pingpong-9999.ebuild
+++ b/media-plugins/kodi-screensaver-pingpong/kodi-screensaver-pingpong-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 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="Ping-pong screensaver for Kodi"
 HOMEPAGE="https://github.com/xbmc/screensaver.pingpong"
@@ -11,17 +11,14 @@ KODI_PLUGIN_NAME="screensaver.pingpong"
 
 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,17 +26,24 @@ LICENSE="GPL-2+"
 SLOT="0"
 IUSE=""
 
-DEPEND+="
+DEPEND="
 	>=media-libs/glm-0.9.9.8-r1
+	=media-tv/kodi-${PV%%.*}*
 	virtual/opengl
-	"
-
+"
 RDEPEND="${DEPEND}"
-
 BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
-	if [ -d depends ]; then rm -rf depends || die; fi
-
+	if [[ -d depends ]]; then
+		rm -r depends || die
+	fi
 	cmake_src_prepare
 }
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)/kodi"
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2025-05-21 19:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 19:21 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-14 20:12 [gentoo-commits] repo/gentoo:master commit in: media-plugins/kodi-screensaver-pingpong/ Andreas Sturmlechner
2020-11-19 19:46 Craig Andrews
2020-08-13 20:50 Craig Andrews
2020-08-13 20:50 Craig Andrews
2020-08-02  1:22 Craig Andrews
2020-07-29 18:11 Craig Andrews
2019-08-26 21:12 Craig Andrews
2018-11-06 16:02 Craig Andrews
2017-07-30 12:13 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1747855266.885459ea3fd60dc973ec6ed94e3460f483ae16f2.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox