PKGBUILDs/extra/mythvideo/PKGBUILD
2009-10-09 21:23:22 -05:00

36 lines
988 B
Bash

# $Id: PKGBUILD 27119 2009-02-16 06:26:11Z eric $
# Maintainer: Juergen Hoetzel <travis@archlinux.org>
# Contributor: kleptophobiac@gmail.com
pkgname=mythvideo
pkgver=0.21
pkgrel=2
pkgdesc="Video playback and browsing plugin for MythTV"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
depends=("mythtv>=${pkgver}" 'mplayer' 'perlxml' 'perl-libwww' 'perl-uri' 'perl-xml-simple' 'ffmpeg')
source=("ftp://ftp.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2" \
mtd)
md5sums=('6c08043227bef1384858deee12b5cdc3' '476c12ba074794ad7f4ae092bdf949d6')
replaces=('mythdvd')
groups=('mythtv-extras')
build() {
cd $startdir/src/mythplugins-${pkgver}
. /etc/profile.d/qt3.sh
# use QT3 qmake
export PATH=$QTDIR/bin:$PATH
./configure --prefix=/usr --disable-all --enable-mythvideo
qmake mythplugins.pro
make qmake || return 1
make -j 2 || return 1
make INSTALL_ROOT=$startdir/pkg install
install -D -m755 ../mtd $startdir/pkg/etc/rc.d/mtd
}