summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2021-03-21 20:19:43 +0300
committerCraig Andrews <candrews@gentoo.org>2021-03-22 11:08:54 -0400
commit89b62e7d26735fe303d61c14f2c3dce2be152d1d (patch)
tree1dee3e7589b006d61e7700f4867ca1faf3fbc177 /media-plugins/kodi-screensaver-shadertoy
parentmedia-plugins/kodi-screensaver-cpblobs: screensaver for kodi (diff)
downloadgentoo-89b62e7d26735fe303d61c14f2c3dce2be152d1d.tar.gz
gentoo-89b62e7d26735fe303d61c14f2c3dce2be152d1d.tar.bz2
gentoo-89b62e7d26735fe303d61c14f2c3dce2be152d1d.zip
media-plugins/kodi-screensaver-shadertoy: screensaver for kodi
Added shader-based binary addon screensaver for Kodi. Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/20040 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-screensaver-shadertoy')
-rw-r--r--media-plugins/kodi-screensaver-shadertoy/Manifest1
-rw-r--r--media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-3.2.0.ebuild44
-rw-r--r--media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-9999.ebuild44
-rw-r--r--media-plugins/kodi-screensaver-shadertoy/metadata.xml15
4 files changed, 104 insertions, 0 deletions
diff --git a/media-plugins/kodi-screensaver-shadertoy/Manifest b/media-plugins/kodi-screensaver-shadertoy/Manifest
new file mode 100644
index 00000000000..a3f003ab5a9
--- /dev/null
+++ b/media-plugins/kodi-screensaver-shadertoy/Manifest
@@ -0,0 +1 @@
+DIST kodi-screensaver-shadertoy-3.2.0.tar.gz 12838928 BLAKE2B ec91e778e323c4bf6fcd9653a8027cf1cfde43bfe54c3c207e0e37024708b34b00a68f28d2240739aaed1ca91f19586bd0b25a46979ba0516cd2612427146f7c SHA512 1ac48462bc946c9fe3a55bc94526b0a3e270dd65d42e8557ee8b9e7c692b8d8c0e4eb66401bfb404c7b9d79ade8b2bec9a4a142f22ad5ec11824f738971a76eb
diff --git a/media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-3.2.0.ebuild b/media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-3.2.0.ebuild
new file mode 100644
index 00000000000..435a31a3283
--- /dev/null
+++ b/media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-3.2.0.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="Shadertoy screensaver for Kodi"
+HOMEPAGE="https://github.com/xbmc/screensaver.shadertoy"
+KODI_PLUGIN_NAME="screensaver.shadertoy"
+
+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="Matrix"
+ 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-19*:="
+ ;;
+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-shadertoy/kodi-screensaver-shadertoy-9999.ebuild b/media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-9999.ebuild
new file mode 100644
index 00000000000..435a31a3283
--- /dev/null
+++ b/media-plugins/kodi-screensaver-shadertoy/kodi-screensaver-shadertoy-9999.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="Shadertoy screensaver for Kodi"
+HOMEPAGE="https://github.com/xbmc/screensaver.shadertoy"
+KODI_PLUGIN_NAME="screensaver.shadertoy"
+
+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="Matrix"
+ 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-19*:="
+ ;;
+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-shadertoy/metadata.xml b/media-plugins/kodi-screensaver-shadertoy/metadata.xml
new file mode 100644
index 00000000000..b4339492895
--- /dev/null
+++ b/media-plugins/kodi-screensaver-shadertoy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>candrews@gentoo.org</email>
+ <name>Craig Andrews</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>k2k@narod.ru</email>
+ <name>Karlson2k (Evgeny Grin)</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">xbmc/screensaver.shadertoy</remote-id>
+ </upstream>
+</pkgmetadata>