[arch-commits] CVS update of extra/multimedia/mythtv (PKGBUILD)
Paul Mattal
paul at archlinux.org
Thu Jan 24 03:05:41 UTC 2008
Date: Wednesday, January 23, 2008 @ 22:05:41
Author: paul
Path: /home/cvs-extra/extra/multimedia/mythtv
Modified: PKGBUILD (1.23 -> 1.24)
upgpkg: mythtv 0.20.2.20071129-2
required building without qt, lm_sensors, or libdca, updated for qt3
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Index: extra/multimedia/mythtv/PKGBUILD
diff -u extra/multimedia/mythtv/PKGBUILD:1.23 extra/multimedia/mythtv/PKGBUILD:1.24
--- extra/multimedia/mythtv/PKGBUILD:1.23 Sun Dec 2 21:51:57 2007
+++ extra/multimedia/mythtv/PKGBUILD Wed Jan 23 22:05:41 2008
@@ -1,36 +1,41 @@
-# $Id: PKGBUILD,v 1.23 2007/12/03 02:51:57 travis Exp $
+# $Id: PKGBUILD,v 1.24 2008/01/24 03:05:41 paul Exp $
# Contributor: <kleptophobiac at gmail.com>
# Contributor: dorphell <dorphell at archlinux.org>
# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=mythtv
pkgver=0.20.2.20071129
-pkgrel=1
+pkgrel=2
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
-depends=('bash' 'mysql-clients>=5.0' 'qt' 'lame' 'lirc-utils' 'ffmpeg' \
- 'libxvmc' 'lm_sensors>=3.0.0')
+depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \
+ 'libxvmc')
backup=(etc/mythtv/mythbackend.conf etc/mythtv/mysql.txt)
source=(ftp://ftp.archlinux.org/other/myth/$pkgname-$pkgver.tar.gz mythbackend \
- QUICKSTART.archlinux mythtv-0.20.2.20071129-lm_sensors-3-fix.patch)
+ QUICKSTART.archlinux)
license=('GPL2')
makedepends=(libgl)
groups=('pvr')
url="http://www.mythtv.org/"
install=mythtv.install
md5sums=('f78498e577baa63c376828a9a62697f2' '7ef6de58240e7aad389a0b13d91b1cf6'\
- 'a0ecb7f476cb71c0c1ac90d349fc7695' '93ed62248ea2a7be49dffb43fee12a0d')
+ 'a0ecb7f476cb71c0c1ac90d349fc7695')
build() {
cd $startdir/src/$pkgname || return 1
- . /etc/profile.d/qt.sh
+ . /etc/profile.d/qt3.sh
+
+ # cannot have qt, lm_sensors, or libdca
+ pacman -Q qt lm_sensors libdca >/dev/null 2>&1
+ if [ $? != 3 ]
+ then
+ echo "You must not have qt, lm_sensors, or libdca installed to build mythtv."
+ exit -1
+ fi
[ "$CARCH" = "i686" ] && ARCH="i686"
[ "$CARCH" = "x86_64" ] && ARCH="x86-64"
- # patch for compatibility with lm_sensors 3
- patch -Np1 -i $startdir/src/mythtv-0.20.2.20071129-lm_sensors-3-fix.patch || return 1
-
./configure --prefix=/usr --cpu=${ARCH} --enable-mmx --enable-audio-oss \
--enable-audio-alsa --enable-dvb --enable-lirc --enable-joystick-menu \
--disable-firewire --enable-v4l --enable-ivtv --enable-dvb \
More information about the arch-commits
mailing list