diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-07 09:50:18 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-07 15:43:45 +0200 |
commit | 386d01f1568ff757b6a8b31cf58d4eee7391c2c1 (patch) | |
tree | d6b8c7ff487a5436a1b0a88078534205faa45279 /community/kodi-pvr-addons | |
parent | 80a17cd4c0be6796f45304322a74f6cf84fbde32 (diff) | |
download | aports-386d01f1568ff757b6a8b31cf58d4eee7391c2c1.tar.bz2 aports-386d01f1568ff757b6a8b31cf58d4eee7391c2c1.tar.xz |
community/kodi*: move from main
Diffstat (limited to 'community/kodi-pvr-addons')
-rw-r--r-- | community/kodi-pvr-addons/APKBUILD | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/community/kodi-pvr-addons/APKBUILD b/community/kodi-pvr-addons/APKBUILD new file mode 100644 index 0000000000..8583228488 --- /dev/null +++ b/community/kodi-pvr-addons/APKBUILD @@ -0,0 +1,87 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=kodi-pvr-addons +pkgver=20150322 +_git_hash=c2f8ea7223e2879c934c4c06b025313e418587c7 +pkgrel=0 +pkgdesc="XBMC PVR add-ons" +url="https://github.com/opdenkamp/xbmc-pvr-addons" +arch="all" +license="GPL" +depends="$pkgname-hts $pkgname-argustv $pkgname-demo $pkgname-dvbviewer + $pkgname-hts $pkgname-mediaportal $pkgname-nextpvr $pkgname-njoy + $pkgname-vdr $pkgname-vuplus $pkgname-mythtv" +depends_dev="mariadb-dev boost-dev" +makedepends="$depends_dev autoconf automake libtool bsd-compat-headers" +install="" +subpackages="$pkgname-argustv:argustv $pkgname-demo:demo + $pkgname-dvbviewer:dvbviewer $pkgname-hts:hts $pkgname-mythtv:mythtv + $pkgname-mediaportal:mediaportal $pkgname-nextpvr:nextpvr + $pkgname-njoy:njoy $pkgname-vdr:vdr $pkgname-vuplus:vuplus + $pkgname-iptvsimple:iptvsimple $pkgname-dvblink:dvblink $pkgname-wmc:wmc" +source="$pkgname-$pkgver.tar.gz::https://github.com/opdenkamp/xbmc-pvr-addons/archive/$_git_hash.tar.gz" + +_builddir="$srcdir/xbmc-pvr-addons-$_git_hash" + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./bootstrap || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-addons-with-dependencies \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +_mv_addon() { + local ext=$1 + pkgdesc="${ext} addon for XBMC" + depends= + mkdir -p "$subpkgdir"/usr/lib/kodi/addons \ + "$subpkgdir"/usr/share/kodi/addons + mv "$pkgdir"/usr/lib/kodi/addons/$ext \ + "$subpkgdir"/usr/lib/kodi/addons + mv "$pkgdir"/usr/share/kodi/addons/$ext \ + "$subpkgdir"/usr/share/kodi/addons +} + +argustv() { _mv_addon pvr.argustv; } +demo() { _mv_addon pvr.demo; } +dvbviewer() { _mv_addon pvr.dvbviewer; } +hts() { _mv_addon pvr.hts; } +mediaportal() { _mv_addon pvr.mediaportal.tvserver; } +nextpvr() { _mv_addon pvr.nextpvr; } +njoy() { _mv_addon pvr.njoy; } +vdr() { _mv_addon pvr.vdr.vnsi; } +vuplus() { _mv_addon pvr.vuplus; } +mythtv() { _mv_addon pvr.mythtv; } +nextpvr() { _mv_addon pvr.nextpvr; } +dvblink() { _mv_addon pvr.dvblink; } +iptvsimple() { _mv_addon pvr.iptvsimple; } +njoy() { _mv_addon pvr.njoy; } +wmc() { _mv_addon pvr.wmc; } + +md5sums="997d11e72f50636ffd6eb8386951498d kodi-pvr-addons-20150322.tar.gz" +sha256sums="0ae4e4f86889cb1a4aba2a850b1ca89bc776c2746cdb0cc1040eb7625c1f6a25 kodi-pvr-addons-20150322.tar.gz" +sha512sums="e74a9068ca0c9cf95724f7af4de4d10d872da31f6877b67b91a0ce4dd7c55fcb682a1822507159abc9f3119c864fa7a36a9214173dc1ce7b1c582419daf2f2f3 kodi-pvr-addons-20150322.tar.gz" |