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] all-20050412.tar.bz2 http://www2.mplayerhq.hu/MPlayer/releases/codecs/
14 confopt="--prefix=$prefix --confdir=$sysconfdir --language=en"
15 confopt="$confopt --enable-gui --enable-tv-v4l2"
16 confopt="$confopt --enable-linux-devfs --enable-fbdev"
17 confopt="$confopt --enable-xinerama --enable-directfb"
18 confopt="$confopt --with-win32libdir=$prefix/lib/win32codecs"
19 confopt="$confopt --enable-lirc"
20 #confopt_bug="--disable-freetype" # --disable-mpdvdkit"
21 confopt="$confopt $confopt_bug"
25 tar --use-compress-program=bzip2 -xvf \
26 $hdw_home_dir/download/multimedia/mplayer/ffmpeg.tar.bz2
27 mkdir -p libavcodec libavutil libavformat
28 cp -a ffmpeg/libavcodec/* libavcodec
29 cp -a ffmpeg/libavutil/* libavutil
30 cp -a ffmpeg/libavformat/* libavformat
34 cp ./etc/codecs.conf $root/etc/
36 # prepare win32 lib stuff
37 rm -rf $prefix/lib/win32codecs
39 tar --use-compress-program=bzip2 -xvf \
40 $archdir/all-${codecs_ver}.tar.bz2 \
42 mv $prefix/lib/all-${codecs_ver} $prefix/lib/win32codecs