summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Girard2017-02-04 19:33:30 +0100
committerCedric Girard2017-02-04 19:33:30 +0100
commitd440b92879632eaeef57181a62ad3bfd19e7b6fc (patch)
tree426869ce050be9e18e04b90cd4a9d082447f6868
downloadaur-d440b92879632eaeef57181a62ad3bfd19e7b6fc.tar.gz
first package version from git version
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..16ed0df91ce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = kodi-addon-inputstream-adaptive
+ pkgdesc = InputStream client for adaptive streams for Kodi 17+
+ pkgver = 1.0.6
+ pkgrel = 1
+ url = https://github.com/liberty-developer/inputstream.adaptive
+ arch = x86_64
+ arch = i686
+ license = GPL2
+ depends = kodi-platform-git>=r53
+ conflicts = kodi-addon-inputstream-adaptive
+ source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz
+ md5sums = 3694af673829f35a9fbafd4cd2649abe
+
+pkgname = kodi-addon-inputstream-adaptive
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8328a79074e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+# Contributor: kevku <kevku@gmx.com>
+pkgname=kodi-addon-inputstream-adaptive
+pkgver=1.0.6
+pkgrel=1
+pkgdesc="InputStream client for adaptive streams for Kodi 17+"
+arch=('x86_64' 'i686')
+url="https://github.com/liberty-developer/inputstream.adaptive"
+license=('GPL2')
+depends=('kodi-platform-git>=r53')
+conflicts=("${pkgname%-git}")
+source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz")
+md5sums=('3694af673829f35a9fbafd4cd2649abe')
+
+
+build() {
+ cd "$srcdir/inputstream.adaptive-${pkgver}"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/inputstream.adaptive-${pkgver}"
+ 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"
+}