wok diff ffmpeg/receipt @ rev 21846

updated rox packages again (2.8 -> 2.11)
author Hans-G?nter Theisgen
date Sun Sep 15 11:17:50 2019 +0100 (2019-09-15)
parents d37d15244372
children a449793b9af3
line diff
     1.1 --- a/ffmpeg/receipt	Sat Dec 15 09:20:58 2018 +0100
     1.2 +++ b/ffmpeg/receipt	Sun Sep 15 11:17:50 2019 +0100
     1.3 @@ -1,30 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ffmpeg"
     1.7 -VERSION="2.8.10"
     1.8 +VERSION="4.1.3"
     1.9  CATEGORY="multimedia"
    1.10 +TAGS="audio video convert stream"
    1.11  SHORT_DESC="Record, convert and stream audio and video."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2.1"
    1.14 -WEB_SITE="http://ffmpeg.org/"
    1.15 +WEB_SITE="https://ffmpeg.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.19 +
    1.20 +SUGGESTED="ffplay"
    1.21 +DEPENDS="alsa-lib bzip2 gnutls harfbuzz lame libsdl2 libtasn1 libvorbis \
    1.22 +	libvpx nettle opus pcre rtmpdump x264 x265 xorg-libXau \
    1.23 +	xorg-libXdmcp zlib"
    1.24 +BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special \
    1.25 +	gnutls-dev harfbuzz-dev lame-dev libgnutls libsdl2-dev \
    1.26 +	libvorbis-dev libvpx-dev nettle-dev opus-dev pcre-dev \
    1.27 +	rtmpdump-dev x264-dev x265-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.28 +	yasm zlib-dev"
    1.29 +
    1.30  HOST_ARCH="i486 arm"
    1.31  
    1.32 -SUGGESTED="ffplay"
    1.33 -TAGS="audio video convert stream"
    1.34 -
    1.35 -DEPENDS="alsa-lib libsdl bzip2 zlib libvorbis x264 x265 gnutls libvpx opus \
    1.36 -lame rtmpdump harfbuzz xorg-libXau xorg-libXdmcp pcre libtasn1 nettle"
    1.37 -BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
    1.38 -libvorbis-dev x264-dev x265-dev gnutls-dev libvpx-dev opus-dev lame-dev \
    1.39 -rtmpdump-dev harfbuzz-dev xorg-libXau-dev xorg-libXdmcp-dev pcre-dev \
    1.40 -nettle-dev coreutils-file-special yasm libgnutls"
    1.41 -
    1.42  case "$SLITAZ_ARCH" in
    1.43 -	arm*) DEPENDS="alsa-lib libsdl bzip2 zlib libvorbis x264 x265 gnutls \
    1.44 -		libvpx opus lame rtmpdump harfbuzz xorg-libXau xorg-libXdmcp \
    1.45 -		pcre libtasn1 nettle" ;;
    1.46 +	arm*) DEPENDS="alsa-lib bzip2 gnutls harfbuzz lame libsdl2 libvorbis \
    1.47 +		libtasn1 libvpx nettle opus pcre rtmpdump x264 x265 \
    1.48 +		xorg-libXau xorg-libXdmcp zlib" ;;
    1.49  esac
    1.50  
    1.51  # Handle cross compilation. Host coreutils-file-* are used
    1.52 @@ -32,7 +35,7 @@
    1.53  	i?86) 
    1.54  		ARCH_ARGS="--arch=$ARCH --cpu=$ARCH" ;;
    1.55  	arm*) 
    1.56 -		BUILD_DEPENDS="zlib-dev bzip2-dev yasm" 
    1.57 +		BUILD_DEPENDS="bzip2-dev yasm zlib-dev" 
    1.58  		ARCH_ARGS="--enable-cross-compile --arch=armel --target-os=linux \
    1.59  		--cross-prefix=$HOST_SYSTEM-" ;;
    1.60  esac
    1.61 @@ -40,23 +43,24 @@
    1.62  # Rules to configure and make the package.
    1.63  compile_rules()
    1.64  {
    1.65 -	./configure \
    1.66 -		--prefix=/usr \
    1.67 -		--enable-gpl \
    1.68 -		--enable-nonfree \
    1.69 -		--enable-shared \
    1.70 -		--disable-static \
    1.71 -		--disable-doc \
    1.72 -		--enable-libfreetype \
    1.73 -		--enable-libmp3lame \
    1.74 -		--enable-libopus \
    1.75 -		--enable-libvorbis \
    1.76 -		--enable-libvpx \
    1.77 -		--enable-libx264 \
    1.78 -		--enable-libx265 \
    1.79 -		--enable-gnutls \
    1.80 +	./configure			\
    1.81 +		--prefix=/usr		\
    1.82 +		--enable-gpl		\
    1.83 +		--enable-nonfree	\
    1.84 +		--enable-shared		\
    1.85 +		--disable-static	\
    1.86 +		--disable-doc		\
    1.87 +		--enable-libfreetype	\
    1.88 +		--enable-libmp3lame	\
    1.89 +		--enable-libopus	\
    1.90 +		--enable-libvorbis	\
    1.91 +		--enable-libvpx		\
    1.92 +		--enable-libx264	\
    1.93 +		--enable-libx265	\
    1.94 +		--enable-gnutls		\
    1.95  		${ARCH_ARGS} &&
    1.96 -	make && make install
    1.97 +	make &&
    1.98 +	make install
    1.99  }
   1.100  
   1.101  # Rules to gen a SliTaz package suitable for Tazpkg.
   1.102 @@ -66,8 +70,10 @@
   1.103  		$fs/usr/bin \
   1.104  		$fs/usr/lib \
   1.105  		$fs/usr/share
   1.106 -	cp -a $install/usr/lib/*so* $fs/usr/lib
   1.107 -	cp -a $install/usr/bin/ffmpeg $fs/usr/bin
   1.108 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
   1.109 +
   1.110 +	cp -a $install/usr/lib/*so*		$fs/usr/lib
   1.111 +	cp -a $install/usr/bin/ffmpeg		$fs/usr/bin
   1.112 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
   1.113 +
   1.114  	rm -rf $fs/usr/share/$PACKAGE/examples
   1.115  }