1 # hdw - linux mplayer package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] mplayer.tar.bz2 cvs:anonymous:mplayerhq.hu:cvsroot/mplayer:main
8 # [D] ffmpeg.tar.bz2 cvs:anonymous:mplayerhq.hu:cvsroot/ffmpeg:ffmpeg
9 # [D] win32codecs-20040703.tar.bz2 ftp://mplayerhq.hu/MPlayer/releases/codecs/
10 # [D] qt6dlls-20040626.tar.bz2 http://www.mplayerhq.hu/MPlayer/releases/codecs/
14 confopt="--prefix=$prefix --confdir=$sysconfdir --language=en"
15 confopt="$confopt --enable-linux-devfs --enable-fbdev"
16 confopt="$confopt --enable-xinerama --enable-directfb"
17 confopt="$confopt --with-win32libdir=$prefix/lib/win32codecs"
18 confopt="$confopt --enable-lirc"
19 #confopt_bug="--disable-freetype" # --disable-mpdvdkit"
20 confopt="$confopt $confopt_bug"
24 tar --use-compress-program=bzip2 -xvf \
25 $hdw_home_dir/download/multimedia/mplayer/ffmpeg.tar.bz2
27 cp -a ffmpeg/libavcodec/* libavcodec && rm -rf ffmpeg
30 cp ./etc/codecs.conf $root/etc/
32 # prepare win32 lib stuff
33 rm -rf $prefix/lib/win32codecs
35 tar --use-compress-program=bzip2 -xvf \
36 $archdir/win32codecs-20040703.tar.bz2 \
38 mv $prefix/lib/win32codecs-* $prefix/lib/win32codecs
39 tar --use-compress-program=bzip2 -xvf \
40 $archdir/qt6dlls-20040626.tar.bz2 \
42 mv $prefix/lib/qt6dlls-*/* $prefix/lib/win32codecs
43 rm -rf $prefix/lib/qt6dlls-*