wok-current rev 19804

mpv: maintainer's update
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Feb 26 05:06:21 2017 +0200 (2017-02-26)
parents 9ff2f1357917
children 3854832faad3
files mpv/receipt
line diff
     1.1 --- a/mpv/receipt	Sat Feb 25 22:29:29 2017 +0100
     1.2 +++ b/mpv/receipt	Sun Feb 26 05:06:21 2017 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="0.17.0"
     1.5  CATEGORY="multimedia"
     1.6  SHORT_DESC="Video player based on ffmpeg & mplayer2"
     1.7 -MAINTAINER="jurijlunjov@yandex.ru"
     1.8 +MAINTAINER="slitaz"
     1.9  LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://mpv.io"
    1.12 @@ -12,10 +12,18 @@
    1.13  WAFTOOL="waf-1.8.12"
    1.14  EXTRA_SOURCE_FILES="$WAFTOOL"
    1.15  
    1.16 -DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
    1.17 -libarchive alsa-lib enca fribidi lua ffmpeg openal"
    1.18 -BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
    1.19 -libarchive-dev enca-dev fribidi-dev alsa-lib-dev openal-dev"
    1.20 +DEPENDS="lcms xorg-libXv xorg-libX11 xorg-libXext glibc-base libxcb alsa-lib \
    1.21 +liblzma bzlib zlib libjpeg libv4l libdrm xorg-libXinerama xorg-libXrandr mesa \
    1.22 +libegl-mesa xorg-libXau xorg-libXdmcp libpng glib pcre libxml2 libtasn1 nettle \
    1.23 +gmp libtinfo xorg-libXrender xorg-libXdamage xorg-libXfixes libxcb \
    1.24 +xorg-libXxf86vm udev lua ffmpeg"
    1.25 +BUILD_DEPENDS="file sed yasm lcms2-dev xorg-libXv-dev xorg-libX11-dev \
    1.26 +xorg-libXext-dev glibc-dev libxcb-dev alsa-lib-dev liblzma-dev bzlib zlib-dev \
    1.27 +jpeg-dev libv4l-dev libdrm-dev xorg-libXinerama-dev xorg-libXrandr-dev \
    1.28 +mesa-dev libegl-mesa xorg-libXau-dev xorg-libXdmcp-dev libpng-dev glib-dev \
    1.29 +pcre-dev libxml2-dev libtasn1-dev nettle-dev gmp-dev libtinfo \
    1.30 +xorg-libXrender-dev xorg-libXdamage-dev xorg-libXfixes-dev libxcb-dev \
    1.31 +xorg-libXxf86vm-dev udev-dev ffmpeg-dev"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35 @@ -28,13 +36,11 @@
    1.36  		--prefix=/usr \
    1.37  		--confdir=/etc/mpv \
    1.38  		--enable-openal \
    1.39 -		--enable-zsh-comp \
    1.40  		--disable-debug \
    1.41 -		--enable-libarchive \
    1.42  		--disable-oss-audio \
    1.43 -		--disable-libass \
    1.44 -		--enable-libmpv-shared	
    1.45 -	
    1.46 +		--disable-manpage-build \
    1.47 +		--disable-libass
    1.48 +
    1.49  	./waf build
    1.50  	./waf install --destdir=$DESTDIR
    1.51  }
    1.52 @@ -42,5 +48,8 @@
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56 +	mkdir $install/etc
    1.57 +	mkdir $install/etc/mpv
    1.58 +	cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf $install/etc/mpv
    1.59  	cp -a $install/* $fs
    1.60  }