diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-17 17:55:33 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-17 17:55:33 +0200 |
commit | cf19d8eff3e1198ae9e1668b7a25ccc0a7bf7b3c (patch) | |
tree | 8cd6bb69d9b7e6d215e2ef946eca2635ec9aacce /main/kodi-pvr-addons/APKBUILD | |
parent | f21a16fc7662995b287dfb154a850efc92e0689b (diff) | |
download | aports-cf19d8eff3e1198ae9e1668b7a25ccc0a7bf7b3c.tar.bz2 aports-cf19d8eff3e1198ae9e1668b7a25ccc0a7bf7b3c.tar.xz |
main/kodi-pvr-addons: move to main
Diffstat (limited to 'main/kodi-pvr-addons/APKBUILD')
-rw-r--r-- | main/kodi-pvr-addons/APKBUILD | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/main/kodi-pvr-addons/APKBUILD b/main/kodi-pvr-addons/APKBUILD new file mode 100644 index 0000000000..433ea1b4d2 --- /dev/null +++ b/main/kodi-pvr-addons/APKBUILD @@ -0,0 +1,88 @@ +# 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 + rm -f "$pkgdir"/usr/lib/*.la +} + +_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" |