mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/mythtv to 0.27-6
This commit is contained in:
parent
45f6d2fb15
commit
38eddec6a4
1 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
pkgname=mythtv
|
pkgname=mythtv
|
||||||
pkgver=0.27
|
pkgver=0.27
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="A Homebrew PVR project"
|
pkgdesc="A Homebrew PVR project"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -26,26 +26,26 @@ optdepends=('glew: for GPU commercial flagging'
|
||||||
'libcec: for consumer electronics control capabilities'
|
'libcec: for consumer electronics control capabilities'
|
||||||
'libxml2: to read blu-ray metadata'
|
'libxml2: to read blu-ray metadata'
|
||||||
'openssl: for AirTunes (RAOP) support'
|
'openssl: for AirTunes (RAOP) support'
|
||||||
|
'udisks: detect changes to removable media'
|
||||||
'xmltv: to download tv listings')
|
'xmltv: to download tv listings')
|
||||||
conflicts=('myththemes' 'mythplugins-mythvideo')
|
conflicts=('myththemes' 'mythplugins-mythvideo')
|
||||||
replaces=('myththemes' 'mythplugins-mythvideo')
|
replaces=('myththemes' 'mythplugins-mythvideo')
|
||||||
backup=()
|
|
||||||
install='mythtv.install'
|
install='mythtv.install'
|
||||||
source=("$pkgname-$pkgver.tar.gz::http://www.$pkgname.org/download/$pkgname/$pkgver"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
|
||||||
'mythbackend.service'
|
'mythbackend.service'
|
||||||
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
|
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
|
||||||
sha256sums=('e43fb64e362d1701d57887081c9402a6295376bb105002ac7153c8e8b331a01b'
|
sha256sums=('494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0'
|
||||||
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
|
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
|
||||||
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
|
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
|
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||||
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
|
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
|
||||||
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
|
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
|
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||||
|
|
||||||
[[ $CARCH == "arm" ]] && ARCH="armv5te"
|
[[ $CARCH == "arm" ]] && ARCH="armv5te"
|
||||||
[[ $CARCH == "armv6h" ]] && ARCH="armv6l"
|
[[ $CARCH == "armv6h" ]] && ARCH="armv6l"
|
||||||
|
@ -67,7 +67,7 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
|
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||||
make INSTALL_ROOT="$pkgdir" install
|
make INSTALL_ROOT="$pkgdir" install
|
||||||
|
|
||||||
install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
|
install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
|
||||||
|
|
Loading…
Reference in a new issue