1 # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
2 # Contributor: Cedric Girard <cgirard.archlinux@valinor.fr>
3 # Contributor: kevku <kevku@gmx.com>
5 pkgname=kodi-addon-inputstream-adaptive
9 pkgdesc="InputStream client for adaptive streams for Kodi 18+"
11 url="https://github.com/peak3d/inputstream.adaptive"
13 groups=('kodi-addons' 'kodi-addons-inputstream')
14 makedepends=('cmake' 'kodi-dev' 'gtest')
17 _bento4_version="1.6.0-639-5"
19 source=("$pkgname-$pkgver.tar.gz::https://github.com/peak3d/inputstream.adaptive/archive/$pkgver-$_codename.tar.gz"
20 "$pkgname-bento4-$_bento4_version.tar.gz::https://github.com/xbmc/Bento4/archive/refs/tags/$_bento4_version-$_codename.tar.gz")
21 noextract=("$pkgname-bento4-$_bento4_version.tar.gz")
22 sha512sums=('010af7abfeeed375d4c3457f5d7a9aa848edbf247427b72f64f1f4e26870ad39ec4a9b1e6bc9479ce41dc01779f9a7d0bdbb8f005f7e8afde9ea59f9e31d879d'
23 '8628c6b7f9cdd16fb2fb92848ce3248559e5160e2bb6d19da23634340e69c533b14775def77e897f1f030bedb9a0caa54d0645a3b39a22514b4ab844b63203aa')
26 cd "inputstream.adaptive-$pkgver-$_codename"
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_BUILD_TYPE=Release \
30 -DBUILD_SHARED_LIBS=1 \
32 -DENABLE_INTERNAL_BENTO4=1 \
33 -DBENTO4_URL="$srcdir/$pkgname-bento4-$_bento4_version.tar.gz" \
39 depends=('kodi' 'kodi-platform')
40 cd "inputstream.adaptive-$pkgver-$_codename"
41 make DESTDIR="$pkgdir/" install