[arch-commits] Commit in mythtv/trunk (PKGBUILD mythtv.install)
Giovanni Scafora
giovanni at archlinux.org
Mon Feb 15 10:06:54 UTC 2010
Date: Monday, February 15, 2010 @ 05:06:54
Author: giovanni
Revision: 68936
upgpkg: mythtv 23562-1
Fixed FS18326
Modified:
mythtv/trunk/PKGBUILD
mythtv/trunk/mythtv.install
----------------+
PKGBUILD | 25 ++++++++++++++-----------
mythtv.install | 6 ------
2 files changed, 14 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-15 09:36:37 UTC (rev 68935)
+++ PKGBUILD 2010-02-15 10:06:54 UTC (rev 68936)
@@ -5,34 +5,32 @@
# Contributor: dorphell <dorphell at archlinux.org>
pkgname=mythtv
-pkgver=0.22
-pkgrel=8
+pkgver=23562
+pkgrel=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
-groups=('pvr')
depends=('mysql-clients' 'qt' 'lame' 'lirc-utils' 'ffmpeg' 'libxvmc' 'fribidi'
'perl-soap-lite' 'perl-date-manip' 'perl-xml-sax' 'perl-math-round'
'perl-net-upnp' 'perl-dbd-mysql' 'perl-time-hires' 'libavc1394' 'wget'
'libiec61883' 'mysql-python' 'mesa' 'libxinerama' 'libxrandr' 'yasm')
-optdepends=('xmltv: to download tv listings'
- 'mythplugins: plugins for mythtv')
+optdepends=('xmltv: to download tv listings')
+replaces=('mythtv-contrib')
backup=('etc/conf.d/mythbackend')
install=mythtv.install
-source=(ftp://ftp.osuosl.org/pub/mythtv/${pkgname}-${pkgver}.tar.bz2
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz
mythbackend
archlinux.conf.d.mythbackend)
-md5sums=('e8f8b5b6a51cd7be700e215b2a1bf2c0'
- 'feadcc9ad064d93d6dceab1efc0bd9ed'
+md5sums=('e487de15bcf44214557ad3a1e8e9697d'
+ 'feadcc9ad064d93d6dceab1efc0bd9ed'
'bb8e4033d82428d827570fae9ba15e6a')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
ARCH=${CARCH/_/-}
./configure --prefix=/usr --cpu=${ARCH} \
- --mandir=/usr/share/man \
--enable-mmx \
--enable-audio-oss \
--enable-audio-alsa \
@@ -66,10 +64,15 @@
--with-bindings=perl,python
qmake mythtv.pro
- make || return 1
+ make all || return 1
# basic install
make INSTALL_ROOT="${pkgdir}" install || return 1
install -D -m0755 ${srcdir}/mythbackend "${pkgdir}/etc/rc.d/mythbackend" || return 1
# config file
install -D -m644 ${srcdir}/archlinux.conf.d.mythbackend "${pkgdir}/etc/conf.d/mythbackend" || return 1
+ # install contrib files
+ cp -a contrib/$i ${pkgdir}/usr/share/mythtv
+ # install database structure
+ cd database
+ cp -a mc.sql ${pkgdir}/usr/share/mythtv
}
Modified: mythtv.install
===================================================================
--- mythtv.install 2010-02-15 09:36:37 UTC (rev 68935)
+++ mythtv.install 2010-02-15 10:06:54 UTC (rev 68936)
@@ -1,13 +1,7 @@
-# arg 1: the new package version
post_install() {
echo "See \"MythTV\" on the Archlinux Wiki for installation information - Extensive!!"
}
-# arg 1: the old package version
post_remove() {
echo -e "NOTE: mysql database was not removed. To remove run:\nmysql -u root -e 'drop database mythconverg;'"
}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list