mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 22:32:37 +01:00
52 lines
1.1 KiB
Bash
52 lines
1.1 KiB
Bash
# Copyright 2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit kodi-addon
|
|
|
|
DESCRIPTION="Kodi's Adaptive inputstream addon"
|
|
HOMEPAGE="https://github.com/xbmc/inputstream.adaptive.git"
|
|
|
|
CODENAME="Nexus"
|
|
BENTO4_VERSION="1.6.0-639-7-Omega"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
SRC_URI="https://github.com/xbmc/inputstream.adaptive/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz
|
|
https://github.com/xbmc/Bento4/archive/${BENTO4_VERSION}.tar.gz -> bento4-${BENTO4_VERSION}.tar.gz"
|
|
S="${WORKDIR}/inputstream.adaptive-${PV}-${CODENAME}"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
RESTRICT="!test? ( test )"
|
|
IUSE="test"
|
|
|
|
COMMON_DEPEND="
|
|
dev-libs/expat
|
|
=media-tv/kodi-20*
|
|
"
|
|
DEPEND="
|
|
${COMMON_DEPEND}
|
|
test? ( dev-cpp/gtest )
|
|
"
|
|
RDEPEND="
|
|
${COMMON_DEPEND}
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-include-missing-cstdint-to-support-gcc13.patch
|
|
)
|
|
|
|
src_unpack() {
|
|
unpack ${P}.tar.gz
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_TESTING=$(usex test)
|
|
-DENABLE_INTERNAL_BENTO4=ON
|
|
-DBENTO4_URL="${DISTDIR}/bento4-${BENTO4_VERSION}.tar.gz"
|
|
)
|
|
cmake_src_configure
|
|
}
|