summaryrefslogtreecommitdiff
path: root/community/mythtv
diff options
context:
space:
mode:
Diffstat (limited to 'community/mythtv')
-rw-r--r--community/mythtv/PKGBUILD18
-rw-r--r--community/mythtv/mythbackend.service1
2 files changed, 10 insertions, 9 deletions
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD
index 669c837ad..cf58bb1ac 100644
--- a/community/mythtv/PKGBUILD
+++ b/community/mythtv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 99201 2013-10-25 13:44:56Z giovanni $
+# $Id: PKGBUILD 102723 2013-12-17 19:52:17Z bgyorgy $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -7,7 +7,7 @@
pkgname=mythtv
pkgver=0.27
-pkgrel=3
+pkgrel=6
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
@@ -22,27 +22,27 @@ optdepends=('glew: for GPU commercial flagging'
'libcec: for consumer electronics control capabilities'
'libxml2: to read blu-ray metadata'
'openssl: for AirTunes (RAOP) support'
+ 'udisks: detect changes to removable media'
'xmltv: to download tv listings')
conflicts=('myththemes' 'mythplugins-mythvideo')
replaces=('myththemes' 'mythplugins-mythvideo')
-backup=()
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'
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
-sha256sums=('49789de705be73275325b1a4984b727cf8284fdc4ae6b041ad152857c830dc46'
- 'f628f44164ce773ae54d320fb2f65353cacf9deec16981e4e56316ac33000a2f'
+sha256sums=('494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0'
+ 'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
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@'
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
}
build() {
- cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver/$pkgname"
ARCH="${CARCH/_/-}"
./configure --prefix=/usr \
@@ -61,7 +61,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver/$pkgname"
make INSTALL_ROOT="$pkgdir" install
install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
diff --git a/community/mythtv/mythbackend.service b/community/mythtv/mythbackend.service
index 2a2b8b7db..aa9427ced 100644
--- a/community/mythtv/mythbackend.service
+++ b/community/mythtv/mythbackend.service
@@ -1,5 +1,6 @@
[Unit]
Description=MythTV Backend
+Wants=network-online.target
After=network.target mysqld.service
[Service]