wok rev 21622

updated mpv (0.18.1 -> 0.29.1)
author Hans-G?nter Theisgen
date Sun May 26 10:44:33 2019 +0100 (2019-05-26)
parents 042675028c83
children 642355b9b9fd
files mpv/receipt
line diff
     1.1 --- a/mpv/receipt	Sat May 25 13:23:29 2019 +0200
     1.2 +++ b/mpv/receipt	Sun May 26 10:44:33 2019 +0100
     1.3 @@ -1,31 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mpv"
     1.7 -VERSION="0.18.1"
     1.8 +VERSION="0.29.1"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Video player based on ffmpeg & mplayer2"
    1.11 +SHORT_DESC="Video player based on ffmpeg and mplayer2."
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://mpv.io"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://mpv.io"
    1.18  WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
    1.19  WAFTOOL="waf-1.8.12"
    1.20  EXTRA_SOURCE_FILES="$WAFTOOL"
    1.21  
    1.22 -DEPENDS="lcms xorg-libXv xorg-libX11 xorg-libXext glibc-base libxcb alsa-lib \
    1.23 -libsdl liblzma bzlib zlib libjpeg libv4l libdrm xorg-libXinerama \
    1.24 -xorg-libXrandr mesa libegl-mesa xorg-libXau xorg-libXdmcp libpng glib pcre \
    1.25 -libxml2 libtasn1 nettle gmp libtinfo xorg-libXrender xorg-libXdamage \
    1.26 -xorg-libXfixes libxcb xorg-libXxf86vm udev lua ffmpeg lame"
    1.27 -BUILD_DEPENDS="slitaz-base-files slitaz-toolchain busybox cookutils tazpkg \
    1.28 -cacerts openssl pkg-config wget libguess file sed yasm lcms2-dev \
    1.29 -xorg-libXv-dev xorg-libX11-dev xorg-libXext-dev glibc-dev libxcb-dev \
    1.30 -alsa-lib-dev libsdl-dev liblzma-dev bzlib zlib-dev jpeg-dev libv4l-dev \
    1.31 -libdrm-dev xorg-libXinerama-dev xorg-libXrandr-dev mesa-dev libegl-mesa \
    1.32 -xorg-libXau-dev xorg-libXdmcp-dev libpng-dev glib-dev pcre-dev libxml2-dev \
    1.33 -libtasn1-dev nettle-dev gmp-dev libtinfo xorg-libXrender-dev \
    1.34 -xorg-libXdamage-dev xorg-libXfixes-dev libxcb-dev xorg-libXxf86vm-dev udev-dev \
    1.35 -ffmpeg-dev lame-dev libgnutls"
    1.36 +DEPENDS="alsa-lib bzlib ffmpeg glib glibc-base gmp lame lcms libdrm \
    1.37 +	libegl-mesa libjpeg liblzma libpng libsdl libtasn1 libtinfo \
    1.38 +	libv4l libxcb libxml2 lua mesa nettle pcre udev xorg-libX11 \
    1.39 +	xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \
    1.40 +	xorg-libXxf86vm xorg-libXfixes xorg-libXinerama \
    1.41 +	xorg-libXrandr xorg-libXrender xorg-libXv zlib"
    1.42 +BUILD_DEPENDS="alsa-lib-dev bzlib cacerts ffmpeg-compat-dev ffmpeg-dev \
    1.43 +	file glib-dev glibc-dev gmp-dev jpeg-dev lame-dev lcms2-dev \
    1.44 +	libdrm-dev libegl-mesa libguess liblzma-dev libpng-dev \
    1.45 +	libsdl-dev libtasn1-dev libtinfo libv4l-dev libxcb-dev \
    1.46 +	libxml2-dev mesa-dev nettle-dev openssl pcre-dev pkg-config \
    1.47 +	udev-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \
    1.48 +	xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \
    1.49 +	xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXrender-dev \
    1.50 +	xorg-libXv-dev xorg-libXxf86vm-dev yasm zlib-dev"
    1.51  
    1.52  # Rules to configure and make the package.
    1.53  compile_rules()
    1.54 @@ -34,24 +36,25 @@
    1.55  		http://www.freehackers.org/~tnagy/release/$WAFTOOL
    1.56  	install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
    1.57  	./bootstrap.py
    1.58 -	./waf configure \
    1.59 -		--prefix=/usr \
    1.60 -		--confdir=/etc/mpv \
    1.61 -		--disable-debug \
    1.62 -		--disable-debug-build \
    1.63 -		--disable-oss-audio \
    1.64 -		--disable-manpage-build \
    1.65 -		--disable-libass
    1.66 -
    1.67 -	./waf build
    1.68 +	./waf configure			\
    1.69 +		--prefix=/usr		\
    1.70 +		--confdir=/etc/mpv	\
    1.71 +		--disable-debug		\
    1.72 +		--disable-debug-build	\
    1.73 +		--disable-gl		\
    1.74 +		--disable-oss-audio	\
    1.75 +		--disable-manpage-build	\
    1.76 +		--disable-libass &&
    1.77 +	./waf build &&
    1.78  	./waf install --destdir=$DESTDIR
    1.79  }
    1.80  
    1.81  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.82  genpkg_rules()
    1.83  {
    1.84 -	mkdir $install/etc
    1.85 -	mkdir $install/etc/mpv
    1.86 -	cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf $install/etc/mpv
    1.87 -	cp -a $install/* $fs
    1.88 +#	mkdir $install/etc
    1.89 +#	mkdir $install/etc/mpv
    1.90 +	cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf \
    1.91 +		$install/etc/mpv
    1.92 +	cp -a $install/*	$fs
    1.93  }