wok-current rev 25186

mplayer-cli: disable-ffmpeg_a
author Hans-G?nter Theisgen
date Tue Jul 12 10:35:47 2022 +0100 (2022-07-12)
parents 27020defd5eb
children b5233e7be0ab
files mplayer-cli/receipt
line diff
     1.1 --- a/mplayer-cli/receipt	Tue Jul 12 09:50:00 2022 +0100
     1.2 +++ b/mplayer-cli/receipt	Tue Jul 12 10:35:47 2022 +0100
     1.3 @@ -14,11 +14,11 @@
     1.4  
     1.5  
     1.6  PROVIDE="mplayer"
     1.7 -DEPENDS="alsa-lib fontconfig gcc83-lib-base giflib libgnutls libpng libmad 
     1.8 -	libsdl libxml2 ncurses pcre xorg-libXdamage xorg-libXss xorg-libXv 
     1.9 -	xorg-libXxf86vm zlib"
    1.10 -BUILD_DEPENDS="alsa-lib-dev fontconfig-dev freetype-dev gcc83 giflib-dev 
    1.11 -	gnutls-dev libmad-dev libsdl-dev ncurses-dev pkg-config 
    1.12 +DEPENDS="alsa-lib ffmpeg fontconfig gcc83-lib-base giflib libgnutls libpng
    1.13 +	libmad libsdl libxml2 ncurses pcre xorg-libXdamage xorg-libXss
    1.14 +	xorg-libXv xorg-libXxf86vm zlib"
    1.15 +BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev fontconfig-dev freetype-dev gcc83
    1.16 +	giflib-dev gnutls-dev libmad-dev libsdl-dev ncurses-dev pkg-config 
    1.17  	xorg-libXdamage-dev xorg-libXv-dev xorg-libXxf86vm-dev 
    1.18  	xorg-xextproto yasm zlib-dev "
    1.19  
    1.20 @@ -52,6 +52,7 @@
    1.21  		--language="en de es fr it pl ru"	\
    1.22  		--enable-menu				\
    1.23  		--disable-mencoder			\
    1.24 +		--disable-ffmpeg_a			\
    1.25  		--disable-gl				\
    1.26  		--disable-jack				\
    1.27  		--disable-liblzo			\
    1.28 @@ -67,24 +68,30 @@
    1.29  		--disable-lircc				\
    1.30  		${ARCH_ARGS} &&
    1.31  	make $MAKEFLAGS &&
    1.32 -	make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d
    1.33 +	make install DESTDIR=$DESTDIR | sed '/install: strip: .*/'d
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr/share/mplayer
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 -	cp -a $install/etc $fs
    1.42 -	cp $src/etc/example.conf $fs/etc/mplayer
    1.43 +
    1.44 +	cp -a $install/usr/bin		$fs/usr
    1.45 +	cp -a $install/etc		$fs
    1.46 +	cp $src/etc/example.conf	$fs/etc/mplayer
    1.47 +
    1.48  	# Add /etc/mplayer/input.conf
    1.49 -	cp $stuff/input.conf $fs/etc/mplayer
    1.50 -	# Config
    1.51 -	cp $stuff/mplayer.conf $fs/etc/mplayer
    1.52 +	cp $stuff/input.conf		$fs/etc/mplayer
    1.53 +
    1.54 +	# Configuration
    1.55 +	cp $stuff/mplayer.conf		$fs/etc/mplayer
    1.56 +
    1.57  	# No-gui, OSD ($username@slitaz:~$ mplayer -menu filename)
    1.58  	mkdir -p $fs/usr/share/applications
    1.59 -	cp -f $stuff/mplayer.desktop $fs/usr/share/applications/mplayer.desktop
    1.60 -	cp $src/etc/*menu.conf $fs/etc/mplayer
    1.61 +	cp -f $stuff/mplayer.desktop	$fs/usr/share/applications/mplayer.desktop
    1.62 +	cp $src/etc/*menu.conf		$fs/etc/mplayer
    1.63 +
    1.64  	# Font
    1.65 -	cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.66 +	cd $fs/usr/share/mplayer &&
    1.67 +	ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.68  }