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-visualization-projectm/
Date: Wed, 21 May 2025 19:21:38 +0000 (UTC)	[thread overview]
Message-ID: <1747855268.ebce27911f5dfc81a9effd55a0910fe329ea437a.asturm@gentoo> (raw)

commit:     ebce27911f5dfc81a9effd55a0910fe329ea437a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 18:12:09 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 21 19:21:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebce2791

media-plugins/kodi-visualization-projectm: 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-visualization-projectm-9999.ebuild        | 32 ++++++++++++----------
 1 file changed, 18 insertions(+), 14 deletions(-)

diff --git a/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
index 8bde368c1ddf..fa8d3f0adb79 100644
--- a/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
+++ b/media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-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="ProjectM visualizer for Kodi"
 HOMEPAGE="https://github.com/xbmc/visualization.projectm"
@@ -11,17 +11,14 @@ KODI_PLUGIN_NAME="visualization.projectm"
 
 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+="
-	virtual/opengl
+DEPEND="
 	>=media-libs/libprojectm-3.1.12:=
-	"
-
+	=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:22 UTC|newest]

Thread overview: 29+ 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-visualization-projectm/ Andreas Sturmlechner
2023-06-01 16:03 Arthur Zamarin
2021-11-15 13:37 Craig Andrews
2021-09-13 18:34 Craig Andrews
2020-09-16 21:56 Craig Andrews
2020-08-24 13:46 Craig Andrews
2020-08-13 20:50 Craig Andrews
2020-08-13 20:50 Craig Andrews
2020-07-29 18:11 Craig Andrews
2020-02-21 20:01 Craig Andrews
2020-02-21 20:01 Craig Andrews
2019-12-14 21:05 Craig Andrews
2019-12-14 21:05 Craig Andrews
2019-12-13 16:26 Craig Andrews
2019-10-09 16:08 Craig Andrews
2019-10-07 13:12 Craig Andrews
2019-10-07 13:10 Craig Andrews
2019-10-04 20:00 Craig Andrews
2019-09-05 17:30 Craig Andrews
2019-08-27 17:57 Craig Andrews
2019-08-26 21:12 Craig Andrews
2019-03-06 15:24 Craig Andrews
2018-11-06 16:02 Craig Andrews
2018-11-05 17:35 Craig Andrews
2017-07-30 12:13 Michał Górny
2017-03-23 20:46 David Seifert
2017-02-28 15:39 Marek Szuba
2017-02-28 15:39 Marek Szuba

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=1747855268.ebce27911f5dfc81a9effd55a0910fe329ea437a.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