summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Reimer2015-06-08 11:09:16 +0200
committerChristopher Reimer2015-06-08 11:09:16 +0200
commitd23f11104ee9b62c6ef637725367b39de3cff0e0 (patch)
tree414135e900d41c650158cc47fb8e65b1d34458f5
downloadaur-d23f11104ee9b62c6ef637725367b39de3cff0e0.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/3bf8a4492e3b973a559fd2c53855b231e25c7e74)
-rw-r--r--.SRCINFO24
-rw-r--r--50-graphlcd.conf12
-rw-r--r--PKGBUILD46
3 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..469c2fe8725
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = vdr-graphlcd
+ pkgdesc = VDR Plugin to support graphical LC displays
+ pkgver = 20130127
+ pkgrel = 13
+ url = http://projects.vdr-developer.org/projects/show/graphlcd
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = GPL2
+ makedepends = git
+ depends = graphlcd-base
+ depends = ttf-dejavu
+ depends = vdr-api=2.2.0
+ optdepends = serdisplib: Support more modern LCDs
+ backup = etc/vdr/conf.avail/50-graphlcd.conf
+ source = git://projects.vdr-developer.org/vdr-plugin-graphlcd.git#commit=5b5bf594f026fbcba2e31b423b43a2e5e45fd471
+ source = 50-graphlcd.conf
+ md5sums = SKIP
+ md5sums = 7cae4551e65a16f5d7680b2303495757
+
+pkgname = vdr-graphlcd
+
diff --git a/50-graphlcd.conf b/50-graphlcd.conf
new file mode 100644
index 00000000000..a4baef68b65
--- /dev/null
+++ b/50-graphlcd.conf
@@ -0,0 +1,12 @@
+[graphlcd]
+#--config=/etc/graphlcd.conf
+# use CFG as driver config file
+
+#--display=DISP[,DISP]
+# use display DISP for output or if DISP=none: start w/o any display
+
+#--skin=SKIN[,SKIN]
+# use skin SKIN (default is "default")
+
+#--skinspath=/usr/share/vdr/plugins/graphlcd/skins
+# use path PATH for skins
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81ea2de1315
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
+
+# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
+pkgname=vdr-graphlcd
+pkgver=20130127
+_gitver=5b5bf594f026fbcba2e31b423b43a2e5e45fd471
+_vdrapi=2.2.0
+pkgrel=13
+pkgdesc="VDR Plugin to support graphical LC displays"
+url="http://projects.vdr-developer.org/projects/show/graphlcd"
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
+license=('GPL2')
+depends=('graphlcd-base' 'ttf-dejavu' "vdr-api=${_vdrapi}")
+optdepends=('serdisplib: Support more modern LCDs')
+makedepends=('git')
+_plugname=$(echo $pkgname | sed 's/vdr-//g')
+source=("git://projects.vdr-developer.org/vdr-plugin-graphlcd.git#commit=$_gitver"
+ "50-$_plugname.conf")
+backup=("etc/vdr/conf.avail/50-$_plugname.conf")
+md5sums=('SKIP'
+ '7cae4551e65a16f5d7680b2303495757')
+
+pkgver() {
+ cd "${srcdir}/vdr-plugin-${_plugname}"
+ git log -1 --pretty=format:%ad --date=short | sed 's/-//g'
+}
+
+build() {
+ cd "${srcdir}/vdr-plugin-${_plugname}"
+ make
+}
+
+package() {
+ cd "${srcdir}/vdr-plugin-${_plugname}"
+ make DESTDIR="${pkgdir}" install
+
+ cd "$pkgdir/usr/share/vdr/plugins/graphlcd/fonts"
+ rm *.ttf
+ ln -s /usr/share/fonts/TTF/DejaVuSans-Bold.ttf .
+ ln -s /usr/share/fonts/TTF/DejaVuSans-Bold.ttf VeraBd.ttf
+ ln -s /usr/share/fonts/TTF/DejaVuSans.ttf .
+ ln -s /usr/share/fonts/TTF/DejaVuSans.ttf Vera.ttf
+ ln -s /usr/share/fonts/TTF/DejaVuSansCondensed.ttf .
+
+ install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
+}