wok-next rev 21377

updated mplayer-cli (1.3.0 -> 1.4)
author Hans-G?nter Theisgen
date Thu Apr 16 14:36:04 2020 +0100 (2020-04-16)
parents 3024edbf8c9f
children 339809046c39
files mplayer-cli/receipt
line diff
     1.1 --- a/mplayer-cli/receipt	Thu Apr 16 14:12:03 2020 +0100
     1.2 +++ b/mplayer-cli/receipt	Thu Apr 16 14:36:04 2020 +0100
     1.3 @@ -1,67 +1,76 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="mplayer-cli"
     1.7 -VERSION="1.3.0"
     1.8 +VERSION="1.4"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="The Ultimate Movie Player For Linux (with minimal depends)"
    1.11 +SHORT_DESC="The Ultimate Movie Player For Linux (with minimal dependencies)"
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.15 +WEB_SITE="https://www.mplayerhq.hu/design7/news.html"
    1.16  REPOLOGY="mplayer"
    1.17  
    1.18  TARBALL="MPlayer-$VERSION.tar.xz"
    1.19 -WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.20 +WGET_URL="https://mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.21  
    1.22 -BUILD_DEPENDS="ncurses-dev libxv-dev alsa-lib-dev libxdamage-dev \
    1.23 -giflib-dev libxxf86vm-dev xorgproto freetype-dev fontconfig-dev \
    1.24 -zlib-dev yasm libmad-dev sdl-dev gnutls-dev"
    1.25 +BUILD_DEPENDS="alsa-lib-dev fontconfig-dev freetype-dev giflib-dev gnutls-dev 
    1.26 +	libmad-dev libxdamage-dev libxv-dev libxxf86vm-dev ncurses-dev sdl-dev 
    1.27 +	xorgproto yasm zlib-dev"
    1.28  
    1.29 -compile_rules() {
    1.30 +compile_rules()
    1.31 +{
    1.32  	case "$ARCH" in
    1.33  		i?86) ARCH_ARGS="--target=i486-linux --enable-runtime-cpudetection";;
    1.34  	esac
    1.35  
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--confdir=/etc/mplayer \
    1.39 -		--libdir=/usr/lib/mplayer \
    1.40 -		--language="en de es fr it pl ru" \
    1.41 -		--enable-menu \
    1.42 -		--disable-mencoder \
    1.43 -		--disable-gl \
    1.44 -		--disable-jack \
    1.45 -		--disable-liblzo \
    1.46 -		--disable-libdv \
    1.47 -		--disable-fribidi \
    1.48 -		--disable-ivtv \
    1.49 -		--disable-smb \
    1.50 -		--disable-openal \
    1.51 -		--disable-faac \
    1.52 -		--disable-speex \
    1.53 -		--disable-esd \
    1.54 -		--disable-lirc \
    1.55 -		--disable-lircc \
    1.56 +	./configure					\
    1.57 +		--prefix=/usr				\
    1.58 +		--confdir=/etc/mplayer			\
    1.59 +		--libdir=/usr/lib/mplayer		\
    1.60 +		--language="en de es fr it pl ru"	\
    1.61 +		--enable-menu				\
    1.62 +		--disable-mencoder			\
    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-openal			\
    1.71 +		--disable-faac				\
    1.72 +		--disable-speex				\
    1.73 +		--disable-esd				\
    1.74 +		--disable-lirc				\
    1.75 +		--disable-lircc				\
    1.76  		$ARCH_ARGS &&
    1.77  	make $MAKEFLAGS &&
    1.78  	make DESTDIR=$install install
    1.79  }
    1.80  
    1.81 -genpkg_rules() {
    1.82 +genpkg_rules()
    1.83 +{
    1.84  	mkdir -p $fs/usr/share/mplayer
    1.85 -	cp -a $install/usr/bin $fs/usr
    1.86 -	cp -a $install/etc $fs
    1.87 -	cp $src/etc/example.conf $fs/etc/mplayer
    1.88 +
    1.89 +	cp -a $install/usr/bin		$fs/usr
    1.90 +	cp -a $install/etc		$fs
    1.91 +	cp $src/etc/example.conf	$fs/etc/mplayer
    1.92 +
    1.93  	# Add /etc/mplayer/input.conf
    1.94 -	cp $stuff/input.conf $fs/etc/mplayer
    1.95 -	# Config
    1.96 -	cp $stuff/mplayer.conf $fs/etc/mplayer
    1.97 +	cp $stuff/input.conf		$fs/etc/mplayer
    1.98 +
    1.99 +	# Configuration
   1.100 +	cp $stuff/mplayer.conf		$fs/etc/mplayer
   1.101 +
   1.102  	# No-gui, OSD ($username@slitaz:~$ mplayer -menu filename)
   1.103  	mkdir -p $fs/usr/share/applications
   1.104 -	cp -f $stuff/mplayer.desktop $fs/usr/share/applications/mplayer.desktop
   1.105 -	cp $src/etc/*menu.conf $fs/etc/mplayer
   1.106 +	cp -f $stuff/mplayer.desktop	$fs/usr/share/applications/mplayer.desktop
   1.107 +	cp $src/etc/*menu.conf		$fs/etc/mplayer
   1.108 +
   1.109  	# Font
   1.110 -	cd $fs/usr/share/mplayer && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
   1.111 -	DEPENDS="alsa-lib libbzip2 fontconfig freetype giflib libgnutls libmad libpng \
   1.112 -	sdl ncurses libx11 libxext libxv libxxf86vm zlib"
   1.113 +	cd $fs/usr/share/mplayer &&
   1.114 +	ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
   1.115 +
   1.116 +	DEPENDS="alsa-lib fontconfig freetype giflib libgnutls libmad libpng 
   1.117 +		libbzip2 libx11 libxext libxv libxxf86vm ncurses sdl zlib"
   1.118  	PROVIDE="mplayer"
   1.119  }