wok-6.x diff mpv/receipt @ rev 23853

Up alsa-utils (1.2.2)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jun 15 17:30:36 2020 -0400 (2020-06-15)
parents a1ba148cfa9a
children 5ea0ce1cecc0
line diff
     1.1 --- a/mpv/receipt	Sun May 26 10:44:33 2019 +0100
     1.2 +++ b/mpv/receipt	Mon Jun 15 17:30:36 2020 -0400
     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  }