wok-current rev 23010

updated libav (0.6.1 -> 0.6.6)
author Hans-G?nter Theisgen
date Tue Mar 03 08:54:13 2020 +0100 (2020-03-03)
parents c13c64d88162
children b0521093e1ea
files libav/receipt
line diff
     1.1 --- a/libav/receipt	Tue Mar 03 08:04:44 2020 +0100
     1.2 +++ b/libav/receipt	Tue Mar 03 08:54:13 2020 +0100
     1.3 @@ -1,42 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libav"
     1.7 -VERSION="0.6.1"
     1.8 +VERSION="0.6.6"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="clone of git://git.libav.org/libav"
    1.11 +SHORT_DESC="Audio and video conversion library."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
    1.14  WEB_SITE="https://www.libav.org/"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="git|git://github.com/andoma/libav.git"
    1.17 -BRANCH="v$VERSION"
    1.18 +
    1.19 +#TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 +#WGET_URL="git|git://github.com/andoma/libav.git"
    1.21 +#BRANCH="v$VERSION"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 +WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.24  
    1.25  DEPENDS="libsdl xorg-libXfixes zlib"
    1.26 -BUILD_DEPENDS="git coreutils-file-format \
    1.27 -libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
    1.28 -netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
    1.29 -libvpx-dev x264 xvidcore-dev \
    1.30 -zlib-dev bzlib binutils "
    1.31 +BUILD_DEPENDS="binutils bzlib coreutils-file-format faac-dev 
    1.32 +	faad2-dev lame-dev libsdl-dev libtheora-dev libvorbis-dev 
    1.33 +	libvpx-dev netatalk-dev nut opencore-amr-dev openjpeg-dev 
    1.34 +	schroedinger-dev speex-dev x264 xvidcore-dev zlib-dev"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39 -	./configure \
    1.40 -		--prefix=/usr \
    1.41 -		--enable-shared \
    1.42 -		--enable-gpl \
    1.43 -		--enable-nonfree \
    1.44 -		--enable-runtime-cpudetect \
    1.45 -		--disable-doc \
    1.46 -		--enable-postproc \
    1.47 -		--enable-avfilter \
    1.48 -		--enable-avfilter-lavf \
    1.49 -		--enable-pthreads \
    1.50 -		--enable-x11grab \
    1.51 -		--disable-debug \
    1.52 -		--arch=i486 \
    1.53 -		--cpu=i486 && \
    1.54 -	make && \
    1.55 +	./configure				\
    1.56 +		--prefix=/usr			\
    1.57 +		 --enable-avfilter		\
    1.58 +		 --enable-avfilter-lavf		\
    1.59 +		--disable-debug			\
    1.60 +		--disable-doc			\
    1.61 +		 --enable-gpl			\
    1.62 +		 --enable-nonfree		\
    1.63 +		 --enable-postproc		\
    1.64 +		 --enable-pthreads		\
    1.65 +		 --enable-runtime-cpudetect	\
    1.66 +		 --enable-shared		\
    1.67 +		 --enable-x11grab		\
    1.68 +		--arch=i486			\
    1.69 +		--cpu=i486 &&
    1.70 +	make &&
    1.71  	make install
    1.72  }
    1.73  
    1.74 @@ -44,7 +46,8 @@
    1.75  genpkg_rules()
    1.76  {
    1.77  	mkdir -p $fs/usr/lib
    1.78 -	cp -a $install/usr/bin $fs/usr
    1.79 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.80 -	cp -a $install/usr/share $fs/usr
    1.81 +
    1.82 +	cp -a $install/usr/bin		$fs/usr
    1.83 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.84 +	cp -a $install/usr/share	$fs/usr
    1.85  }