# $Id: PKGBUILD 27471 2009-02-22 02:46:58Z eric $ # Maintainer: Juergen Hoetzel # Contributor: kleptophobiac@gmail.com pkgname=mythmusic pkgver=0.21 pkgrel=3 pkgdesc="Music playing plugin for MythTV" arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') depends=("mythtv>=${pkgver}" 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.7' 'lame' 'taglib') source=("ftp://ftp.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2"\ mythmusic-0.21.patch) md5sums=('6c08043227bef1384858deee12b5cdc3' '63cac69a7d699dd09934cb560a72d504') groups=('mythtv-extras') build() { cd $startdir/src/mythplugins-${pkgver} . /etc/profile.d/qt3.sh # use QT3 qmake export PATH=$QTDIR/bin:$PATH patch -p1 -i $startdir/src/mythmusic-0.21.patch || return 1 ./configure --prefix=/usr --disable-all --enable-mythmusic --enable-fftw \ --enable-sdl --enable-aac --enable-opengl qmake mythplugins.pro make qmake || return 1 make -j 2 || return 1 make INSTALL_ROOT=$startdir/pkg install }