diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-17 17:22:42 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-17 17:22:42 +0000 |
commit | e372de1a39d506326e5caeaa121d24b5072dca8d (patch) | |
tree | cccf9c2240c74ef4040fa3c23ca0de4a8fe8a7e4 /unmaintained/kodi-pvr-addons | |
parent | 1814d93089deed196ba95fe26c103da1a31eba24 (diff) | |
download | aports-e372de1a39d506326e5caeaa121d24b5072dca8d.tar.bz2 aports-e372de1a39d506326e5caeaa121d24b5072dca8d.tar.xz |
community/kodi-pvr-addons: move to unmaintained
Diffstat (limited to 'unmaintained/kodi-pvr-addons')
-rw-r--r-- | unmaintained/kodi-pvr-addons/APKBUILD | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/unmaintained/kodi-pvr-addons/APKBUILD b/unmaintained/kodi-pvr-addons/APKBUILD new file mode 100644 index 0000000000..8583228488 --- /dev/null +++ b/unmaintained/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" |