wok-next diff mplayer/receipt @ rev 13075

Up: activerecord to 3.2.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 25 08:37:06 2012 +0000 (2012-06-25)
parents af9a1b47948c
children bb009a6ef036
line diff
     1.1 --- a/mplayer/receipt	Tue Jan 24 22:51:41 2012 +0100
     1.2 +++ b/mplayer/receipt	Mon Jun 25 08:37:06 2012 +0000
     1.3 @@ -1,20 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mplayer"
     1.7 -VERSION="1.0rc4"
     1.8 +VERSION="1.1"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="The Ultimate Movie Player For Linux."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 +SOURCE="MPlayer"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.15 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.16 +
    1.17  DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
    1.18  lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
    1.19  libvorbis libogg xvidcore x264 zlib xorg-libXss"
    1.20 -BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev alsa-lib-dev ncurses-dev \
    1.21 -lame-dev xorg-libXdamage-dev giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
    1.22 -audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev xorg-xextproto pkg-config"
    1.23 -SOURCE="MPlayer"
    1.24 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.25 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.26 -WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    1.27 +BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \
    1.28 +libtheora-dev alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev \
    1.29 +giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
    1.30 +audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev \
    1.31 +xorg-xextproto pkg-config yasm"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35 @@ -25,7 +28,7 @@
    1.36  		--confdir=/etc/mplayer \
    1.37  		--libdir=/usr/lib/mplayer \
    1.38  		--target=i386-linux \
    1.39 -		--language="en de es fr" \
    1.40 +		--language="en de es fr it ru" \
    1.41  		--disable-mmx \
    1.42  		--disable-mmxext \
    1.43  		--disable-3dnow \
    1.44 @@ -48,24 +51,23 @@
    1.45  		--disable-speex \
    1.46  		--enable-gui &&
    1.47  	make $MAKEFLAGS &&
    1.48 -	make DESTDIR=$PWD/_pkg install
    1.49 +	make DESTDIR=$DESTDIR install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr/share/applications
    1.56 -	cp -a $stuff/mplayer.desktop $fs/usr/share/applications
    1.57 -	cp -a $_pkg/usr/bin $fs/usr
    1.58 +	mkdir -p $fs/usr/share
    1.59 +	cp -a $install/usr/bin $fs/usr
    1.60  	# Mencoder goes in a splited package.
    1.61  	rm $fs/usr/bin/mencoder
    1.62 -	cp -a $_pkg/usr/share/mplayer $fs/usr/share
    1.63 -	cp -a $_pkg/etc $fs
    1.64 +	cp -a $install/usr/share/mplayer $fs/usr/share
    1.65 +	cp -a $install/etc $fs
    1.66  	cp $src/etc/example.conf $fs/etc/mplayer
    1.67 -	# Confi to use Xv by default.
    1.68 -	cp stuff/mplayer.conf $fs/etc/mplayer
    1.69 +	# Config to use Xv by default.
    1.70 +	cp $stuff/mplayer.conf $fs/etc/mplayer
    1.71  	# default skin
    1.72 -	tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    1.73 +	tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    1.74  	cd $fs/usr/share/mplayer/skins && ln -s productive default
    1.75  	# Font
    1.76  	cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf