summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2021-04-28 20:56:39 +0300
committerCraig Andrews <candrews@gentoo.org>2021-04-28 17:37:42 -0400
commit27fb911e89e903d5d3c8acac9404347f9ea7a739 (patch)
treeeb6a2cf160d486d408128bcd43f1f0f4ab83e1d9 /media-plugins
parentnet-ftp/proftpd: backport upstream slibtool workaround (diff)
downloadgentoo-27fb911e89e903d5d3c8acac9404347f9ea7a739.tar.gz
gentoo-27fb911e89e903d5d3c8acac9404347f9ea7a739.tar.bz2
gentoo-27fb911e89e903d5d3c8acac9404347f9ea7a739.zip
media-plugins/kodi-inputstream-ffmpegdirect: added new ebuild
kodi-inputstream-ffmpegdirect is used by Simple IPTV Client plugin and for timeshift. Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/20581 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/Manifest1
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-1.21.1.ebuild53
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-9999.ebuild53
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/metadata.xml15
4 files changed, 122 insertions, 0 deletions
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/Manifest b/media-plugins/kodi-inputstream-ffmpegdirect/Manifest
new file mode 100644
index 000000000000..3e76c558daca
--- /dev/null
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/Manifest
@@ -0,0 +1 @@
+DIST kodi-inputstream-ffmpegdirect-1.21.1.tar.gz 251780 BLAKE2B 7f556a43e5a198fbfc1e9d43eb0a5ecf1cf4efce566b62607907b07165d492e18a1df520326e5d0496c42d87e3c11dab2d1a1f7ad245770ecb0e552f46e2d864 SHA512 506574a90e96d2a5935bdd5e1413e4be974c05eedb9ef74ed1e1dfe9f65f1988fa747f6d4174b3820e7127701bf24b266dd4cd35602b8144ce9eb888a627d0d7
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-1.21.1.ebuild b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-1.21.1.ebuild
new file mode 100644
index 000000000000..cd932215b4d6
--- /dev/null
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-1.21.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Kodi's FFMpeg Direct Inputstream addon"
+HOMEPAGE="https://github.com/xbmc/inputstream.ffmpegdirect"
+SRC_URI=""
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/xbmc/inputstream.ffmpegdirect.git"
+ EGIT_BRANCH="Matrix"
+ inherit git-r3
+ ;;
+*)
+ KEYWORDS="~amd64"
+ CODENAME="Matrix"
+ SRC_URI="https://github.com/xbmc/inputstream.ffmpegdirect/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/inputstream.ffmpegdirect-${PV}-${CODENAME}"
+ ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+BDEPEND="
+ virtual/pkgconfig
+ "
+
+COMMON_DEPEND="
+ media-video/ffmpeg[encode,libxml2,zlib]
+ virtual/libiconv
+ app-arch/bzip2
+ =media-tv/kodi-19*
+ "
+
+DEPEND="
+ ${COMMON_DEPEND}
+ "
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ "
+
+src_prepare() {
+ [ -d depends ] && rm -rf depends || die
+ cmake_src_prepare
+}
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-9999.ebuild b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-9999.ebuild
new file mode 100644
index 000000000000..cd932215b4d6
--- /dev/null
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Kodi's FFMpeg Direct Inputstream addon"
+HOMEPAGE="https://github.com/xbmc/inputstream.ffmpegdirect"
+SRC_URI=""
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/xbmc/inputstream.ffmpegdirect.git"
+ EGIT_BRANCH="Matrix"
+ inherit git-r3
+ ;;
+*)
+ KEYWORDS="~amd64"
+ CODENAME="Matrix"
+ SRC_URI="https://github.com/xbmc/inputstream.ffmpegdirect/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/inputstream.ffmpegdirect-${PV}-${CODENAME}"
+ ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+BDEPEND="
+ virtual/pkgconfig
+ "
+
+COMMON_DEPEND="
+ media-video/ffmpeg[encode,libxml2,zlib]
+ virtual/libiconv
+ app-arch/bzip2
+ =media-tv/kodi-19*
+ "
+
+DEPEND="
+ ${COMMON_DEPEND}
+ "
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ "
+
+src_prepare() {
+ [ -d depends ] && rm -rf depends || die
+ cmake_src_prepare
+}
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/metadata.xml b/media-plugins/kodi-inputstream-ffmpegdirect/metadata.xml
new file mode 100644
index 000000000000..e89eaf4b9754
--- /dev/null
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/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>Evgeny Grin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">xbmc/inputstream.ffmpegdirect</remote-id>
+ </upstream>
+</pkgmetadata>