wok-next rev 21376

updated mplayer (1.1.1 -> 1.4)
author Hans-G?nter Theisgen
date Thu Apr 16 14:12:03 2020 +0100 (2020-04-16)
parents 3f182baf7f98
children 290f11b09d41
files moosefs/receipt mplayer/receipt
line diff
     1.1 --- a/moosefs/receipt	Thu Apr 16 13:45:16 2020 +0100
     1.2 +++ b/moosefs/receipt	Thu Apr 16 14:12:03 2020 +0100
     1.3 @@ -15,9 +15,10 @@
     1.4  
     1.5  compile_rules()
     1.6  {
     1.7 -	sed -i 's/bash/sh/' mfsmount/mfssnapshot
     1.8 +#	sed -i 's/bash/sh/' mfsmount/mfssnapshot
     1.9  
    1.10  	./configure $CONFIGURE_ARGS &&
    1.11 +	fix libtool &&
    1.12  	make &&
    1.13  	make DESTDIR=$install install
    1.14  }
     2.1 --- a/mplayer/receipt	Thu Apr 16 13:45:16 2020 +0100
     2.2 +++ b/mplayer/receipt	Thu Apr 16 14:12:03 2020 +0100
     2.3 @@ -1,24 +1,25 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="mplayer"
     2.7 -VERSION="1.1.1"
     2.8 +VERSION="1.4"
     2.9  CATEGORY="multimedia"
    2.10  SHORT_DESC="The Ultimate Movie Player For Linux"
    2.11 -MAINTAINER="devel@slitaz.org"
    2.12 +MAINTAINER="maintainer@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    2.15 +WEB_SITE="https://www.mplayerhq.hu/design7/news.html"
    2.16  
    2.17  TARBALL="MPlayer-$VERSION.tar.xz"
    2.18 -WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    2.19 +WGET_URL="https://mplayerhq.hu/MPlayer/releases/$TARBALL"
    2.20  
    2.21 -BUILD_DEPENDS="gtk2-dev libmad-dev libxv-dev libtheora-dev \
    2.22 -alsa-lib-dev ncurses-dev lame-dev libxdamage-dev giflib-dev \
    2.23 -libxxf86vm-dev esound-dev audiofile-dev libogg-dev libvorbis-dev \
    2.24 -xvidcore-dev zlib-dev xorgproto yasm cdparanoia-dev \
    2.25 -x264-dev enca-dev libmng-dev lirc-dev"
    2.26 +BUILD_DEPENDS="alsa-lib-dev audiofile-dev cdparanoia-dev enca-dev 
    2.27 +	esound-dev giflib-dev gtk2-dev lame-dev libmad-dev libmng-dev 
    2.28 +	libogg-dev libtheora-dev libvorbis-dev libxdamage-dev 
    2.29 +	libxv-dev libxxf86vm-dev lirc-dev ncurses-dev x264-dev 
    2.30 +	xorgproto xvidcore-dev yasm zlib-dev"
    2.31  SPLIT="mencoder"
    2.32  
    2.33 -compile_rules() {
    2.34 +compile_rules()
    2.35 +{
    2.36  	# Handle cross compilation. Host coreutils-file-* are used
    2.37  	case "$ARCH" in
    2.38  		i?86)
    2.39 @@ -26,58 +27,64 @@
    2.40  			;;
    2.41  	esac
    2.42  
    2.43 -	./configure \
    2.44 -		--prefix=/usr \
    2.45 -		--confdir=/etc/mplayer \
    2.46 -		--libdir=/usr/lib/mplayer \
    2.47 -		--enable-gui \
    2.48 -		--language="en de es fr it ru" \
    2.49 -		--disable-gl \
    2.50 -		--disable-jack \
    2.51 -		--disable-liblzo \
    2.52 -		--disable-libdv \
    2.53 -		--disable-fribidi \
    2.54 -		--disable-ivtv \
    2.55 -		--disable-smb \
    2.56 -		--disable-ftp \
    2.57 -		--disable-openal \
    2.58 -		--disable-faac \
    2.59 -		--disable-speex \
    2.60 +	./configure				\
    2.61 +		--prefix=/usr			\
    2.62 +		--confdir=/etc/mplayer		\
    2.63 +		--libdir=/usr/lib/mplayer	\
    2.64 +		--enable-gui			\
    2.65 +		--language="en de es fr it ru"	\
    2.66 +		--disable-gl			\
    2.67 +		--disable-jack			\
    2.68 +		--disable-liblzo		\
    2.69 +		--disable-libdv			\
    2.70 +		--disable-fribidi		\
    2.71 +		--disable-ivtv			\
    2.72 +		--disable-smb			\
    2.73 +		--disable-ftp			\
    2.74 +		--disable-openal		\
    2.75 +		--disable-faac			\
    2.76 +		--disable-speex			\
    2.77  		${ARCH_ARGS} &&
    2.78  	make $MAKEFLAGS &&
    2.79  	make DESTDIR=$install install
    2.80  }
    2.81  
    2.82 -genpkg_rules() {
    2.83 +genpkg_rules()
    2.84 +{
    2.85  	case $PACKAGE in
    2.86  		mplayer)
    2.87  			mkdir -p $fs/usr/share/mplayer/skins
    2.88 -			cp -a $install/usr/bin $fs/usr
    2.89 -			# Mencoder goes in a splited package.
    2.90 +			cp -a $install/usr/bin	$fs/usr
    2.91 +
    2.92 +			# Mencoder goes in a splitted package.
    2.93  			rm $fs/usr/bin/mencoder
    2.94  			[ -d "$install/usr/share/mplayer" ] &&
    2.95 -				cp -a $install/usr/share/mplayer $fs/usr/share
    2.96 -			cp -a $install/etc $fs
    2.97 -			cp $src/etc/example.conf $fs/etc/mplayer
    2.98 -			# Config to use Xv by default.
    2.99 +			cp -a $install/usr/share/mplayer $fs/usr/share
   2.100 +			cp -a $install/etc		$fs
   2.101 +			cp $src/etc/example.conf	$fs/etc/mplayer
   2.102 +
   2.103 +			# Configure to use Xv by default.
   2.104  			cp $stuff/mplayer.conf $fs/etc/mplayer
   2.105 +
   2.106  			# default skin
   2.107  			tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
   2.108  			cd $fs/usr/share/mplayer/skins && ln -s productive default
   2.109 +
   2.110  			# Font
   2.111  			cd ..
   2.112  			ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
   2.113 -			DEPENDS="gtk2 cdparanoia libmad libxv libtheora alsa-lib \
   2.114 -			ncurses lame libxdamage giflib enca lirc libxxf86vm \
   2.115 -			esound libmng audiofile libvorbis libogg zlib xvidcore x264 \
   2.116 -			libxscrnsaver"
   2.117 +
   2.118 +			DEPENDS="alsa-lib audiofile cdparanoia enca esound giflib gtk2 lame 
   2.119 +			libmad libmng libogg libtheora libxdamage libxscrnsaver libxxf86vm 
   2.120 +			libvorbis libxv lirc ncurses x264 xvidcore zlib"
   2.121  			;;
   2.122  		mencoder)
   2.123  			copy /usr/bin/mencoder
   2.124  			CAT="multimedia|video and movie encoder"
   2.125 -			DEPENDS="libtheora alsa-lib cdparanoia expat libogg libvorbis \
   2.126 -			fontconfig freetype x264 xvidcore jpeg libmad ncurses zlib lame \
   2.127 -			libpng giflib enca lirc"
   2.128 +
   2.129 +			DEPENDS="alsa-lib cdparanoia enca expat fontconfig freetype giflib 
   2.130 +			jpeg lame libmad libogg libpng libtheora libvorbis lirc ncurses 
   2.131 +			x264 xvidcore zlib"
   2.132  			;;
   2.133  	esac
   2.134  }