summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2020-08-02 13:06:53 +0300
committerCraig Andrews <candrews@gentoo.org>2020-08-13 16:50:40 -0400
commit284915690dc39d84f4cb71b24b6813887381855a (patch)
treed916794fe2eb419def4c79c5b0ec5e3c7431b326 /media-plugins/kodi-visualization-starburst
parentmedia-plugins/kodi-visualization-spectrum: fixed build, deps, licence (diff)
downloadgentoo-284915690dc39d84f4cb71b24b6813887381855a.tar.gz
gentoo-284915690dc39d84f4cb71b24b6813887381855a.tar.bz2
gentoo-284915690dc39d84f4cb71b24b6813887381855a.zip
media-plugins/kodi-visualization-starburst: fixed deps, build, licence
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/16951 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-visualization-starburst')
-rw-r--r--media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.0.2.ebuild30
-rw-r--r--media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.2.0.ebuild30
-rw-r--r--media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-9999.ebuild30
-rw-r--r--media-plugins/kodi-visualization-starburst/metadata.xml1
4 files changed, 48 insertions, 43 deletions
diff --git a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.0.2.ebuild b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.0.2.ebuild
index 9ba2ff248210..0288a46c379d 100644
--- a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.0.2.ebuild
+++ b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.0.2.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="StarBurst visualizer for Kodi"
HOMEPAGE="https://github.com/notspiff/visualization.starburst"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.starburst"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/notspiff/visualization.starburst.git"
+ EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git"
inherit git-r3
+ DEPEND="~media-tv/kodi-9999"
;;
*)
- KEYWORDS="~amd64 ~x86"
CODENAME="Leia"
- SRC_URI="https://github.com/notspiff/visualization.starburst/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.starburst-${PV}-${CODENAME}"
+ 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-18*:="
;;
esac
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
IUSE=""
-DEPEND="
- =media-tv/kodi-18*
- media-libs/glm
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
"
-RDEPEND="
- ${DEPEND}
- "
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
src_prepare() {
- [ -d depends ] && rm -rf depends || die
+ if [ -d depends ]; then rm -rf depends || die; fi
+
cmake_src_prepare
}
diff --git a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.2.0.ebuild b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.2.0.ebuild
index 18fe4e16c277..532d4ca45e77 100644
--- a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.2.0.ebuild
+++ b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-2.2.0.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="StarBurst visualizer for Kodi"
HOMEPAGE="https://github.com/xbmc/visualization.starburst"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.starburst"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/visualization.starburst.git"
+ EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git"
inherit git-r3
+ DEPEND="~media-tv/kodi-9999"
;;
*)
- KEYWORDS="~amd64 ~x86"
CODENAME="Matrix"
- SRC_URI="https://github.com/xbmc/visualization.starburst/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.starburst-${PV}-${CODENAME}"
+ 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*:="
;;
esac
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
IUSE=""
-DEPEND="
- =media-tv/kodi-19*
- media-libs/glm
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
"
-RDEPEND="
- ${DEPEND}
- "
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
src_prepare() {
- [ -d depends ] && rm -rf depends || die
+ if [ -d depends ]; then rm -rf depends || die; fi
+
cmake_src_prepare
}
diff --git a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-9999.ebuild b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-9999.ebuild
index ab7d4de41d0a..532d4ca45e77 100644
--- a/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-9999.ebuild
+++ b/media-plugins/kodi-visualization-starburst/kodi-visualization-starburst-9999.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="StarBurst visualizer for Kodi"
HOMEPAGE="https://github.com/xbmc/visualization.starburst"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.starburst"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/visualization.starburst.git"
+ EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git"
inherit git-r3
+ DEPEND="~media-tv/kodi-9999"
;;
*)
- KEYWORDS="~amd64 ~x86"
CODENAME="Matrix"
- SRC_URI="https://github.com/xbmc/visualization.starburst/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.starburst-${PV}-${CODENAME}"
+ 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*:="
;;
esac
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
IUSE=""
-DEPEND="
- ~media-tv/kodi-9999
- media-libs/glm
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
"
-RDEPEND="
- ${DEPEND}
- "
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
src_prepare() {
- [ -d depends ] && rm -rf depends || die
+ if [ -d depends ]; then rm -rf depends || die; fi
+
cmake_src_prepare
}
diff --git a/media-plugins/kodi-visualization-starburst/metadata.xml b/media-plugins/kodi-visualization-starburst/metadata.xml
index 1b1356a2a704..95934d1f86ee 100644
--- a/media-plugins/kodi-visualization-starburst/metadata.xml
+++ b/media-plugins/kodi-visualization-starburst/metadata.xml
@@ -5,7 +5,6 @@
<email>candrews@gentoo.org</email>
<name>Craig Andrews</name>
</maintainer>
- <longdescription>StarBurst visualizer for Kodi</longdescription>
<upstream>
<remote-id type="github">notspiff/visualization.starburst</remote-id>
</upstream>