summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2020-07-28 14:20:59 +0300
committerCraig Andrews <candrews@gentoo.org>2020-08-13 16:50:35 -0400
commit88c538854b0f4dee1050bb2473955b3c21b4ea87 (patch)
tree97534fb7392c5b5b3b9a2852b5681b59157985aa /media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild
parentmedia-plugins/kodi-screensaver-biogenesis: improvements from previous commit (diff)
downloadgentoo-88c538854b0f4dee1050bb2473955b3c21b4ea87.tar.gz
gentoo-88c538854b0f4dee1050bb2473955b3c21b4ea87.tar.bz2
gentoo-88c538854b0f4dee1050bb2473955b3c21b4ea87.zip
media-plugins/kodi-screensaver-greynetic: bump to 2.2.2, fixed cmake build
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/16878 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild')
-rw-r--r--media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild29
1 files changed, 20 insertions, 9 deletions
diff --git a/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild b/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild
index 14ed23a2e0ef..390d6c036cbb 100644
--- a/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild
+++ b/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild
@@ -3,32 +3,43 @@
EAPI=7
-inherit cmake kodi-addon
+inherit kodi-addon
DESCRIPTION="Greynetic screensaver for Kodi"
HOMEPAGE="https://github.com/xbmc/screensaver.greynetic"
-SRC_URI=""
+KODI_PLUGIN_NAME="screensaver.greynetic"
case ${PV} in
9999)
SRC_URI=""
- EGIT_REPO_URI="https://github.com/xbmc/screensaver.greynetic.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/screensaver.greynetic/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/screensaver.greynetic-${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-libs/glm
- ~media-tv/kodi-9999
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
virtual/opengl
"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ if [ -d depends ]; then rm -rf depends || die; fi
+
+ cmake_src_prepare
+}