summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Reimer2019-06-18 22:56:25 +0200
committerManuel Reimer2019-06-18 22:56:25 +0200
commitc91490350773e4759bd97309d6d4a614a071c3a9 (patch)
treeed142bc55cfdb32937d04b383e15a444d95822b0
parent4221bb016f9cd696808e98170d06ef572c7df19b (diff)
downloadaur-c91490350773e4759bd97309d6d4a614a071c3a9.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/085f74e230c55f93fe6eefaba907c504e220e080)
-rw-r--r--.SRCINFO164
-rw-r--r--PKGBUILD177
2 files changed, 99 insertions, 242 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e63166d5a58..17133de4079 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,89 +1,24 @@
# Generated by makepkg 5.1.3
-# Sun Jun 9 15:48:30 UTC 2019
+# Tue Jun 18 20:56:23 UTC 2019
pkgbase = vdr
- pkgdesc = 'open' digital satellite receiver and timer controlled video disk recorder
- pkgver = 2.4.0
+ pkgver = 2.4.1
pkgrel = 13
url = http://tvdr.de/
- install = vdr.install
arch = x86_64
arch = i686
arch = arm
arch = armv6h
arch = armv7h
license = GPL2
+ makedepends = fontconfig
+ makedepends = libcap
+ makedepends = libjpeg-turbo
+ makedepends = libsystemd
+ makedepends = perl
+ makedepends = ttf-font
makedepends = systemd
- depends = fontconfig
- depends = libcap
- depends = libjpeg-turbo
- depends = libsystemd
- depends = perl
- depends = ttf-font
- optdepends = lirc-utils: remote control support
- optdepends = ncurses: skincurses plugin
- optdepends = vdr-xorg: To start X11
- provides = vdr-api=2.4.0
- conflicts = runvdr-extreme
- replaces = runvdr-extreme
- backup = etc/vdr/conf.avail/50-epgtableid0.conf
- backup = etc/vdr/conf.avail/50-hello.conf
- backup = etc/vdr/conf.avail/50-osddemo.conf
- backup = etc/vdr/conf.avail/50-pictures.conf
- backup = etc/vdr/conf.avail/50-skincurses.conf
- backup = etc/vdr/conf.avail/50-status.conf
- backup = etc/vdr/conf.avail/50-svdrpdemo.conf
- backup = etc/vdr/conf.avail/50-svccli.conf
- backup = etc/vdr/conf.avail/50-svcsvr.conf
- backup = etc/vdr/conf.d/00-vdr.conf
- backup = var/lib/vdr/camresponses.conf
- backup = var/lib/vdr/channels.conf
- backup = var/lib/vdr/diseqc.conf
- backup = var/lib/vdr/keymacros.conf
- backup = var/lib/vdr/scr.conf
- backup = var/lib/vdr/sources.conf
- backup = var/lib/vdr/svdrphosts.conf
- source = ftp://ftp.tvdr.de/vdr/vdr-2.4.0.tar.bz2
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-01-fix-svdrp-modt-recflag.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-02-fix-invalid-locking-sequence.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-03-fix-locking-channel-display.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-04-fix-locking-channel-display-2.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-05-fix-shutdown.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-06-fix-channel-switch.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-07-fix-disabling-mtd.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-08-add-multi-frontend-support.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-09-fix-multi-frontend-access.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-10-fix-missing-epg.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-11-fix-peerdemo-udp-port.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-12-fix-empty-pat.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-13-fix-shutdown-2.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-14-fix-eitscan.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-15-fix-skincurses.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-16-fix-nit-transponder-processing.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-17-fix-nit-sdt-trigger.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-19-add-eac3-from-other-sources.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-20-fix-logging-inactive-transponders.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-21-fix-libsi.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-22-fix-sort-recordings.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-23-fix-patch-16.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-24-fix-drop-caps.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-25-fix-channels-menu.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-26-fix-shared-ca-pids.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-27-fix-mtd-map-sid.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-28-fix-mtd-checksum.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-29-fix-compiler-warning.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-30-fix-ci-sendanswer.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-31-fix-invalid-lock-sequence.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-32-fix-remote-timers-lstt-550.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-33-fix-compiler-warning-add-attr-packed.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-34-fix-repeat-kbd.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-35-add-workaround-rst.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-36-fix-assert-free-disk-space.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-37-chg-max-pixmap-size.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-38-chg-playerbufsize.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-39-fix-card-index-vs-device-number.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-40-fix-wrong-variable-name.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-41-chg-skins-message-to-queue.diff
- source = ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/vdr-2.4.0-42-fix-nit-dvbs2-backwards-compatibility-mode.diff
+ makedepends = ncurses
+ source = ftp://ftp.tvdr.de/vdr/vdr-2.4.1.tar.bz2
source = MainMenuHooks-v1_0_2.diff::https://www.vdr-portal.de/index.php?attachment/30330
source = 00-vdr.conf
source = 50-hello.conf
@@ -94,48 +29,7 @@ pkgbase = vdr
source = shutdown-wrapper.c
source = vdr.service
source = vdr.sysuser
- md5sums = 12c6a3abeadfa915fcfe736bb047a3ab
- md5sums = b2f115b72cc98a031cecd00ab085a658
- md5sums = d6df719874fbc276451db111d6393acb
- md5sums = 7dc852d13089880911e0ffe15308c21d
- md5sums = a0bb1d3e8fe3a864f138ba7e84798e43
- md5sums = 881cf6a109d531800c6d48bca1ef4a7c
- md5sums = e1a54547146639366512552311bd9df0
- md5sums = f455271c9518498bffd2d1840a102868
- md5sums = 42b62c26e24fe5fb36c357f84a2763f7
- md5sums = c2fccfb33bb0f6fe4629d278d6f026a6
- md5sums = e0c439786644a346b0efe564be071f60
- md5sums = a3d502710a361f9fe8916816be0d0c1b
- md5sums = c7b7874238ca29fcafb9f6c0a6ff6505
- md5sums = 145a59b3c8e7330921d3c3c584218783
- md5sums = bcc7c9e7a69ea0876ab72e3b111e07f1
- md5sums = 5e6f5d331cdd0d1a7ae006640876f6cc
- md5sums = 00fe7bf44ae9f3e54f24f12460196de9
- md5sums = cc93aba56562643f2b0ac551ac981af8
- md5sums = 593c0ecd28748467e181f4e2a84929f6
- md5sums = 8c164c58e529372f36058539f14a7cc2
- md5sums = b2721133ab1558698f2f86c700071a1d
- md5sums = 6ea776a90ffb0fa0f3e642e7f3a77196
- md5sums = 3784ba9107f82a580fca06b6c12cfd66
- md5sums = 36e8e34dbd55cc9994c7ebb57b5cbce6
- md5sums = 168fca065cbff6237575d3a35842e35d
- md5sums = 181f845e4fe0b855449960e920091ce0
- md5sums = 3f2f5d1eced0dd5ae6521e677892b06a
- md5sums = 637437b35a9383d4659256c03cbe560b
- md5sums = 923d11dba8d3beff1023cd3722e5b9a6
- md5sums = 44204391b4526fbc210a21434764ac9b
- md5sums = 68853b503fe1d9f62074f823db71a4bf
- md5sums = 330f3382d91a66aa90f6ce98dc16fac5
- md5sums = d9fbd48e5ad651623966304f168ef902
- md5sums = 5381fd44dccd75cb67d248a2e514ef5a
- md5sums = 9672cf0df47f1dc376acf4a08daec77e
- md5sums = 4c85e400104313ee56daa60b71b2228f
- md5sums = a64c0f0f4484411150da828bca9e0c82
- md5sums = 97fb7ca598ac649d04f174e77540e3d9
- md5sums = 2b3431dcf3793f5a194a36d6c46ce401
- md5sums = cce4b6d4de6db679b59ffb22cbdf15f0
- md5sums = 79327528572382a58d01f7c8017e3034
- md5sums = e2511a1e8414b2f75cb401632201a10f
+ md5sums = b2897fe6b6e6711d512a69642b1b8ec1
md5sums = 301c9b9766ed5182b07f1debc79abc21
md5sums = de3dcdea1a4282211c6dac370019548b
md5sums = fc450f75037b8712673db4969a1dd758
@@ -148,4 +42,40 @@ pkgbase = vdr
md5sums = 59ce04d1d01bf92bf6cfc0b74223191c
pkgname = vdr
+ pkgdesc = 'open' digital satellite receiver and timer controlled video disk recorder
+ install = vdr.install
+ depends = fontconfig
+ depends = libcap
+ depends = libjpeg-turbo
+ depends = libsystemd
+ depends = perl
+ depends = ttf-font
+ optdepends = lirc-utils: remote control support
+ optdepends = vdr-xorg: To start X11
+ provides = vdr-api=2.4.1
+ conflicts = runvdr-extreme
+ replaces = runvdr-extreme
+ backup = etc/vdr/conf.d/00-vdr.conf
+ backup = var/lib/vdr/camresponses.conf
+ backup = var/lib/vdr/channels.conf
+ backup = var/lib/vdr/diseqc.conf
+ backup = var/lib/vdr/keymacros.conf
+ backup = var/lib/vdr/scr.conf
+ backup = var/lib/vdr/sources.conf
+ backup = var/lib/vdr/svdrphosts.conf
+
+pkgname = vdr-examples
+ pkgdesc = Plugins for vdr to show some possible features
+ depends = vdr-api=2.4.1
+ depends = gcc-libs
+ depends = ncurses
+ backup = etc/vdr/conf.avail/50-epgtableid0.conf
+ backup = etc/vdr/conf.avail/50-hello.conf
+ backup = etc/vdr/conf.avail/50-osddemo.conf
+ backup = etc/vdr/conf.avail/50-pictures.conf
+ backup = etc/vdr/conf.avail/50-skincurses.conf
+ backup = etc/vdr/conf.avail/50-status.conf
+ backup = etc/vdr/conf.avail/50-svdrpdemo.conf
+ backup = etc/vdr/conf.avail/50-svccli.conf
+ backup = etc/vdr/conf.avail/50-svcsvr.conf
diff --git a/PKGBUILD b/PKGBUILD
index f470dde6724..b1817101d72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,65 +1,16 @@
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
-# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
-pkgname=vdr
-pkgver=2.4.0
+# Maintainer: Manuel Reimer <manuel.reimer@gxm.de>
+pkgbase=vdr
+pkgname=(vdr vdr-examples)
+pkgver=2.4.1
+_vdrapi=2.4.1
pkgrel=13
-pkgdesc="'open' digital satellite receiver and timer controlled video disk recorder"
url="http://tvdr.de/"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
-depends=('fontconfig' 'libcap' 'libjpeg-turbo' 'libsystemd' 'perl' 'ttf-font')
-makedepends=('systemd') #libsystemd should be enough but the pkg-config file is missing in the libsystemd package
-optdepends=('lirc-utils: remote control support'
- 'ncurses: skincurses plugin'
- 'vdr-xorg: To start X11')
-replaces=('runvdr-extreme')
-conflicts=('runvdr-extreme')
-provides=("vdr-api=2.4.0")
-install='vdr.install'
-_patches=('vdr-2.4.0-01-fix-svdrp-modt-recflag.diff'
- 'vdr-2.4.0-02-fix-invalid-locking-sequence.diff'
- 'vdr-2.4.0-03-fix-locking-channel-display.diff'
- 'vdr-2.4.0-04-fix-locking-channel-display-2.diff'
- 'vdr-2.4.0-05-fix-shutdown.diff'
- 'vdr-2.4.0-06-fix-channel-switch.diff'
- 'vdr-2.4.0-07-fix-disabling-mtd.diff'
- 'vdr-2.4.0-08-add-multi-frontend-support.diff'
- 'vdr-2.4.0-09-fix-multi-frontend-access.diff'
- 'vdr-2.4.0-10-fix-missing-epg.diff'
- 'vdr-2.4.0-11-fix-peerdemo-udp-port.diff'
- 'vdr-2.4.0-12-fix-empty-pat.diff'
- 'vdr-2.4.0-13-fix-shutdown-2.diff'
- 'vdr-2.4.0-14-fix-eitscan.diff'
- 'vdr-2.4.0-15-fix-skincurses.diff'
- 'vdr-2.4.0-16-fix-nit-transponder-processing.diff'
- 'vdr-2.4.0-17-fix-nit-sdt-trigger.diff'
- 'vdr-2.4.0-19-add-eac3-from-other-sources.diff'
- 'vdr-2.4.0-20-fix-logging-inactive-transponders.diff'
- 'vdr-2.4.0-21-fix-libsi.diff'
- 'vdr-2.4.0-22-fix-sort-recordings.diff'
- 'vdr-2.4.0-23-fix-patch-16.diff'
- 'vdr-2.4.0-24-fix-drop-caps.diff'
- 'vdr-2.4.0-25-fix-channels-menu.diff'
- 'vdr-2.4.0-26-fix-shared-ca-pids.diff'
- 'vdr-2.4.0-27-fix-mtd-map-sid.diff'
- 'vdr-2.4.0-28-fix-mtd-checksum.diff'
- 'vdr-2.4.0-29-fix-compiler-warning.diff'
- 'vdr-2.4.0-30-fix-ci-sendanswer.diff'
- 'vdr-2.4.0-31-fix-invalid-lock-sequence.diff'
- 'vdr-2.4.0-32-fix-remote-timers-lstt-550.diff'
- 'vdr-2.4.0-33-fix-compiler-warning-add-attr-packed.diff'
- 'vdr-2.4.0-34-fix-repeat-kbd.diff'
- 'vdr-2.4.0-35-add-workaround-rst.diff'
- 'vdr-2.4.0-36-fix-assert-free-disk-space.diff'
- 'vdr-2.4.0-37-chg-max-pixmap-size.diff'
- 'vdr-2.4.0-38-chg-playerbufsize.diff'
- 'vdr-2.4.0-39-fix-card-index-vs-device-number.diff'
- 'vdr-2.4.0-40-fix-wrong-variable-name.diff'
- 'vdr-2.4.0-41-chg-skins-message-to-queue.diff'
- 'vdr-2.4.0-42-fix-nit-dvbs2-backwards-compatibility-mode.diff')
-source=("ftp://ftp.tvdr.de/vdr/${pkgname}-${pkgver}.tar.bz2"
- "${_patches[@]/#/ftp://ftp.tvdr.de/vdr/Developer/Patches/vdr-2.4/}"
+makedepends=('fontconfig' 'libcap' 'libjpeg-turbo' 'libsystemd' 'perl' 'ttf-font' 'systemd' 'ncurses')
+source=("ftp://ftp.tvdr.de/vdr/${pkgbase}-${pkgver}.tar.bz2"
'MainMenuHooks-v1_0_2.diff::https://www.vdr-portal.de/index.php?attachment/30330'
'00-vdr.conf' '50-hello.conf' '50-pictures.conf'
'60-create-dvb-device-units.rules'
@@ -68,58 +19,7 @@ source=("ftp://ftp.tvdr.de/vdr/${pkgname}-${pkgver}.tar.bz2"
'shutdown-wrapper.c'
'vdr.service'
'vdr.sysuser')
-backup=("etc/vdr/conf.avail/"50-{epgtableid0,hello,osddemo,pictures,skincurses,status,svdrpdemo}.conf
- "etc/vdr/conf.avail/"50-svc{cli,svr}.conf
- 'etc/vdr/conf.d/00-vdr.conf'
- 'var/lib/vdr/camresponses.conf'
- 'var/lib/vdr/channels.conf'
- 'var/lib/vdr/diseqc.conf'
- 'var/lib/vdr/keymacros.conf'
- 'var/lib/vdr/scr.conf'
- 'var/lib/vdr/sources.conf'
- 'var/lib/vdr/svdrphosts.conf')
-md5sums=('12c6a3abeadfa915fcfe736bb047a3ab'
- 'b2f115b72cc98a031cecd00ab085a658'
- 'd6df719874fbc276451db111d6393acb'
- '7dc852d13089880911e0ffe15308c21d'
- 'a0bb1d3e8fe3a864f138ba7e84798e43'
- '881cf6a109d531800c6d48bca1ef4a7c'
- 'e1a54547146639366512552311bd9df0'
- 'f455271c9518498bffd2d1840a102868'
- '42b62c26e24fe5fb36c357f84a2763f7'
- 'c2fccfb33bb0f6fe4629d278d6f026a6'
- 'e0c439786644a346b0efe564be071f60'
- 'a3d502710a361f9fe8916816be0d0c1b'
- 'c7b7874238ca29fcafb9f6c0a6ff6505'
- '145a59b3c8e7330921d3c3c584218783'
- 'bcc7c9e7a69ea0876ab72e3b111e07f1'
- '5e6f5d331cdd0d1a7ae006640876f6cc'
- '00fe7bf44ae9f3e54f24f12460196de9'
- 'cc93aba56562643f2b0ac551ac981af8'
- '593c0ecd28748467e181f4e2a84929f6'
- '8c164c58e529372f36058539f14a7cc2'
- 'b2721133ab1558698f2f86c700071a1d'
- '6ea776a90ffb0fa0f3e642e7f3a77196'
- '3784ba9107f82a580fca06b6c12cfd66'
- '36e8e34dbd55cc9994c7ebb57b5cbce6'
- '168fca065cbff6237575d3a35842e35d'
- '181f845e4fe0b855449960e920091ce0'
- '3f2f5d1eced0dd5ae6521e677892b06a'
- '637437b35a9383d4659256c03cbe560b'
- '923d11dba8d3beff1023cd3722e5b9a6'
- '44204391b4526fbc210a21434764ac9b'
- '68853b503fe1d9f62074f823db71a4bf'
- '330f3382d91a66aa90f6ce98dc16fac5'
- 'd9fbd48e5ad651623966304f168ef902'
- '5381fd44dccd75cb67d248a2e514ef5a'
- '9672cf0df47f1dc376acf4a08daec77e'
- '4c85e400104313ee56daa60b71b2228f'
- 'a64c0f0f4484411150da828bca9e0c82'
- '97fb7ca598ac649d04f174e77540e3d9'
- '2b3431dcf3793f5a194a36d6c46ce401'
- 'cce4b6d4de6db679b59ffb22cbdf15f0'
- '79327528572382a58d01f7c8017e3034'
- 'e2511a1e8414b2f75cb401632201a10f'
+md5sums=('b2897fe6b6e6711d512a69642b1b8ec1'
'301c9b9766ed5182b07f1debc79abc21'
'de3dcdea1a4282211c6dac370019548b'
'fc450f75037b8712673db4969a1dd758'
@@ -132,7 +32,7 @@ md5sums=('12c6a3abeadfa915fcfe736bb047a3ab'
'59ce04d1d01bf92bf6cfc0b74223191c')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgbase}-${pkgver}"
echo 'CFLAGS += -O3' > Make.config
echo 'CXXFLAGS += -O3' >> Make.config
@@ -142,27 +42,40 @@ prepare() {
echo 'SDNOTIFY = 1' >> Make.config
echo 'LIRC_DEVICE = /run/lirc/lircd' >> Make.config
- # Upstream fixes
- for patch in "${_patches[@]}"; do
- patch -p0 -i "$srcdir/$patch"
- done
-
# Custom extensions
sed -i 's/NULL, 0, true/NULL, 0, OpenSubMenus/g' "$srcdir/MainMenuHooks-v1_0_2.diff"
patch -p1 -i "$srcdir/MainMenuHooks-v1_0_2.diff"
+
+ # Don't install plugins with VDR
+ sed -i '/^install: /s/install-plugins //' Makefile
}
build() {
gcc -o shutdown-wrapper shutdown-wrapper.c
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgbase}-${pkgver}"
make
}
-package() {
- for i in hello pictures; do
- install -Dm644 50-$i.conf "$pkgdir/etc/vdr/conf.avail/50-$i.conf"
- done
+package_vdr() {
+ pkgdesc="'open' digital satellite receiver and timer controlled video disk recorder"
+ depends=('fontconfig' 'libcap' 'libjpeg-turbo' 'libsystemd' 'perl' 'ttf-font')
+ optdepends=('lirc-utils: remote control support'
+ 'vdr-xorg: To start X11')
+ replaces=('runvdr-extreme')
+ conflicts=('runvdr-extreme')
+ provides=("vdr-api=$_vdrapi")
+ install='vdr.install'
+ backup=('etc/vdr/conf.d/00-vdr.conf'
+ 'var/lib/vdr/camresponses.conf'
+ 'var/lib/vdr/channels.conf'
+ 'var/lib/vdr/diseqc.conf'
+ 'var/lib/vdr/keymacros.conf'
+ 'var/lib/vdr/scr.conf'
+ 'var/lib/vdr/sources.conf'
+ 'var/lib/vdr/svdrphosts.conf')
+
+ mkdir -p "$pkgdir/etc/vdr/conf.avail"
install -Dm644 00-vdr.conf "$pkgdir/etc/vdr/conf.d/00-vdr.conf"
install -Dm644 60-create-dvb-device-units.rules "$pkgdir/usr/lib/udev/rules.d/60-create-dvb-device-units.rules"
@@ -176,13 +89,9 @@ package() {
install -Dm755 shutdown.sh "$pkgdir/usr/lib/vdr/bin/shutdown.sh"
#Install sysuser config
- install -Dm644 ${srcdir}/$pkgname.sysuser "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-
- for i in epgtableid0 osddemo skincurses status svc{cli,svr} svdrpdemo; do
- echo "[$i]" > "$pkgdir/etc/vdr/conf.avail/50-$i.conf"
- done
+ install -Dm644 ${srcdir}/$pkgbase.sysuser "$pkgdir/usr/lib/sysusers.d/$pkgbase.conf"
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgbase}-${pkgver}"
mkdir -p "$pkgdir/var/lib/vdr"
make DESTDIR="${pkgdir}" install
@@ -192,3 +101,21 @@ package() {
chown -R 666:666 "$pkgdir/var/cache/vdr"
chown -R 666:666 "$pkgdir/var/lib/vdr"
}
+
+package_vdr-examples() {
+ pkgdesc="Plugins for vdr to show some possible features"
+ depends=("vdr-api=${_vdrapi}" "gcc-libs" 'ncurses')
+ backup=("etc/vdr/conf.avail/"50-{epgtableid0,hello,osddemo,pictures,skincurses,status,svdrpdemo}.conf
+ "etc/vdr/conf.avail/"50-svc{cli,svr}.conf)
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install-plugins
+
+ mkdir -p "$pkgdir/etc/vdr/conf.avail"
+ for i in hello pictures; do
+ install -Dm644 "${srcdir}/50-$i.conf" "$pkgdir/etc/vdr/conf.avail/50-$i.conf"
+ done
+ for i in epgtableid0 osddemo skincurses status svc{cli,svr} svdrpdemo; do
+ echo "[$i]" > "$pkgdir/etc/vdr/conf.avail/50-$i.conf"
+ done
+}