summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.28/mythtv
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable-0.28/mythtv')
-rw-r--r--abs/core/mythtv/stable-0.28/mythtv/PKGBUILD8
-rw-r--r--abs/core/mythtv/stable-0.28/mythtv/mythtv.install9
2 files changed, 13 insertions, 4 deletions
diff --git a/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
index e0afc58..bdfedf9 100644
--- a/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythtv
pkgver=0.28
-pkgrel=2
+pkgrel=5
commit_hash=`cat ../git_src/git_hash`
pkgdesc="A Homebrew PVR project $commit_hash"
arch=('i686' 'x86_64')
@@ -8,8 +8,9 @@ url="http://www.mythtv.org/"
license=('GPL')
depends=('avahi' 'faad2' 'fftw' 'glew' 'exiv2' 'lame' 'libass' 'libavc1394' 'libcdio'
'libcec' 'libcrystalhd-git' 'libiec61883' 'libva' 'libvdpau' 'libvpx'
- 'libxinerama' 'libxrandr' 'libxml2' 'LinHES-config>=8.1-6' 'lirc-utils'
- 'mysql-clients' 'mysql-python' 'openssl' 'perl-date-manip' 'perl-dbd-mysql'
+ 'libxinerama' 'libxrandr' 'libxml2' 'LinHES-config>=8.1-6'
+ 'LinHES-system>=8.4-3' 'lirc-utils' 'mysql-clients' 'mysql-python'
+ 'openssl' 'perl-date-manip' 'perl-dbd-mysql'
'perl-io-socket-inet6' 'perl-libwww' 'perl-math-round'
'perl-net-upnp' 'perl-soap-lite' 'perl-xml-sax' 'python2-pycurl'
'python2-lxml' 'qt5-script' 'qt5-webkit' 'sdl' 'taglib' 'urlgrabber' 'wget'
@@ -57,7 +58,6 @@ build() {
--disable-altivec \
--disable-audio-jack \
--disable-audio-pulseoutput \
- --disable-ccache \
--disable-distcc \
--disable-mythlogserver \
--dvb-path=/usr/include \
diff --git a/abs/core/mythtv/stable-0.28/mythtv/mythtv.install b/abs/core/mythtv/stable-0.28/mythtv/mythtv.install
index 4ca5ebc..aedebbf 100644
--- a/abs/core/mythtv/stable-0.28/mythtv/mythtv.install
+++ b/abs/core/mythtv/stable-0.28/mythtv/mythtv.install
@@ -6,6 +6,15 @@ post_install() {
}
pre_upgrade() {
+ if [ "`vercmp $2 0.28`" -lt 0 ]
+ then
+ . /etc/systemconfig
+ if [ $SystemType = "Master_backend" -o $SystemType = "Standalone" ]
+ then
+ echo "upgrading from 0.27, adding new storage groups..."
+ add_storage.py --reconstruct_sg
+ fi
+ fi
/bin/true
}