summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2020-08-02 11:26:24 +0300
committerCraig Andrews <candrews@gentoo.org>2020-08-13 16:50:37 -0400
commit9c26db2f0d686f1bb3b5f22106fe2905f82ce901 (patch)
tree488f1f6cca063bbf37f14dace95f5426fd4034af /media-plugins
parentmedia-plugins/kodi-screensaver-pingpong: improvements from previous commit (diff)
downloadgentoo-9c26db2f0d686f1bb3b5f22106fe2905f82ce901.tar.gz
gentoo-9c26db2f0d686f1bb3b5f22106fe2905f82ce901.tar.bz2
gentoo-9c26db2f0d686f1bb3b5f22106fe2905f82ce901.zip
media-plugins/kodi-visualization-fishbmc: depends and licence fixes
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/16946 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.2.ebuild32
-rw-r--r--media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-6.1.0.ebuild28
-rw-r--r--media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-9999.ebuild28
-rw-r--r--media-plugins/kodi-visualization-fishbmc/metadata.xml1
4 files changed, 47 insertions, 42 deletions
diff --git a/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.2.ebuild b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.2.ebuild
index 61d420f35e17..a874dc3da575 100644
--- a/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.2.ebuild
+++ b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-5.1.2.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="Fische visualizer for Kodi"
-HOMEPAGE="https://github.com/notspiff/visualization.fishbmc"
-SRC_URI=""
+HOMEPAGE="https://github.com/xbmc/visualization.fishbmc"
+KODI_PLUGIN_NAME="visualization.fishbmc"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/notspiff/visualization.fishbmc.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.fishbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.fishbmc-${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*
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
- media-libs/glm
"
-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-fishbmc/kodi-visualization-fishbmc-6.1.0.ebuild b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-6.1.0.ebuild
index 78ed6e142a70..4264440c3a7b 100644
--- a/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-6.1.0.ebuild
+++ b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-6.1.0.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="Fische visualizer for Kodi"
HOMEPAGE="https://github.com/xbmc/visualization.fishbmc"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.fishbmc"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/visualization.fishbmc.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.fishbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.fishbmc-${PV}-${CODENAME}"
+ 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*
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
- media-libs/glm
"
-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-fishbmc/kodi-visualization-fishbmc-9999.ebuild b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-9999.ebuild
index 438541f90a20..4264440c3a7b 100644
--- a/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-9999.ebuild
+++ b/media-plugins/kodi-visualization-fishbmc/kodi-visualization-fishbmc-9999.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="Fische visualizer for Kodi"
HOMEPAGE="https://github.com/xbmc/visualization.fishbmc"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.fishbmc"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/visualization.fishbmc.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.fishbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.fishbmc-${PV}-${CODENAME}"
+ 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
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
- media-libs/glm
"
-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-fishbmc/metadata.xml b/media-plugins/kodi-visualization-fishbmc/metadata.xml
index a0d45002398e..d7211a670581 100644
--- a/media-plugins/kodi-visualization-fishbmc/metadata.xml
+++ b/media-plugins/kodi-visualization-fishbmc/metadata.xml
@@ -5,7 +5,6 @@
<email>candrews@gentoo.org</email>
<name>Craig Andrews</name>
</maintainer>
- <longdescription>Fische visualizer for Kodi</longdescription>
<upstream>
<remote-id type="github">notspiff/visualization.fishbmc</remote-id>
</upstream>