wok-current rev 23194

updated mpv (0.29.1 -> 0.32.0)
author Hans-G?nter Theisgen
date Fri Mar 20 15:35:35 2020 +0100 (2020-03-20)
parents b10d41313e54
children fadd1a998e4b
files mpv/receipt
line diff
     1.1 --- a/mpv/receipt	Fri Mar 20 15:21:15 2020 +0100
     1.2 +++ b/mpv/receipt	Fri Mar 20 15:35:35 2020 +0100
     1.3 @@ -1,15 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mpv"
     1.7 -VERSION="0.29.1"
     1.8 +VERSION="0.32.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Video player based on ffmpeg and mplayer2."
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://mpv.io"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
    1.18 +
    1.19  WAFTOOL="waf-1.8.12"
    1.20  EXTRA_SOURCE_FILES="$WAFTOOL"
    1.21  
    1.22 @@ -32,19 +33,22 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	[ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
    1.27 +	[ -s $SOURCES_REPOSITORY/$WAFTOOL ] ||
    1.28 +	wget -P $SOURCES_REPOSITORY \
    1.29  		http://www.freehackers.org/~tnagy/release/$WAFTOOL
    1.30  	install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
    1.31 -	./bootstrap.py
    1.32 +
    1.33 +#	./bootstrap.py	# needs python3 to fetch waf
    1.34 +
    1.35  	./waf configure			\
    1.36  		--prefix=/usr		\
    1.37  		--confdir=/etc/mpv	\
    1.38  		--disable-debug		\
    1.39  		--disable-debug-build	\
    1.40  		--disable-gl		\
    1.41 -		--disable-oss-audio	\
    1.42 +		--disable-libass	\
    1.43  		--disable-manpage-build	\
    1.44 -		--disable-libass &&
    1.45 +		--disable-oss-audio &&
    1.46  	./waf build &&
    1.47  	./waf install --destdir=$DESTDIR
    1.48  }
    1.49 @@ -55,6 +59,6 @@
    1.50  #	mkdir $install/etc
    1.51  #	mkdir $install/etc/mpv
    1.52  	cp $WOK/$PACKAGE/source/$PACKAGE-$VERSION/etc/*.conf \
    1.53 -		$install/etc/mpv
    1.54 +				$install/etc/mpv
    1.55  	cp -a $install/*	$fs
    1.56  }