summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Reimer2020-08-15 14:06:45 +0200
committerManuel Reimer2020-08-15 14:06:45 +0200
commit428186950285cf4fff9ddd7cd9afcc3f81d2e1c7 (patch)
treec425e1a6b4c605eb140ac301c572fe01d429f0ce
parent5b617c4ef939f6cc71442ff137674519d3ee4fc6 (diff)
downloadaur-428186950285cf4fff9ddd7cd9afcc3f81d2e1c7.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/f6b10c465615603b35461d4d6964210ad5eb2bc9)
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
2 files changed, 8 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 524dbbb4941..cc892609e6c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 5.2.2
-# Sun Aug 2 17:33:53 UTC 2020
+# Sat Aug 15 12:06:44 UTC 2020
pkgbase = vdr-graphlcd
pkgdesc = VDR Plugin to support graphical LC displays
pkgver = 1.0.0.r0.ga6c8e3d
- pkgrel = 4
+ pkgrel = 5
epoch = 1
url = http://projects.vdr-developer.org/projects/show/graphlcd
arch = x86_64
@@ -13,8 +13,9 @@ pkgbase = vdr-graphlcd
arch = armv7h
license = GPL2
makedepends = git
- depends = graphlcd-base
+ depends = graphlcd-base>=2.0.0
depends = ttf-dejavu
+ depends = ttf-bitstream-vera
depends = vdr-api=2.4.3
optdepends = serdisplib: Support more modern LCDs
backup = etc/vdr/conf.avail/50-graphlcd.conf
diff --git a/PKGBUILD b/PKGBUILD
index e71f7ff9379..700af0aab74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@ pkgname=vdr-graphlcd
pkgver=1.0.0.r0.ga6c8e3d
_gitver=a6c8e3d4383ae164e26149888bbdc91cbd448ba8
_vdrapi=2.4.3
-pkgrel=4
+pkgrel=5
epoch=1
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}")
+depends=('graphlcd-base>=2.0.0' 'ttf-dejavu' 'ttf-bitstream-vera' "vdr-api=${_vdrapi}")
optdepends=('serdisplib: Support more modern LCDs')
makedepends=('git')
_plugname=${pkgname//vdr-/}
@@ -35,13 +35,8 @@ 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 .
+ # Make use of the graphlcd >= 2.0.0 system font directory search
+ rm "$pkgdir/usr/share/vdr/plugins/graphlcd/fonts/"*.ttf
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}