summaryrefslogtreecommitdiffstats
path: root/extra/mplayer/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:30:24 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:30:24 +0200
commitee64be9f9bd9fd9a7ddbf9d75bb7642cd1b1ccca (patch)
treed0b757f572a0e5654030cbd4645c64826285ad30 /extra/mplayer/Pkgfile
parenta36d711d21e366e481d51e867a75b69b6820652a (diff)
downloadnutyx-extra-ee64be9f9bd9fd9a7ddbf9d75bb7642cd1b1ccca.tar.gz
nutyx-extra-ee64be9f9bd9fd9a7ddbf9d75bb7642cd1b1ccca.tar.bz2
nutyx-extra-ee64be9f9bd9fd9a7ddbf9d75bb7642cd1b1ccca.tar.xz
nutyx-extra-ee64be9f9bd9fd9a7ddbf9d75bb7642cd1b1ccca.zip
Ajout de mplayer#20090801-1
Diffstat (limited to 'extra/mplayer/Pkgfile')
-rw-r--r--extra/mplayer/Pkgfile57
1 files changed, 57 insertions, 0 deletions
diff --git a/extra/mplayer/Pkgfile b/extra/mplayer/Pkgfile
new file mode 100644
index 000000000..d49904261
--- /dev/null
+++ b/extra/mplayer/Pkgfile
@@ -0,0 +1,57 @@
+# Description: Lecteur/Encodeur Multimedia.
+# URL: http://www.mplayerhq.hu/DOCS/HTML/fr/index.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: yasm, faad2, x264, libcaca, speex, directfb, libmp4v2, xvid, libmpcdec, libdv, libmad, libpng, lame, faac, giflib,libogg, libcdio, esound, nas, libdvdcss, libdvdnav, libdvdread, libtheora, mplayer-all-codecs, cdparanoia
+
+name=mplayer
+version=20090801
+release=1
+source=( http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2 \
+ http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
+ http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2\
+ mplayer.conf mplayer.desktop liba52_gcc44.patch)
+
+
+build() {
+ unset CFLAGS CXXFLAGS
+ install -d -m755 $PKG/usr/share/mplayer/skins
+ mv Blue $PKG/usr/share/mplayer/skins/default
+ install -d -m755 $PKG/usr/share/mplayer
+ mv font-arial-iso-8859-1 $PKG/usr/share/mplayer/font
+ mkdir -p $PKG/etc/mplayer
+ mv mplayer.conf $PKG/etc/mplayer/
+ cd $name-*
+ patch -p1 < ../liba52_gcc44.patch
+ ./configure --prefix=/usr \
+ --confdir=/etc/mplayer \
+ --enable-largefiles \
+ --codecsdir=/usr/lib/codecs \
+ --mandir=/usr/share/man \
+ --disable-jack \
+ --disable-esd \
+ --enable-gui \
+ --disable-gl \
+ --disable-sdl \
+ --disable-ivtv \
+ --disable-arts \
+ --disable-smb \
+ --disable-dvdread-internal \
+ --enable-dvdnav
+ make
+ make DESTDIR=$PKG install
+
+
+ # Fonts
+ cd $PKG/usr/share/mplayer/font
+ for i in font-arial-14-iso-8859-1/*
+ do
+ ln -s $i
+ done
+
+ chown -R root:root $PKG
+ cd -
+ install -D -m644 ../mplayer.desktop \
+ $PKG/usr/share/ede/programs/Multimedia/mplayer.desktop
+}
+