pkgname=mythmusic-release-fixes pkgver=17719 pkgrel=9 pkgdesc="Music playing plugin for MythTV" url="http://www.mythtv.org" arch=('i686' 'x86_64') depends=("mythtv-release-fixes>=${pkgver}" 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \ 'libvisual-plugins' 'libvisual-projectm') conflicts=('mythtv-plugins-release-fixes') groups=('mythtv-all-plugins-release-fixes') license="GPL" source=() _svntrunk=http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins _svnmod=mythplugins build() { cd $startdir/src/ make distclean echo svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod cd $startdir/src/mythplugins/mythmusic # patch -p1 < ../../gcc4.3.patch cd $startdir/src/mythplugins ./configure --disable-all --enable-mythmusic --enable-fftw --enable-sdl --disable-aac --enable-opengl --prefix=/usr PLUGIN=mythmusic grep -q programs-libs.pro $PLUGIN/$PLUGIN/$PLUGIN.pro if [ $? != 0 ] then echo "include ( ../../programs-libs.pro )" >> $PLUGIN/$PLUGIN/$PLUGIN.pro msg "appending program lib" fi make || return 1 make INSTALL_ROOT=$startdir/pkg install }