wok rev 25183

mplayer: disable-ffmpeg_a
author Hans-G?nter Theisgen
date Tue Jul 12 09:33:04 2022 +0100 (2022-07-12)
parents 3e674183c1e0
children f5616184eba2
files mplayer/receipt
line diff
     1.1 --- a/mplayer/receipt	Sun Jul 10 07:05:28 2022 +0100
     1.2 +++ b/mplayer/receipt	Tue Jul 12 09:33:04 2022 +0100
     1.3 @@ -6,21 +6,23 @@
     1.4  SHORT_DESC="The Ultimate Movie Player For Linux."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
     1.8 +
     1.9  SOURCE="MPlayer"
    1.10  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.11 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.12  WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.13 +
    1.14  HOST_ARCH="i486 arm"
    1.15  
    1.16  # Dont forget to update all related pkgs
    1.17  RELATED="mplayer-codecs mencoder" 
    1.18 -DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
    1.19 -lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
    1.20 -libvorbis libogg zlib xvidcore x264 xorg-libXss gcc83-lib-base libdvdnav libdvdread"
    1.21 -BUILD_DEPENDS="gtk+-dev libmad-dev xorg-libXv-dev libtheora-dev \
    1.22 -alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev giflib-dev \
    1.23 -xorg-libXxf86vm-dev esound-dev audiofile-dev libogg-dev libvorbis-dev \
    1.24 -xvidcore-dev zlib-dev xorg-xextproto pkg-config yasm gcc83 libdvdnav-dev libdvdread-dev"
    1.25 +DEPENDS="alsa-lib audiofile enca esound ncurses cdparanoia-III gcc83-lib-base giflib gtk+
    1.26 +	lame libdvdnav libdvdread libmad libmng libogg libtheora libvorbis lirc x264
    1.27 +	xorg-libXdamage xorg-libXss xorg-libXv xorg-libXxf86vm xvidcore zlib"
    1.28 +BUILD_DEPENDS="alsa-lib-dev audiofile-dev esound-dev gcc83 giflib-dev gtk+-dev lame-dev
    1.29 +	libdvdnav-dev libdvdread-dev libmad-dev libogg-dev libtheora-dev libvorbis-dev
    1.30 +	ncurses-dev pkg-config xorg-libXdamage-dev xorg-libXv-dev xorg-libXxf86vm-dev
    1.31 +	xorg-xextproto xvidcore-dev yasm zlib-dev"
    1.32  
    1.33  # Handle arch package install. Less deps and no GTK gui for ARM
    1.34  case "$SLITAZ_ARCH" in
    1.35 @@ -53,41 +55,42 @@
    1.36  {
    1.37  	export	CC=gcc-83
    1.38  	export	CXX=g++-83
    1.39 -	./configure \
    1.40 -		--prefix=/usr \
    1.41 -		--confdir=/etc/mplayer \
    1.42 -		--libdir=/usr/lib/mplayer \
    1.43 -		--enable-gui \
    1.44 -		--language="en de es fr it ru" \
    1.45 -		--disable-gl \
    1.46 -		--disable-jack \
    1.47 -		--disable-liblzo \
    1.48 -		--disable-libdv \
    1.49 -		--disable-fribidi \
    1.50 -		--disable-ivtv \
    1.51 -		--disable-smb \
    1.52 -		--disable-ftp \
    1.53 -		--disable-openal \
    1.54 -		--disable-faac \
    1.55 -		--disable-speex \
    1.56 +	./configure				\
    1.57 +		--prefix=/usr			\
    1.58 +		--confdir=/etc/mplayer		\
    1.59 +		--libdir=/usr/lib/mplayer	\
    1.60 +		--enable-gui			\
    1.61 +		--language="en de es fr it ru"	\
    1.62 +		--disable_ffmpeg_a		\
    1.63 +		--disable-gl			\
    1.64 +		--disable-jack			\
    1.65 +		--disable-liblzo		\
    1.66 +		--disable-libdv			\
    1.67 +		--disable-fribidi		\
    1.68 +		--disable-ivtv			\
    1.69 +		--disable-smb			\
    1.70 +		--disable-ftp			\
    1.71 +		--disable-openal		\
    1.72 +		--disable-faac			\
    1.73 +		--disable-speex			\
    1.74  		${ARCH_ARGS} &&
    1.75  	make $MAKEFLAGS &&
    1.76 -	make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d
    1.77 +	make install DESTDIR=$DESTDIR | sed '/install: strip: .*/'d
    1.78  }
    1.79  
    1.80  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.81  genpkg_rules()
    1.82  {
    1.83  	mkdir -p $fs/usr/share/mplayer/skins
    1.84 -	cp -a $install/usr/bin $fs/usr
    1.85 -	# Mencoder goes in a splited package.
    1.86 -	rm $fs/usr/bin/mencoder
    1.87 -	[ -d "$install/usr/share/mplayer" ] && \
    1.88 -		cp -a $install/usr/share/mplayer $fs/usr/share
    1.89 -	cp -a $install/etc $fs
    1.90 -	cp $src/etc/example.conf $fs/etc/mplayer
    1.91 -	# Config to use Xv by default.
    1.92 -	cp $stuff/mplayer.conf $fs/etc/mplayer
    1.93 +	cp -a $install/usr/bin			$fs/usr
    1.94 +	# Mencoder goes in a splitted package.
    1.95 +	rm					$fs/usr/bin/mencoder
    1.96 +	[ -d "$install/usr/share/mplayer" ] &&
    1.97 +	cp -a $install/usr/share/mplayer	$fs/usr/share
    1.98 +	cp -a $install/etc			$fs
    1.99 +	cp $src/etc/example.conf		$fs/etc/mplayer
   1.100 +	# Configuration to use Xv by default.
   1.101 +	cp $stuff/mplayer.conf			$fs/etc/mplayer
   1.102  	# default skin
   1.103  	tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
   1.104  	cd $fs/usr/share/mplayer/skins && ln -s productive default
   1.105 @@ -99,4 +102,4 @@
   1.106  			cp -f $stuff/mplayer-arm.conf $fs/etc/mplayer/mplayer.conf 
   1.107  			cd $fs/usr/bin && ln -s mplayer gmplayer ;;
   1.108  	esac
   1.109 -}
   1.110 \ No newline at end of file
   1.111 +}