3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/MPlayer/builder.sh
Eelco Dolstra c0506b8029 * Added libcaca.
* Libcaca support in MPlayer.
* Hopefully fix X11 detection in MPlayer.

svn path=/nixpkgs/trunk/; revision=3684
2005-08-24 15:02:30 +00:00

24 lines
490 B
Bash

. $stdenv/setup
# !!! Remove eventually.
export _POSIX2_VERSION=199209
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