wok-current rev 5035
Up:mplayer-svn;improve compile_options; reduce deps and size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 03 11:21:08 2010 +0000 (2010-03-03) |
parents | 7dc01a8df1df |
children | ee71defcb545 |
files | mplayer-svn/receipt |
line diff
1.1 --- a/mplayer-svn/receipt Wed Mar 03 11:58:08 2010 +0100 1.2 +++ b/mplayer-svn/receipt Wed Mar 03 11:21:08 2010 +0000 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mplayer-svn" 1.7 -VERSION="30605" 1.8 +VERSION="30817" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Mplayer SVN version" 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora lame libv4l giflib \ 1.13 -xorg-libXss xorg-libXxf86vm enca faac libmng alsa-lib bzlib" 1.14 -BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev ffmpeg-dev subversion" 1.15 +MAINTAINER="jozee@slitaz.org" 1.16 +DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora lame giflib \ 1.17 +xorg-libXss xorg-libXxf86vm alsa-lib bzlib" 1.18 +SUGGESTED="libv4l" 1.19 +BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev subversion" 1.20 SUGGESTED="" 1.21 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 1.22 PROVIDES="mplayer" 1.23 @@ -22,41 +23,33 @@ 1.24 # To compile with in-built ffmpeg (and double the size of pkg), remove from 1.25 # compile options: 1.26 # --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a 1.27 -# --disable-libpostproc_a --disable-libswscale_a 1.28 -# --disable-tv --disable-radio-v4l2 --disable-v4l2 1.29 +# --disable-libpostproc_a --disable-libswscale_a --disable-libavcodec_mpegaudio_hp 1.30 1.31 compile_rules() 1.32 { 1.33 [ -d $PACKAGE-$VERSION ] || svn checkout -r $VERSION \ 1.34 svn://svn.mplayerhq.hu/mplayer/trunk $PACKAGE-$VERSION 1.35 cd $src 1.36 + # disable unwanted features, remote control, streaming, networking, unwanted codecs, 1.37 + # disable video outputs, audio outputs, some advanced options 1.38 ./configure \ 1.39 --prefix=/usr \ 1.40 --confdir=/etc/mplayer \ 1.41 --libdir=/usr/lib/mplayer \ 1.42 - --disable-largefiles \ 1.43 - --disable-mmx --disable-mmxext \ 1.44 - --disable-3dnow --disable-3dnowext \ 1.45 - --disable-sse --disable-sse2 --disable-ssse3 \ 1.46 - --disable-fastmemcpy \ 1.47 + --enable-gui --enable-freetype \ 1.48 --language="en de es fr" \ 1.49 - --disable-gl \ 1.50 - --disable-sdl \ 1.51 - --disable-jack \ 1.52 - --disable-liblzo \ 1.53 - --disable-libdv \ 1.54 - --disable-speex \ 1.55 - --disable-openal \ 1.56 - --disable-faad \ 1.57 - --disable-libavcodec_mpegaudio_hp \ 1.58 - --disable-fribidi \ 1.59 --target=i386-linux \ 1.60 - --disable-dvdnav \ 1.61 - --disable-esd --disable-mga \ 1.62 + --disable-largefiles --disable-dvdnav --disable-pvr --disable-enca --disable-fribidi --disable-maemo \ 1.63 --disable-lirc --disable-lircc \ 1.64 - --disable-smb --disable-nemesi \ 1.65 - --disable-nas --disable-vdpau \ 1.66 - --enable-gui --enable-freetype && 1.67 + --disable-nemesi --disable-vstream \ 1.68 + --disable-smb --disable-network --disable-live \ 1.69 + --disable-speex --disable-mng --disable-liblzo --disable-faad --disable-faad-internal \ 1.70 + --disable-libdv --disable-faac --disable-faac-lavc --disable-ladspa --disable-libbs2b \ 1.71 + --disable-libdca --disable-musepack \ 1.72 + --disable-gl --disable-vdpau --disable-directfb --disable-sdl --disable-mga \ 1.73 + --disable-jack --disable-pulse --disable-ossaudio --disable-openal --disable-nas --disable-esd \ 1.74 + --disable-mmx --disable-mmxext --disable-3dnow --disable-3dnowext \ 1.75 + --disable-sse --disable-sse2 --disable-ssse3 --disable-fastmemcpy && 1.76 make && 1.77 make DESTDIR=$PWD/_pkg install 1.78 } 1.79 @@ -69,6 +62,7 @@ 1.80 # Mencoder goes in a splited package. 1.81 rm $fs/usr/bin/mencoder 1.82 cp -a $_pkg/usr/share/mplayer $fs/usr/share 1.83 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.84 cp -a $_pkg/etc $fs 1.85 cp $src/etc/example.conf $fs/etc/mplayer 1.86 # Config to use Xv by default.