wok-current diff libav/receipt @ rev 25422

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 17 07:09:31 2022 +0000 (2022-08-17)
parents fb22330086d8
children 7f7bd3c9775e
line diff
     1.1 --- a/libav/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.2 +++ b/libav/receipt	Wed Aug 17 07:09:31 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libav"
     1.7 -VERSION="0.6.6"
     1.8 +VERSION="12.3"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Audio and video conversion library."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -12,7 +12,8 @@
    1.13  #WGET_URL="git|git://github.com/andoma/libav.git"
    1.14  #BRANCH="v$VERSION"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.17 +#WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.18 +WGET_URL="https://github.com/libav/libav/archive/refs/tags/v$VERSION.tar.gz"
    1.19  
    1.20  DEPENDS="libsdl xorg-libXfixes zlib"
    1.21  BUILD_DEPENDS="binutils bzlib coreutils-file-format faac-dev 
    1.22 @@ -23,8 +24,8 @@
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25  {
    1.26 -	wget -O - $WEB_SITE 2>/dev/null | \
    1.27 -	sed '/Libav/!d;/<h/!d;s|.*Libav ||;s|<.*||;q'
    1.28 +	wget -O - https://github.com/libav/libav/tags 2>/dev/null | \
    1.29 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.30  }
    1.31  
    1.32  # Rules to configure and make the package.
    1.33 @@ -33,16 +34,13 @@
    1.34  	./configure				\
    1.35  		--prefix=/usr			\
    1.36  		 --enable-avfilter		\
    1.37 -		 --enable-avfilter-lavf		\
    1.38  		--disable-debug			\
    1.39  		--disable-doc			\
    1.40  		 --enable-gpl			\
    1.41  		 --enable-nonfree		\
    1.42 -		 --enable-postproc		\
    1.43  		 --enable-pthreads		\
    1.44  		 --enable-runtime-cpudetect	\
    1.45  		 --enable-shared		\
    1.46 -		 --enable-x11grab		\
    1.47  		--arch=i486			\
    1.48  		--cpu=i486 &&
    1.49  	make &&