mplayer: 2009-07-25 -> 2009-09-19
This commit is contained in:
parent
363bcf9f5c
commit
c1f8fb5771
@ -1,3 +1,3 @@
|
||||
1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2
|
||||
7fc628ed82eb919a76cfab1a8a3f950c mplayer-export-2009-07-25.tar.bz2
|
||||
5b315c53a77b38c30b0154ada988506c mplayer-export-2009-07-25.tar.bz2
|
||||
c64631601912913f3e5dfbecc3b79d44 mplayer.conf
|
||||
|
@ -1,42 +1,42 @@
|
||||
# Description: Versatile media player and encoder/converter
|
||||
# URL: http://www.mplayerhq.hu/
|
||||
# Packager: Matt Housh, jaeger at morpheus dot net
|
||||
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
||||
# Depends on: expat, xorg-libxinerama, xorg-libxv, xorg-libxxf86dga, xorg-libxxf86vm
|
||||
# Description: Versatile media player and encoder/converter
|
||||
# URL: http://www.mplayerhq.hu/
|
||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||
# Packager: Matt Housh, jaeger at morpheus dot net
|
||||
# Depends on: expat, xorg-libxinerama, xorg-libxv, xorg-libxxf86dga, xorg-libxxf86vm
|
||||
# Nice to have: libsdl, libjpeg, libpng, lame, zlib, libogg, libvorbis, cdparanoia, win32-essential-codecs, faac, x264, libdvdnav
|
||||
|
||||
name=mplayer
|
||||
version=export-2009-07-25
|
||||
version=export-2009-09-19
|
||||
release=1
|
||||
source=(http://crux.nu/~lucas/files/$name-$version.tar.bz2
|
||||
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
||||
mplayer.conf)
|
||||
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
||||
mplayer.conf)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
# Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
|
||||
#export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--codecsdir=/usr/lib/win32 \
|
||||
--enable-largefiles
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
# Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
|
||||
export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--codecsdir=/usr/lib/win32 \
|
||||
--enable-largefiles
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
(cd $PKG/usr/man/man1; rm mencoder.1; ln -s mplayer.1.gz mencoder.1.gz)
|
||||
(cd $PKG/usr/man/man1; rm mencoder.1; ln -s mplayer.1.gz mencoder.1.gz)
|
||||
|
||||
# fonts
|
||||
mkdir -p $PKG/usr/share/mplayer
|
||||
cp -a $SRC/font-arial-iso-8859-1/font-arial-??-iso-8859-1 \
|
||||
$PKG/usr/share/mplayer
|
||||
ln -s font-arial-14-iso-8859-1 $PKG/usr/share/mplayer/font
|
||||
# fonts
|
||||
mkdir -p $PKG/usr/share/mplayer
|
||||
cp -a $SRC/font-arial-iso-8859-1/font-arial-??-iso-8859-1 \
|
||||
$PKG/usr/share/mplayer
|
||||
ln -s font-arial-14-iso-8859-1 $PKG/usr/share/mplayer/font
|
||||
|
||||
# config
|
||||
cp $SRC/mplayer.conf $PKG/usr/etc/mplayer/
|
||||
cp etc/input.conf $PKG/usr/etc/mplayer/
|
||||
# config
|
||||
install -m 644 $SRC/mplayer.conf $PKG/usr/etc/mplayer/
|
||||
install -m 644 etc/input.conf $PKG/usr/etc/mplayer/
|
||||
|
||||
# finish up
|
||||
rmdir $PKG/usr/lib
|
||||
find $PKG -name '*.desc' | xargs chmod g-w
|
||||
# finish up
|
||||
rmdir $PKG/usr/lib
|
||||
find $PKG -name '*.desc' | xargs chmod g-w
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user