aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xbmc-pvr-addons/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xbmc-pvr-addons/APKBUILD')
-rw-r--r--testing/xbmc-pvr-addons/APKBUILD97
1 files changed, 0 insertions, 97 deletions
diff --git a/testing/xbmc-pvr-addons/APKBUILD b/testing/xbmc-pvr-addons/APKBUILD
deleted file mode 100644
index 526e7f7752..0000000000
--- a/testing/xbmc-pvr-addons/APKBUILD
+++ /dev/null
@@ -1,97 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=xbmc-pvr-addons
-pkgver=20121204
-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="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir/$pkgname-$pkgver"
-_giturl="git://github.com/opdenkamp/xbmc-pvr-addons.git"
-_upload="dev.alpinelinux.org:/archive/$pkgname/"
-
-snapshot() {
- local _date=$(date +%Y%m%d)
- local _pkg=$pkgname-$_date.tar.gz
- mkdir -p "$srcdir"
- cd "$srcdir"
- msg "Creating snapshot: $_pkg"
- rm -rf ${_giturl##*/}
- git clone --depth=1 --bare $_giturl || return 1
- git --git-dir ${_giturl##*/} archive -o $_pkg \
- --prefix=$pkgname-$_date/ HEAD \
- || return 1
- msg "Uploading to $_upload"
- rsync -Lave ssh $_pkg $_upload || return 1
- cd "$startdir"
- sed -i -e "s/^pkgver=.*/pkgver=$_date/" \
- APKBUILD || return 1
- abuild checksum
-}
-
-
-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="9da2649bce16d09957229ce2d31697e2 xbmc-pvr-addons-20121204.tar.gz"