summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythvideo/PKGBUILD
blob: 55e3bd5e2c92c2111efd1c621f48ea5792507d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Juergen Hoetzel <travis@archlinux.org>
# Contributor: kleptophobiac@gmail.com

pkgname=mythvideo
pkgver=0.21
pkgrel=6
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.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2"\
	mtd)
md5sums=('00ee70be781b9af5913f046525d79ab9' '476c12ba074794ad7f4ae092bdf949d6')
replaces=('mythdvd')
groups=('mythtv-extras')
install=mythvideo.install

build() {
   cd $startdir/src/mythplugins
   . /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
}