2003-07-17 22:33:21 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-08-29 14:43:45 +00:00
|
|
|
envpkgs="$freetype $x11"
|
2003-08-18 19:52:54 +00:00
|
|
|
. $stdenv/setup || exit 1
|
2003-07-17 22:33:21 +00:00
|
|
|
|
|
|
|
tar xvfj $src || exit 1
|
|
|
|
tar xvfj $fonts || exit 1
|
|
|
|
cd MPlayer-* || exit 1
|
|
|
|
./configure --prefix=$out --with-win32libdir=$win32codecs \
|
2003-08-29 14:43:45 +00:00
|
|
|
--with-x11incdir=$x11/include --with-x11libdir=$x11/lib \
|
2003-07-17 22:33:21 +00:00
|
|
|
--with-reallibdir=$win32codecs \
|
|
|
|
--disable-sdl --disable-esd --disable-xanim --disable-cdparanoia --disable-directfb \
|
2003-07-21 20:09:54 +00:00
|
|
|
--disable-lirc --disable-svga --disable-libdv \
|
2003-07-25 20:43:25 +00:00
|
|
|
--disable-vorbis --disable-png --disable-jpeg --disable-gif \
|
|
|
|
--enable-runtime-cpudetection \
|
2003-07-17 22:33:21 +00:00
|
|
|
|| 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
|