Add 'kodi-addon-inputstream-adaptive/' from commit '08ee82477fd674017245f6e68ab826a956a02cfc'

git-subtree-dir: kodi-addon-inputstream-adaptive
git-subtree-mainline: c383231145
git-subtree-split: 08ee82477f
This commit is contained in:
Cedric Girard 2019-02-14 15:29:44 +01:00
commit 84de3d09aa
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,16 @@
pkgbase = kodi-addon-inputstream-adaptive
pkgdesc = InputStream client for adaptive streams for Kodi 17+
pkgver = 1.0.8
pkgrel = 1
url = https://github.com/peak3d/inputstream.adaptive
arch = x86_64
arch = i686
license = GPL2
makedepends = kodi-dev
depends = kodi-platform=20170306.36fb493
conflicts = kodi-addon-inputstream-adaptive
source = https://github.com/peak3d/inputstream.adaptive/archive/1.0.8_k17.tar.gz
md5sums = 5f0b3acfd278a8e9bfac5bb8191b05ec
pkgname = kodi-addon-inputstream-adaptive

View file

@ -0,0 +1,28 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: kevku <kevku@gmx.com>
pkgname=kodi-addon-inputstream-adaptive
pkgver=1.0.8
pkgrel=1
pkgdesc="InputStream client for adaptive streams for Kodi 17+"
arch=('x86_64' 'i686')
url="https://github.com/peak3d/inputstream.adaptive"
license=('GPL2')
makedepends=('kodi-dev')
depends=('kodi-platform=20170306.36fb493')
conflicts=("${pkgname%-git}")
source=("https://github.com/peak3d/inputstream.adaptive/archive/${pkgver}_k17.tar.gz")
md5sums=('5f0b3acfd278a8e9bfac5bb8191b05ec')
build() {
cd "$srcdir/inputstream.adaptive-${pkgver}_k17"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/inputstream.adaptive-${pkgver}_k17"
make DESTDIR="$pkgdir/" install
sed -i 's|special://home/cdm|/usr/lib/kodi/addons/inputstream.adaptive/lib|g' "$pkgdir/usr/share/kodi/addons/inputstream.adaptive/resources/settings.xml"
}