media-plugins/kodi-visualization-fishbmc: 5.1.1 version bump
authorCraig Andrews <candrews@gentoo.org>
Tue, 24 Sep 2019 15:52:45 +0000 (11:52 -0400)
committerCraig Andrews <candrews@gentoo.org>
Tue, 24 Sep 2019 15:58:23 +0000 (11:58 -0400)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-visualization-fishbmc/Manifest [new file with mode: 0644]
media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.1.ebuild [new file with mode: 0644]
media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-9999.ebuild

diff --git a/media-plugins/kodi-visualization-fishbmc/Manifest b/media-plugins/kodi-visualization-fishbmc/Manifest
new file mode 100644 (file)
index 0000000..a4e3367
--- /dev/null
@@ -0,0 +1 @@
+DIST kodi-visualization-fishbmc-5.1.1.tar.gz 357412 BLAKE2B d3f658d021f2ff47f31ddb2c285c1a4040555503eb9740020b60ca475ac87a0e478984fe78197752a2f67dba166a0c0b3ed854377c3a1c3c229ebb5ebfe78f72 SHA512 53652435612bfdc05918c76f4963fb6b5a7fce8efb9a3acf0e6f41aa25a528df692acb3dfe64a027e1548c5f84f4fb1b15092adf4412d6c4cfb1c4220f90aa30
diff --git a/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.1.ebuild b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.1.ebuild
new file mode 100644 (file)
index 0000000..017ed11
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="Fische visualizer for Kodi"
+HOMEPAGE="https://github.com/notspiff/visualization.fishbmc"
+SRC_URI=""
+
+case ${PV} in
+9999)
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/notspiff/visualization.fishbmc.git"
+       inherit git-r3
+       ;;
+*)
+       KEYWORDS="~amd64 ~x86"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/notspiff/visualization.fishbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/visualization.fishbmc-${PV}-${CODENAME}"
+       ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =media-tv/kodi-18*
+       virtual/opengl
+       media-libs/glm
+       "
+
+RDEPEND="
+       ${DEPEND}
+       "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}
index 27ce97f09bd22c2c8737a3ebf113b91ae0855e96..b59240f9c3e10495fafc2674423789cec48417ed 100644 (file)
@@ -17,8 +17,9 @@ case ${PV} in
        ;;
 *)
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="https://github.com/notspiff/visualization.fishbmc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-       S="${WORKDIR}/visualization.fishbmc-${PV}"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/notspiff/visualization.fishbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/visualization.fishbmc-${PV}-${CODENAME}"
        ;;
 esac
 
@@ -29,8 +30,14 @@ IUSE=""
 DEPEND="
        ~media-tv/kodi-9999
        virtual/opengl
+       media-libs/glm
        "
 
 RDEPEND="
        ${DEPEND}
        "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}