commit: f138cee52119de9e4ad4249d8ee608fa7412995f Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Thu Apr 22 13:05:07 2021 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Thu Apr 22 13:05:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f138cee5
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 <AT> gentoo.org> media-plugins/kodi-inputstream-adaptive/Manifest | 1 + .../kodi-inputstream-adaptive-2.6.14.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-plugins/kodi-inputstream-adaptive/Manifest b/media-plugins/kodi-inputstream-adaptive/Manifest index 7d28b7e4fc3..8198ed8a839 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 00000000000..ab6bd91fcab --- /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 +}