summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2020-08-02 13:13:03 +0300
committerCraig Andrews <candrews@gentoo.org>2020-08-13 16:50:41 -0400
commitd7a9bcbbf6220c94b21b7933b97acc53771a7346 (patch)
treedaff97ca3a4ef7f30c5f74a787b109d6c55878a5 /media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild
parentmedia-plugins/kodi-visualization-starburst: fixed deps, build, licence (diff)
downloadgentoo-d7a9bcbbf6220c94b21b7933b97acc53771a7346.tar.gz
gentoo-d7a9bcbbf6220c94b21b7933b97acc53771a7346.tar.bz2
gentoo-d7a9bcbbf6220c94b21b7933b97acc53771a7346.zip
media-plugins/kodi-visualization-waveform: fixed build, licence
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/16952 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild')
-rw-r--r--media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild28
1 files changed, 15 insertions, 13 deletions
diff --git a/media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild b/media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild
index afd68022c363..55c275ff5f4e 100644
--- a/media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild
+++ b/media-plugins/kodi-visualization-waveform/kodi-visualization-waveform-9999.ebuild
@@ -3,41 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="Waveform visualizer for Kodi"
HOMEPAGE="https://github.com/xbmc/visualization.waveform"
-SRC_URI=""
+KODI_PLUGIN_NAME="visualization.waveform"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/visualization.waveform.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.waveform/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/visualization.waveform-${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
}