summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Reimer2015-06-08 11:08:40 +0200
committerChristopher Reimer2015-06-08 11:08:40 +0200
commitb71257954551985346726430125206f9b4df8375 (patch)
tree8c0f40d6952506d1d726c6a06c4c54677825c1ce
downloadaur-b71257954551985346726430125206f9b4df8375.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/3bf8a4492e3b973a559fd2c53855b231e25c7e74)
-rw-r--r--.SRCINFO21
-rw-r--r--50-cdplayer.conf21
-rw-r--r--PKGBUILD31
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..10b3df1f90b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = vdr-cdplayer
+ pkgdesc = CD-Player plugin which supports CD-Text and CDDB-Database
+ pkgver = 1.2.3
+ pkgrel = 1
+ url = http://uli-eckhardt.de/vdr/cdplayer.en.shtml
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = GPL2
+ depends = libcdio-paranoia
+ depends = vdr-api=2.2.0
+ backup = etc/vdr/conf.avail/50-cdplayer.conf
+ source = http://www.uli-eckhardt.de/vdr/download/vdr-cdplayer-1.2.3.tgz
+ source = 50-cdplayer.conf
+ md5sums = e760a38fed68dacd5b976a93c6789a43
+ md5sums = 44d03e8a2436daab8d9f31f444d494af
+
+pkgname = vdr-cdplayer
+
diff --git a/50-cdplayer.conf b/50-cdplayer.conf
new file mode 100644
index 00000000000..af9cc664411
--- /dev/null
+++ b/50-cdplayer.conf
@@ -0,0 +1,21 @@
+[cdplayer]
+#--device=/dev/cdrom
+# CD-Rom device
+
+--stillpic=/usr/share/vdr/plugins/cdplayer/cd.mpg
+# Still-Picture
+
+#--configdir=cdplayer
+# Directory for config files
+
+#--cddbserver=freedb.freedb.org
+# CDDB server name
+
+#--cddbcache=<dir>
+# CDDB cache directory
+
+#--disablecddbcache
+# Disable CDDB cache
+
+#--disablecddb
+# Disable CDDB query \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..47001e879f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
+
+# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
+pkgname=vdr-cdplayer
+pkgver=1.2.3
+_vdrapi=2.2.0
+pkgrel=1
+pkgdesc="CD-Player plugin which supports CD-Text and CDDB-Database"
+url="http://uli-eckhardt.de/vdr/cdplayer.en.shtml"
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
+license=('GPL2')
+depends=('libcdio-paranoia' "vdr-api=${_vdrapi}")
+_plugname=$(echo $pkgname | sed 's/vdr-//g')
+backup=("var/lib/vdr/plugins/$_plugname/cd.mpg")
+source=("http://www.uli-eckhardt.de/vdr/download/${pkgname}-${pkgver}.tgz"
+ "50-$_plugname.conf")
+backup=("etc/vdr/conf.avail/50-$_plugname.conf")
+md5sums=('e760a38fed68dacd5b976a93c6789a43'
+ '44d03e8a2436daab8d9f31f444d494af')
+
+build() {
+ cd "${srcdir}/${_plugname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_plugname}-${pkgver}"
+ make CFGDIR=$(pkg-config --variable=resdir vdr)/plugins/$_plugname DESTDIR="${pkgdir}" install
+
+ install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
+}