media-plugins/kodi-visualization-projectm: -9999 requires media-libs/libprojectm...
authorCraig Andrews <candrews@gentoo.org>
Mon, 5 Nov 2018 17:34:48 +0000 (12:34 -0500)
committerCraig Andrews <candrews@gentoo.org>
Mon, 5 Nov 2018 17:35:05 +0000 (12:35 -0500)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-visualization-projectm/kodi-visualization-projectm-9999.ebuild
media-plugins/kodi-visualization-projectm/metadata.xml

index fbfcbfb612a2d99bf2aa088d0c8a0ca407500951..f19d564570c0615507b3ed94fec0a848c709e6f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,18 +6,18 @@ EAPI=6
 inherit cmake-utils kodi-addon
 
 DESCRIPTION="ProjectM visualizer for Kodi"
-HOMEPAGE="https://github.com/notspiff/visualization.projectm"
+HOMEPAGE="https://github.com/xbmc/visualization.projectm"
 SRC_URI=""
 
 case ${PV} in
 9999)
        SRC_URI=""
-       EGIT_REPO_URI="https://github.com/notspiff/visualization.projectm.git"
+       EGIT_REPO_URI="https://github.com/xbmc/visualization.projectm.git"
        inherit git-r3
        ;;
 *)
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="https://github.com/notspiff/visualization.projectm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       SRC_URI="https://github.com/xbmc/visualization.projectm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
        S="${WORKDIR}/visualization.projectm-${PV}"
        ;;
 esac
@@ -27,12 +27,18 @@ SLOT="0"
 IUSE=""
 
 DEPEND="
-       =media-tv/kodi-9999
-       =media-libs/kodi-platform-9999
-       media-libs/libprojectm
+       ~media-tv/kodi-9999
+       ~media-libs/kodi-platform-9999
+       >=media-libs/libprojectm-3.1.0
        virtual/opengl
        "
 
 RDEPEND="
        ${DEPEND}
        "
+
+src_prepare() {
+       # Delete bundled libprojectM
+       rm src/libprojectM -rf || die
+       default
+}
index e72551f7ee083fe9feeb32e68fe8792101451a8f..516b635d6bbb9c1bf134b93a4cc6cfa54b53f9a2 100644 (file)
@@ -7,6 +7,6 @@
     </maintainer>
     <longdescription>ProjectM visualizer for Kodi</longdescription>
     <upstream>
-        <remote-id type="github">notspiff/visualization.projectm</remote-id>
+        <remote-id type="github">xbmc/visualization.projectm</remote-id>
     </upstream>
 </pkgmetadata>