Skip to content

Commit

Permalink
vdr-osdteletext: fix blank lines and add optional dependency
Browse files Browse the repository at this point in the history
Fix characters alignment which is seen as blank horizontal lines.
Also add ttf-teletext2 as optional dependency.
  • Loading branch information
tmn505 committed Jul 26, 2018
1 parent d52872c commit 85d65f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion plugins/vdr-osdteletext/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = vdr-osdteletext
pkgdesc = Displays teletext pages directly on VDR's OSD
pkgver = 0.9.7
pkgrel = 1
pkgrel = 2
url = http://projects.vdr-developer.org/projects/plg-osdteletext
arch = x86_64
arch = i686
Expand All @@ -11,10 +11,13 @@ pkgbase = vdr-osdteletext
license = GPL2
depends = gcc-libs
depends = vdr-api=2.4.0
optdepends = ttf-teletext2: renderng special graphic characters used in Teletext
backup = etc/vdr/conf.avail/50-osdteletext.conf
source = http://projects.vdr-developer.org/git/vdr-plugin-osdteletext.git/snapshot/vdr-plugin-osdteletext-0.9.7.tar.bz2
source = remove-blank-lines.patch::https://www.vdr-portal.de/index.php?attachment/41771
source = 50-osdteletext.conf
md5sums = 3cc9318b3b5d63884320b57e2268648c
md5sums = 14d8bd880d82f3a86705ca94ed8aac84
md5sums = 4e47fd8f77cea06d30e07486b7fd9d6e

pkgname = vdr-osdteletext
Expand Down
10 changes: 9 additions & 1 deletion plugins/vdr-osdteletext/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,27 @@
pkgname=vdr-osdteletext
pkgver=0.9.7
_vdrapi=2.4.0
pkgrel=1
pkgrel=2
pkgdesc="Displays teletext pages directly on VDR's OSD"
url="http://projects.vdr-developer.org/projects/plg-osdteletext"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('gcc-libs' "vdr-api=${_vdrapi}")
optdepends=('ttf-teletext2: renderng special graphic characters used in Teletext')
_plugname=${pkgname//vdr-/}
source=("http://projects.vdr-developer.org/git/vdr-plugin-$_plugname.git/snapshot/vdr-plugin-$_plugname-$pkgver.tar.bz2"
'remove-blank-lines.patch::https://www.vdr-portal.de/index.php?attachment/41771'
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
md5sums=('3cc9318b3b5d63884320b57e2268648c'
'14d8bd880d82f3a86705ca94ed8aac84'
'4e47fd8f77cea06d30e07486b7fd9d6e')

prepare() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
patch -p1 -i "${srcdir}/remove-blank-lines.patch"
}

build() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make
Expand Down

0 comments on commit 85d65f3

Please sign in to comment.