blob: 6ed5769cad51ef3efe995a91b1dfbd50b1684bea (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=tvheadend
pkgver=3.4.27
pkgrel=5
pkgdesc="TV Streaming server for linux"
url="https://tvheadend.org/"
arch="all"
license="GPL3"
depends=""
depends_dev="openssl-dev libdvbcsa-dev curl-dev avahi-dev"
makedepends="$depends_dev python python findutils bash linux-headers
bsd-compat-headers"
pkgusers="$pkgname"
pkggroups="$pkgname"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
source="https://github.com/tvheadend/tvheadend/archive/3.4patch1.tar.gz
tvheadend.initd
tvheadend.confd
disable-caid-1817.patch
musl-fixes.patch
sys-queue.patch
"
_builddir="$srcdir/$pkgname-3.4patch1"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--release \
--enable-dvbcsa \
--disable-libav \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
install -d -o $pkgname -g $pkgname \
"$pkgdir/etc/$pkgname" || return 1
}
md5sums="86d1be0ad6e02bd2aecd3d529a026797 3.4patch1.tar.gz
e631622ca93fb9545307ce1005c34ef3 tvheadend.initd
17cf7dfaf27706409a004c246c1a2c3c tvheadend.confd
0f1bfa326772fefceeee982642e0caac disable-caid-1817.patch
e5b0ea614d34816e9aec3c12706e0328 musl-fixes.patch
eaa9ba5217b05decbce9201ec2d60e21 sys-queue.patch"
sha256sums="50438809ff43ab332d255248096e9531ac85e6c51511206a3f68cfc1697f4ead 3.4patch1.tar.gz
c4ae1f2bb2ee5efee42063f36be452b9b47dad3862c55537d51634e1341b3074 tvheadend.initd
4d4cb6071eac087d91858fedfaf1ce57bae78cab008658dc6b7a0d5c62d1762e tvheadend.confd
023b8001ea2ef07f60556524db44e315bd1700e3b27494b01d95bb3aa91ab4b2 disable-caid-1817.patch
a325ec6fa4fa5fc4819c59b602f2096024069566f5111535dbca50da054e1e80 musl-fixes.patch
d07357f7887e11db367580b03cdbb19ef04f3cba8cb25e4419fab1f5582e29dd sys-queue.patch"
sha512sums="fb6dc59fbaf5ea43f69452ff6b034ed80b040bb15f5c43f26a3f8075601066354f82e5cf15f7c5215adf1387edfa57468f71605aacfc0824a996aee108a0f11a 3.4patch1.tar.gz
3ff9552a667dec96e11439812c0c8d889221eb80c0dcbceb8ca0f4ea09e70a4ed998e9be482131aec933b413028f500cc49ccf6270457eb5880d907693b02bcf tvheadend.initd
20fa0004877d74e40e4e98023284f088432c3fec12ef8bfccde40a49a122669a8a6c2a6d5211517a8dd7fd3a9646b08c3296929360a20ad6683ba90a9086b734 tvheadend.confd
4b2d22a0ec72c1ca95c9499b523ed437abcb49f9e475e0e6b9be994a51e03330a87f02fd12a9f549e42278d11866c9a858efebeaf088b97c9f968a668282ffbd disable-caid-1817.patch
d247c431be3ed722f7e98f44e3ba437f94ec6100c79e68294421a75f1d8a1cf27ec7d1da3e821ac7e03b32fd2e36f86773e57db40ef27b9b234db54422a7b9d7 musl-fixes.patch
7dcb5772e9bf03688db1e97acb2dd05f3988f1506af95df603b568c7c9aac3684b1995b32ac8aeeb6d4360bf059aece69a5662ace1158dd875bc280f411cd8f5 sys-queue.patch"
|