wok-6.x diff mplayer-opt/receipt @ rev 17053

Up pcmanfm-qt using githash (bbb4bfd); mplayer:add osd
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Aug 20 21:52:40 2014 +0200 (2014-08-20)
parents 03f6246616fd
children 55abe1cb6b82
line diff
     1.1 --- a/mplayer-opt/receipt	Sun Aug 10 01:59:37 2014 +0200
     1.2 +++ b/mplayer-opt/receipt	Wed Aug 20 21:52:40 2014 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="1.1.1"
     1.5  CATEGORY="multimedia"
     1.6  SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="psychomaniak@xakep.ru"
     1.9  LICENSE="GPL2"
    1.10  SOURCE="MPlayer"
    1.11  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.12 @@ -13,13 +13,11 @@
    1.13  HOST_ARCH="i486 arm"
    1.14  
    1.15  DEPENDS="libmad xorg-libXv alsa-lib cdparanoia-III giflib ncurses \
    1.16 -libmng enca xorg-libXdamage xorg-libXxf86vm zlib xorg-libXss"
    1.17 +enca xorg-libXdamage xorg-libXxf86vm zlib xorg-libXss"
    1.18  BUILD_DEPENDS="libmad-dev xorg-libXv-dev alsa-lib-dev \
    1.19  ncurses-dev xorg-libXdamage-dev giflib-dev xorg-libXxf86vm-dev \
    1.20  audiofile-dev libogg-dev zlib-dev xorg-xextproto pkg-config yasm"
    1.21  
    1.22 -GENERIC_MENUS="no"
    1.23 -
    1.24  # Handle arch package install. Less deps and no GTK gui
    1.25  case "$SLITAZ_ARCH" in
    1.26  	arm*) 
    1.27 @@ -31,7 +29,7 @@
    1.28  case "$ARCH" in
    1.29  	i?86) 
    1.30  		ARCH_ARGS="--target=i486-linux --disable-sdl --enable-runtime-cpudetection" 
    1.31 -		BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev enca-dev libmng-dev" ;;
    1.32 +		BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev enca-dev" ;;
    1.33  	arm*) 
    1.34  		BUILD_DEPENDS="$BUILD_DEPENDS libsdl-dev" 
    1.35  		ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;;
    1.36 @@ -45,6 +43,7 @@
    1.37  		--confdir=/etc/mplayer \
    1.38  		--libdir=/usr/lib/mplayer \
    1.39  		--language="en de es fr it pl ru" \
    1.40 +		--enable-menu \
    1.41  		--disable-mencoder \
    1.42  		--disable-gl \
    1.43  		--disable-jack \
    1.44 @@ -72,16 +71,11 @@
    1.45  	cp $src/etc/example.conf $fs/etc/mplayer
    1.46  	# Add /etc/mplayer/input.conf
    1.47  	cp $stuff/input.conf $fs/etc/mplayer
    1.48 -	# Config to use Xv by default.
    1.49 +	# Config
    1.50  	cp $stuff/mplayer.conf $fs/etc/mplayer
    1.51 -	# No-gui
    1.52 +	# No-gui, OSD ($username@slitaz:~$ mplayer -menu filename)
    1.53  	cp $stuff/mplayer.desktop $fs/usr/share/applications
    1.54 +	cp $WOK/$SOURCE/etc/input.conf $fs/etc/mplayer
    1.55  	# Font
    1.56  	cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.57 -	# Xv support dont work for ARM and gmplayer symlink not created
    1.58 -	case "$ARCH" in
    1.59 -		arm*)
    1.60 -			cp -f $stuff/mplayer-arm.conf $fs/etc/mplayer/mplayer.conf 
    1.61 -			cd $fs/usr/bin && ln -s mplayer gmplayer ;;
    1.62 -	esac
    1.63  }