commit: 55f6eabade493363cda68f4f941538fdb55211cf Author: Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru> AuthorDate: Sun Aug 2 09:58:16 2020 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Thu Aug 13 20:50:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f6eaba
media-plugins/kodi-visualization-spectrum: fixed build, deps, licence Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru> Closes: https://github.com/gentoo/gentoo/pull/16950 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> .../kodi-visualization-spectrum-3.0.3.ebuild | 28 ++++++++++++---------- .../kodi-visualization-spectrum-3.2.0.ebuild | 28 ++++++++++++---------- .../kodi-visualization-spectrum-9999.ebuild | 28 ++++++++++++---------- .../kodi-visualization-spectrum/metadata.xml | 1 - 4 files changed, 45 insertions(+), 40 deletions(-) diff --git a/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.0.3.ebuild b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.0.3.ebuild index d80cf89a510..c5bfc95f207 100644 --- a/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.0.3.ebuild +++ b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.0.3.ebuild @@ -3,41 +3,43 @@ EAPI=7 -inherit cmake kodi-addon +inherit kodi-addon DESCRIPTION="Spectrum visualizer for Kodi" HOMEPAGE="https://github.com/xbmc/visualization.spectrum" -SRC_URI="" +KODI_PLUGIN_NAME="visualization.spectrum" case ${PV} in 9999) SRC_URI="" - EGIT_REPO_URI="https://github.com/xbmc/visualization.spectrum.git" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" inherit git-r3 + DEPEND="~media-tv/kodi-9999" ;; *) CODENAME="Leia" KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/xbmc/visualization.spectrum/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/visualization.spectrum-${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-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-spectrum/kodi-visualization-spectrum-3.2.0.ebuild b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.2.0.ebuild index 0627d7500ea..3284a024509 100644 --- a/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.2.0.ebuild +++ b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-3.2.0.ebuild @@ -3,41 +3,43 @@ EAPI=7 -inherit cmake kodi-addon +inherit kodi-addon DESCRIPTION="Spectrum visualizer for Kodi" HOMEPAGE="https://github.com/xbmc/visualization.spectrum" -SRC_URI="" +KODI_PLUGIN_NAME="visualization.spectrum" case ${PV} in 9999) SRC_URI="" - EGIT_REPO_URI="https://github.com/xbmc/visualization.spectrum.git" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" inherit git-r3 + DEPEND="~media-tv/kodi-9999" ;; *) CODENAME="Matrix" KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/xbmc/visualization.spectrum/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/visualization.spectrum-${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* - 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-spectrum/kodi-visualization-spectrum-9999.ebuild b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-9999.ebuild index d8ead2f073f..3284a024509 100644 --- a/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-9999.ebuild +++ b/media-plugins/kodi-visualization-spectrum/kodi-visualization-spectrum-9999.ebuild @@ -3,41 +3,43 @@ EAPI=7 -inherit cmake kodi-addon +inherit kodi-addon DESCRIPTION="Spectrum visualizer for Kodi" HOMEPAGE="https://github.com/xbmc/visualization.spectrum" -SRC_URI="" +KODI_PLUGIN_NAME="visualization.spectrum" case ${PV} in 9999) SRC_URI="" - EGIT_REPO_URI="https://github.com/xbmc/visualization.spectrum.git" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" inherit git-r3 + DEPEND="~media-tv/kodi-9999" ;; *) CODENAME="Matrix" KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/xbmc/visualization.spectrum/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/visualization.spectrum-${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 - 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-spectrum/metadata.xml b/media-plugins/kodi-visualization-spectrum/metadata.xml index 673ffc32064..7199132488a 100644 --- a/media-plugins/kodi-visualization-spectrum/metadata.xml +++ b/media-plugins/kodi-visualization-spectrum/metadata.xml @@ -5,7 +5,6 @@ <email>candr...@gentoo.org</email> <name>Craig Andrews</name> </maintainer> - <longdescription>Spectrum visualizer for Kodi</longdescription> <upstream> <remote-id type="github">xbmc/visualization.spectrum</remote-id> </upstream>