Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 390, Sun Oct 4 15:03:06 2009 UTC revision 391, Sun Oct 4 15:03:07 2009 UTC
# Line 7  Line 7 
7  # Nice to have: mplayer-ppc-codecs, libsdl, libjpeg, libpng, lame, zlib, libogg, libvorbis, cdparanoia, faac, x264, libdvdnav  # Nice to have: mplayer-ppc-codecs, libsdl, libjpeg, libpng, lame, zlib, libogg, libvorbis, cdparanoia, faac, x264, libdvdnav
8    
9  name=mplayer  name=mplayer
10  version=1.0rc2  version=1.0_rc2_p28450
11  release=2  release=1
12  source=(http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-$version.tar.bz2 \  source=(http://distfiles.gentoo.org/distfiles/$name-$version.tar.bz2 \
13          http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \          http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
         http://www.mplayerhq.hu/MPlayer/patches/demux_audio_fix_20080129.diff \  
         http://www.mplayerhq.hu/MPlayer/patches/demux_mov_fix_20080129.diff \  
         http://www.mplayerhq.hu/MPlayer/patches/url_fix_20080120.diff \  
         http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff \  
14          mplayer.conf)          mplayer.conf)
15    
16  build() {  build() {
17          cd MPlayer-$version          cd $name-$version
         for diff in ../*.diff ; do patch -p0 -i $diff; done  
18    
19          # mplayer decides optimizations at configure time          # mplayer decides optimizations at configure time
20          export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"          export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
# Line 43  build() { Line 38  build() {
38          cp etc/input.conf $PKG/usr/etc/$name/          cp etc/input.conf $PKG/usr/etc/$name/
39    
40          # finish up          # finish up
41            rmdir $PKG/usr/lib
42          chown -R root:root $PKG          chown -R root:root $PKG
43  }  }

Legend:
Removed from v.390  
changed lines
  Added in v.391