diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-07 23:11:33 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-07 23:12:43 +0100 |
commit | 8d34a69db11887570deafcf0afb7f3143acd57d5 (patch) | |
tree | e2f81f3de8ce0b0d9d79d5ee62def07b7dbcbc72 /main | |
parent | f58855dd83faebe3f4dc368b48d7440e8a7413f8 (diff) | |
download | aports-8d34a69db11887570deafcf0afb7f3143acd57d5.tar.bz2 aports-8d34a69db11887570deafcf0afb7f3143acd57d5.tar.xz |
testing/xbmc-pvr-addons: move to main
Diffstat (limited to 'main')
-rw-r--r-- | main/xbmc-pvr-addons/APKBUILD | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/main/xbmc-pvr-addons/APKBUILD b/main/xbmc-pvr-addons/APKBUILD new file mode 100644 index 0000000000..7929b1aba9 --- /dev/null +++ b/main/xbmc-pvr-addons/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=xbmc-pvr-addons +pkgver=12_rc3 +_realver=Frodo_rc3 +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="mysql-dev boost-dev" +makedepends="$depends_dev autoconf automake libtool" +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" +source="https://github.com/opdenkamp/xbmc-pvr-addons/archive/$_realver.tar.gz" +_builddir="$srcdir/$pkgname-$_realver" + +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 --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/xbmc/addons \ + "$subpkgdir"/usr/share/xbmc/addons + mv "$pkgdir"/usr/lib/xbmc/addons/$ext \ + "$subpkgdir"/usr/lib/xbmc/addons + mv "$pkgdir"/usr/share/xbmc/addons/$ext \ + "$subpkgdir"/usr/share/xbmc/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.cmyth; } + +md5sums="ca9ee6c1ee57c289c82dc84e3bdb38bd Frodo_rc3.tar.gz" |