nixpkgs/pkgs/applications/video/MPlayer/builder.sh
Eelco Dolstra 03dca65e08 * MPlayer updated to 1.0pre8.
svn path=/nixpkgs/trunk/; revision=5498
2006-06-23 12:00:06 +00:00

21 lines
439 B
Bash

source $stdenv/setup
postUnpack() {
unpackFile $fonts
}
postUnpack=postUnpack
configureFlags="\
--with-win32libdir=$win32codecs \
--with-reallibdir=$win32codecs \
--enable-runtime-cpudetection \
--enable-x11 --with-x11incdir=/no-such-dir --with-x11libdir=/no-such-dir
$configureFlags"
postInstall() {
cp -p ../font-arial-iso-8859-1/font-arial-18-iso-8859-1/* $out/share/mplayer/font
}
postInstall=postInstall
genericBuild