From d440b92879632eaeef57181a62ad3bfd19e7b6fc Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Sat, 4 Feb 2017 19:33:30 +0100 Subject: [PATCH 1/5] first package version from git version --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..16ed0df --- /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 0000000..8328a79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Cedric Girard +# Contributor: kevku +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" +} From cab0cbf93d739f0a4b01ddfad601146b269b4057 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 7 Feb 2017 14:34:56 +0100 Subject: [PATCH 2/5] use non git kodi-platform versionning --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 16ed0df..b4467ff 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = kodi-addon-inputstream-adaptive pkgdesc = InputStream client for adaptive streams for Kodi 17+ pkgver = 1.0.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/liberty-developer/inputstream.adaptive arch = x86_64 arch = i686 license = GPL2 - depends = kodi-platform-git>=r53 + depends = kodi-platform=20160516.c8188d8 conflicts = kodi-addon-inputstream-adaptive source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz md5sums = 3694af673829f35a9fbafd4cd2649abe diff --git a/PKGBUILD b/PKGBUILD index 8328a79..b6e69fe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,12 +2,12 @@ # Contributor: kevku pkgname=kodi-addon-inputstream-adaptive pkgver=1.0.6 -pkgrel=1 +pkgrel=2 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') +depends=('kodi-platform=20160516.c8188d8') conflicts=("${pkgname%-git}") source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz") md5sums=('3694af673829f35a9fbafd4cd2649abe') From 007e11c7aaa7015d8b431dffc5ef1ccf5dadffd4 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 7 Feb 2017 17:43:10 +0100 Subject: [PATCH 3/5] add kodi-dev build dep --- .SRCINFO | 3 ++- PKGBUILD | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b4467ff..f65e39d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,11 +1,12 @@ pkgbase = kodi-addon-inputstream-adaptive pkgdesc = InputStream client for adaptive streams for Kodi 17+ pkgver = 1.0.6 - pkgrel = 2 + pkgrel = 3 url = https://github.com/liberty-developer/inputstream.adaptive arch = x86_64 arch = i686 license = GPL2 + makedepends = kodi-dev depends = kodi-platform=20160516.c8188d8 conflicts = kodi-addon-inputstream-adaptive source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz diff --git a/PKGBUILD b/PKGBUILD index b6e69fe..fd256d8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,11 +2,12 @@ # Contributor: kevku pkgname=kodi-addon-inputstream-adaptive pkgver=1.0.6 -pkgrel=2 +pkgrel=3 pkgdesc="InputStream client for adaptive streams for Kodi 17+" arch=('x86_64' 'i686') url="https://github.com/liberty-developer/inputstream.adaptive" license=('GPL2') +makedepends=('kodi-dev') depends=('kodi-platform=20160516.c8188d8') conflicts=("${pkgname%-git}") source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz") From b34d6f778fb7aee710d06ed3873714395ff7f825 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 29 Mar 2017 20:02:05 +0200 Subject: [PATCH 4/5] build against new kodi-platform version --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f65e39d..9ac6105 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = kodi-addon-inputstream-adaptive pkgdesc = InputStream client for adaptive streams for Kodi 17+ pkgver = 1.0.6 - pkgrel = 3 - url = https://github.com/liberty-developer/inputstream.adaptive + pkgrel = 4 + url = https://github.com/peak3d/inputstream.adaptive arch = x86_64 arch = i686 license = GPL2 makedepends = kodi-dev - depends = kodi-platform=20160516.c8188d8 + depends = kodi-platform=20170306.36fb493 conflicts = kodi-addon-inputstream-adaptive source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz md5sums = 3694af673829f35a9fbafd4cd2649abe diff --git a/PKGBUILD b/PKGBUILD index fd256d8..02097cd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,13 +2,13 @@ # Contributor: kevku pkgname=kodi-addon-inputstream-adaptive pkgver=1.0.6 -pkgrel=3 +pkgrel=4 pkgdesc="InputStream client for adaptive streams for Kodi 17+" arch=('x86_64' 'i686') -url="https://github.com/liberty-developer/inputstream.adaptive" +url="https://github.com/peak3d/inputstream.adaptive" license=('GPL2') makedepends=('kodi-dev') -depends=('kodi-platform=20160516.c8188d8') +depends=('kodi-platform=20170306.36fb493') conflicts=("${pkgname%-git}") source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz") md5sums=('3694af673829f35a9fbafd4cd2649abe') From 08ee82477fd674017245f6e68ab826a956a02cfc Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Sat, 6 May 2017 22:08:08 +0200 Subject: [PATCH 5/5] new upstream version 1.0.8 --- .SRCINFO | 8 ++++---- PKGBUILD | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9ac6105..7d18379 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = kodi-addon-inputstream-adaptive pkgdesc = InputStream client for adaptive streams for Kodi 17+ - pkgver = 1.0.6 - pkgrel = 4 + pkgver = 1.0.8 + pkgrel = 1 url = https://github.com/peak3d/inputstream.adaptive arch = x86_64 arch = i686 @@ -9,8 +9,8 @@ pkgbase = kodi-addon-inputstream-adaptive makedepends = kodi-dev depends = kodi-platform=20170306.36fb493 conflicts = kodi-addon-inputstream-adaptive - source = https://github.com/peak3d/inputstream.adaptive/archive/v1.0.6.tar.gz - md5sums = 3694af673829f35a9fbafd4cd2649abe + source = https://github.com/peak3d/inputstream.adaptive/archive/1.0.8_k17.tar.gz + md5sums = 5f0b3acfd278a8e9bfac5bb8191b05ec pkgname = kodi-addon-inputstream-adaptive diff --git a/PKGBUILD b/PKGBUILD index 02097cd..6e5ed94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Cedric Girard # Contributor: kevku pkgname=kodi-addon-inputstream-adaptive -pkgver=1.0.6 -pkgrel=4 +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" @@ -10,19 +10,19 @@ license=('GPL2') makedepends=('kodi-dev') depends=('kodi-platform=20170306.36fb493') conflicts=("${pkgname%-git}") -source=("https://github.com/peak3d/inputstream.adaptive/archive/v${pkgver}.tar.gz") -md5sums=('3694af673829f35a9fbafd4cd2649abe') +source=("https://github.com/peak3d/inputstream.adaptive/archive/${pkgver}_k17.tar.gz") +md5sums=('5f0b3acfd278a8e9bfac5bb8191b05ec') build() { - cd "$srcdir/inputstream.adaptive-${pkgver}" + cd "$srcdir/inputstream.adaptive-${pkgver}_k17" cmake \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { - cd "$srcdir/inputstream.adaptive-${pkgver}" + 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" }