summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/myth/release-fixes/plugins/mythmusic/PKGBUILD
blob: de26f57d04313e811b85eb95cba6251504f89e7f (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
38
39
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 ' 'libid3tag' 'flac>=1.1.4 ' 'a52dec' 'libcdaudio' 'libcddb' 'libdvdread' 'libid3tag' 'libmad' 'libogg'  'libtheora' 'libvorbis' 'taglib' 'libvisual' 'cdparanoia'   'sdl' 'faad2' 'lame' 'fftw2')

conflicts=('mythtv-plugins-release-fixes')
groups=('mythtv-all-plugins-release-fixes')
license="GPL"
source=(gcc4.3.patch)
_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 
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

#   ./configure  --disable-all --enable-mythmusic  

   make  || return 1

   make INSTALL_ROOT=$startdir/pkg install
}