summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-04-22 09:05:07 -0400
committerCraig Andrews <candrews@gentoo.org>2021-04-22 09:05:27 -0400
commitf138cee52119de9e4ad4249d8ee608fa7412995f (patch)
treedfb56453840d66dcc6370f9d0e1fa21e8f3d8b2d /media-plugins/kodi-inputstream-adaptive
parentsys-apps/sdparm: Bump to version 1.12 (diff)
downloadgentoo-f138cee52119de9e4ad4249d8ee608fa7412995f.tar.gz
gentoo-f138cee52119de9e4ad4249d8ee608fa7412995f.tar.bz2
gentoo-f138cee52119de9e4ad4249d8ee608fa7412995f.zip
media-plugins/kodi-inputstream-adaptive: 2.6.14 version bump
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-plugins/kodi-inputstream-adaptive')
-rw-r--r--media-plugins/kodi-inputstream-adaptive/Manifest1
-rw-r--r--media-plugins/kodi-inputstream-adaptive/kodi-inputstream-adaptive-2.6.14.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-plugins/kodi-inputstream-adaptive/Manifest b/media-plugins/kodi-inputstream-adaptive/Manifest
index 7d28b7e4fc35..8198ed8a8394 100644
--- a/media-plugins/kodi-inputstream-adaptive/Manifest
+++ b/media-plugins/kodi-inputstream-adaptive/Manifest
@@ -1 +1,2 @@
DIST kodi-inputstream-adaptive-2.6.13.tar.gz 747887 BLAKE2B 8e881e971beece1326b9c8ef7d1864e015ea0df997c4753801b422d93536025ce7b47e542ea5991506ea4ac931cf1cbd2ac2a2316c4c86a77b0ecb2a22592110 SHA512 9e13657a5cc267ee86b761fa4280cf77f584a0cf0c8ea69cb75a238f80963ffcd6cf8403064bd375e851f16c53c1948be04175f52e974574d311113db4d4237b
+DIST kodi-inputstream-adaptive-2.6.14.tar.gz 750124 BLAKE2B 0a00ed8ef5351877077a85b1952464223bfeed688ac28015222a3f415128c2a46e0927be2970ef01c8215ca471c7a91a24cfbbe3d202cefd106768be8d6af33a SHA512 469e685f0b00739de4e609c6f5bc099f4079fccb629221fa12d17da641a4daddc9ad1ea1a268d1bb3a1efb4704366b2a938e51749cc57d6188d5e7628a79d010
diff --git a/media-plugins/kodi-inputstream-adaptive/kodi-inputstream-adaptive-2.6.14.ebuild b/media-plugins/kodi-inputstream-adaptive/kodi-inputstream-adaptive-2.6.14.ebuild
new file mode 100644
index 000000000000..ab6bd91fcab2
--- /dev/null
+++ b/media-plugins/kodi-inputstream-adaptive/kodi-inputstream-adaptive-2.6.14.ebuild
@@ -0,0 +1,57 @@
+# 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 Adaptive inputstream addon"
+HOMEPAGE="https://github.com/peak3d/inputstream.adaptive.git"
+SRC_URI=""
+PATCHES=(
+ "${FILESDIR}/${PN}-2.6.11.patch"
+)
+
+case ${PV} in
+9999)
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/peak3d/inputstream.adaptive.git"
+ EGIT_BRANCH="Matrix"
+ inherit git-r3
+ ;;
+*)
+ KEYWORDS="~amd64 ~x86"
+ CODENAME="Matrix"
+ SRC_URI="https://github.com/peak3d/inputstream.adaptive/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/inputstream.adaptive-${PV}-${CODENAME}"
+ ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+COMMON_DEPEND="
+ dev-libs/expat
+ =media-tv/kodi-19*
+ "
+DEPEND="
+ ${COMMON_DEPEND}
+ test? ( dev-cpp/gtest )
+ "
+RDEPEND="
+ ${COMMON_DEPEND}
+ "
+
+src_prepare() {
+ [ -d depends ] && rm -rf depends || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}