blob: 4a6f143e9f608fb6037e3968e34d33d181110a87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# Maintainer: John Bergqvist <johnlbergqvist@gmail.com>
# Contributor: pvdp <pvdp@email.com>
# Contributor: Taijian <taijian@posteo.de>
# Contributor: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgbase=mythplugins
pkgname=('mythplugins-mytharchive'
'mythplugins-mythbrowser'
'mythplugins-mythgame'
'mythplugins-mythmusic'
'mythplugins-mythnetvision'
'mythplugins-mythnews'
'mythplugins-mythweather'
'mythplugins-mythzoneminder')
pkgver=36.0.r13.gababe58
pkgrel=1
pkgdesc="Official plugins for MythTV (Stable '-fixes' branch)"
arch=('x86_64')
url="https://www.mythtv.org/"
license=('GPL')
makedepends=('mythtv'
'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size'
'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-uri'
'perl-xml-simple' 'perl-xml-xpath'
'python-pycurl' 'python-lxml' 'python-mysqlclient' 'python-requests'
'mariadb-libs'
'libzip' 'flac' 'libvorbis' 'lame' 'libcdio-paranoia'
'libdiscid' 'libmusicbrainz5' 'libcoverart')
source=("git+https://github.com/MythTV/mythtv#branch=fixes/36")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/mythtv/$pkgbase"
printf "%s" "$(git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}
build() {
cd "$srcdir/mythtv/$pkgbase"
./configure --prefix=/usr --enable-all
qmake-qt5 mythplugins.pro
make
}
package_mythplugins-mytharchive() {
pkgdesc="Create DVDs or archive recorded shows in MythTV"
depends=('dvdauthor' 'dvd+rw-tools' 'mythtv' 'python-lxml' 'python-mysqlclient' 'python-pillow')
cd "$srcdir/mythtv/$pkgbase/mytharchive"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythbrowser() {
pkgdesc="Mini web browser for MythTV"
depends=('mythtv')
cd "$srcdir/mythtv/$pkgbase/mythbrowser"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythgame() {
pkgdesc="Game emulator plugin for MythTV"
depends=('mythtv' 'libzip' 'python-lxml' 'python-requests')
cd "$srcdir/mythtv/$pkgbase/mythgame"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythmusic() {
pkgdesc="Music playing plugin for MythTV"
depends=('mythtv' 'flac' 'libvorbis' 'lame' 'libcdio-paranoia'
'libdiscid' 'libmusicbrainz5' 'libcoverart')
cd "$srcdir/mythtv/$pkgbase/mythmusic"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythnetvision() {
pkgdesc="MythNetvision plugin for MythTV"
depends=('mythtv' 'python-pycurl' 'python-lxml' 'python-mysqlclient')
cd "$srcdir/mythtv/$pkgbase/mythnetvision"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythnews() {
pkgdesc="News checking plugin for MythTV"
depends=('mythtv')
cd "$srcdir/mythtv/$pkgbase/mythnews"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythweather() {
pkgdesc="Weather checking plugin for MythTV"
depends=('mythtv' 'perl-date-manip' 'perl-image-size' 'perl-json'
'perl-libwww' 'perl-soap-lite' 'perl-uri'
'perl-xml-simple' 'perl-xml-xpath'
'perl-datetime-format-iso8601')
cd "$srcdir/mythtv/$pkgbase/mythweather"
make INSTALL_ROOT="$pkgdir" install
}
package_mythplugins-mythzoneminder() {
pkgdesc="View CCTV footage from zoneminder in MythTV"
depends=('mythtv' 'mariadb-libs' 'zoneminder')
cd "$srcdir/mythtv/$pkgbase/mythzoneminder"
make INSTALL_ROOT="$pkgdir" install
}
|