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
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')
-rw-r--r--media-plugins/kodi-screensaver-greynetic/Manifest1
-rw-r--r--media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-2.2.2.ebuild44
-rw-r--r--media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-9999.ebuild29
3 files changed, 65 insertions, 9 deletions
diff --git a/media-plugins/kodi-screensaver-greynetic/Manifest b/media-plugins/kodi-screensaver-greynetic/Manifest
index c0ee254d1248..1d710e815d4b 100644
--- a/media-plugins/kodi-screensaver-greynetic/Manifest
+++ b/media-plugins/kodi-screensaver-greynetic/Manifest
@@ -1,3 +1,4 @@
DIST kodi-screensaver-greynetic-1.1.0.tar.gz 5115 BLAKE2B 357a4d51b2271c4181a33521f8cd2b0ab991d168f4768474bcc81c64b3f058b8a84b1e5ac812abad650de22f925f894ea0fd3aa35b7a33b63413a7fe783ceee4 SHA512 ebc35da057f425ab5a4832324f4e26bbd6767aa1aed13177073caab8a099b4a4cbcb6e9c84ae88970eb13401bdf411422588ed9ba83a9d5d9749c3add6e43375
DIST kodi-screensaver-greynetic-2.0.0.tar.gz 6608 BLAKE2B bb48adc922d3949670d3685ca4adba7d608a42e9f9c0c659ca91a26e9181568f4a6d1f1f9aa707eedb395a9eb54c4aa40a83b36b6594bef5f9159ead5585381a SHA512 15a577bb9e10f81d86582eb43c20b4e2dcf430f478c76b3c18c1800532e38d9dc87754b7e0df669ca8df4e1d4d589224c561688a4fd14528c70dc6728c7be16f
+DIST kodi-screensaver-greynetic-2.2.2.tar.gz 334717 BLAKE2B dddfd2bc96d7b08dd8107b6830c5db3fa999a34f26845bce3f5be11442bc8e00aa7415be2312192af785710773648cdc8a5f1019be7e74e522641c216a1eb741 SHA512 2ff75111db2df696055bd7b5d447662bae8871f05750f9753f646d9167d57d694442efe59ec277c0de0b064d6f5ab0d73f3c8cc1d1e918d065e35646d3311b41
DIST kodi-screensaver-greynetic-2.3.1.tar.gz 336191 BLAKE2B 54cc3f93bb18c315e75faca68dd7683e7afb50ebadcad01c33e60457958702205d51321b665ac72c95f4d758ddf896b9bb120e4a9a9315be33d24f9c1707989b SHA512 e4e6e513c4b2c7476ee0f29a436abf102a196e5c307c17e9b197572cc7eb7a12890033250a8115ea4bc43baec0f5cb87f1103413a7d6b852235f0710b4086279
diff --git a/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-2.2.2.ebuild b/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-2.2.2.ebuild
new file mode 100644
index 000000000000..846592b822fb
--- /dev/null
+++ b/media-plugins/kodi-screensaver-greynetic/kodi-screensaver-greynetic-2.2.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kodi-addon
+
+DESCRIPTION="Greynetic screensaver for Kodi"
+HOMEPAGE="https://github.com/xbmc/screensaver.greynetic"
+KODI_PLUGIN_NAME="screensaver.greynetic"
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ 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/${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+"
+SLOT="0"
+IUSE=""
+
+DEPEND+="
+ >=media-libs/glm-0.9.9.8-r1
+ "
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ if [ -d depends ]; then rm -rf depends || die; fi
+
+ cmake_src_prepare
+}
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
+}