diff options
author | Bob Igo <bob@stormlogic.com> | 2009-02-18 22:49:00 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-02-18 22:49:00 (GMT) |
commit | 17d0d96ccb9b3e0810ca4711d2cb7aae0a9ef164 (patch) | |
tree | ba8556f44bbbf5efc0215f6c74db92fcf2f3fb02 /abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD | |
parent | 235d660ceea9930d8c46cb3a532b39f1b819cfa6 (diff) | |
parent | 0768fd247ab83931c94fde0901abdbacfe5113ab (diff) | |
download | linhes_pkgbuild-17d0d96ccb9b3e0810ca4711d2cb7aae0a9ef164.zip linhes_pkgbuild-17d0d96ccb9b3e0810ca4711d2cb7aae0a9ef164.tar.gz linhes_pkgbuild-17d0d96ccb9b3e0810ca4711d2cb7aae0a9ef164.tar.bz2 |
Merge branch 'master' of ssh://igo@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD')
-rw-r--r-- | abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD | 67 |
1 files changed, 38 insertions, 29 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD b/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD index 28cbe82..73fb925 100644 --- a/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythmusic/PKGBUILD @@ -1,41 +1,50 @@ - - pkgname=mythmusic-svn -pkgver=16153 -pkgrel=9 +pkgver=20018 +pkgrel=1 pkgdesc="Music playing plugin for MythTV" url="http://www.mythtv.org" +license="GPL" arch=('i686' 'x86_64') -#depends=('mythtv-svn' 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ -# 'cdparanoia' 'fftw2' 'sdl' 'faad2' 'lame' ) - depends=('mythtv-svn ' 'libid3tag' 'flac>=1.1.4 ' 'a52dec' 'libcdaudio' 'libcddb' 'libdvdread' 'libid3tag' 'libmad' 'libogg' 'libtheora' 'libvorbis' 'taglib' 'libvisual' 'cdparanoia' 'sdl' 'faad2' 'lame' 'fftw2double') +depends=("mythtv-svn" 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ + 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \ + 'libvisual-plugins' 'libvisual-projectm') +conflicts=('mythmusic') +groups=('mythtv-extras-svn') -conflicts=('mythtv-plugins-svn') -groups=('mythtv-all-plugins-svn') -license="GPL" -source=() +patches=('aacdecoder.cpp.patch') +source=(`echo ${patches[@]:0}`) _svntrunk=http://cvs.mythtv.org/svn/trunk/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 -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 + + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod +# svn co $_svntrunk --config-dir ./ $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmusic --enable-libvisual --enable-fftw --enable-sdl \ + --enable-aac || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + } |