summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>