forked from mirrors/nixpkgs
eef0deb633
This makes the system package fully nixified in the sense that for i in $(nix -qn $(fix system/system-template-everything.fix))/bin/*; \ do echo $i; ldd $i; done shows that the programs in the system package only link against libraries in the Nix store. (Some builders still use header files from /usr/X11/include, though.) svn path=/nixpkgs/trunk/; revision=376
20 lines
663 B
Bash
Executable file
20 lines
663 B
Bash
Executable file
#! /bin/sh
|
|
|
|
envpkgs="$freetype $x11"
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $src || exit 1
|
|
tar xvfj $fonts || exit 1
|
|
cd MPlayer-* || exit 1
|
|
./configure --prefix=$out --with-win32libdir=$win32codecs \
|
|
--with-x11incdir=$x11/include --with-x11libdir=$x11/lib \
|
|
--with-reallibdir=$win32codecs \
|
|
--disable-sdl --disable-esd --disable-xanim --disable-cdparanoia --disable-directfb \
|
|
--disable-lirc --disable-svga --disable-libdv \
|
|
--disable-vorbis --disable-png --disable-jpeg --disable-gif \
|
|
--enable-runtime-cpudetection \
|
|
|| exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
cp -p ../font-arial-iso-8859-1/font-arial-18-iso-8859-1/* $out/share/mplayer/font || exit 1
|