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