wok-next rev 21649
updated ffmpeg (3.4.2 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 17:48:40 2020 +0100 (2020-06-26) |
parents | 7767b1c8d214 |
children | 6e1823092966 |
files | ffmpeg/receipt |
line diff
1.1 --- a/ffmpeg/receipt Fri Jun 26 17:32:09 2020 +0100 1.2 +++ b/ffmpeg/receipt Fri Jun 26 17:48:40 2020 +0100 1.3 @@ -1,61 +1,63 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="ffmpeg" 1.7 -VERSION="3.4.2" 1.8 +VERSION="4.3" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Record, convert and stream audio and video" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2 LGPL2.1" 1.13 -WEB_SITE="http://ffmpeg.org/" 1.14 +WEB_SITE="https://ffmpeg.org/" 1.15 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/ffmpeg.html" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 WGET_URL="${WEB_SITE}releases/$TARBALL" 1.19 1.20 -BUILD_DEPENDS="coreutils-file-format libass-dev fdk-aac-dev lame-dev opus-dev \ 1.21 -libtheora-dev libvorbis-dev libvpx-dev x264-dev x265-dev libx11-dev \ 1.22 -sdl2-dev yasm" 1.23 +BUILD_DEPENDS="coreutils-file-format fdk-aac-dev lame-dev libass-dev 1.24 + libtheora-dev libvorbis-dev libvpx-dev libx11-dev opus-dev 1.25 + sdl2-dev x264-dev x265-dev yasm" 1.26 SPLIT="ffplay ffserver $PACKAGE-dev $PACKAGE" 1.27 1.28 -compile_rules() { 1.29 +compile_rules() 1.30 +{ 1.31 case "$ARCH" in 1.32 i?86) ARCH_ARGS="--arch=$ARCH --cpu=$ARCH";; 1.33 esac 1.34 1.35 sed -i 's|-lflite"|-lflite -lasound"|' configure 1.36 - ./configure \ 1.37 - --prefix=/usr \ 1.38 - --enable-gpl \ 1.39 - --enable-version3 \ 1.40 - --enable-nonfree \ 1.41 - --disable-static \ 1.42 - --enable-shared \ 1.43 - --disable-debug \ 1.44 - --enable-libass \ 1.45 - --enable-libfdk-aac \ 1.46 - --enable-libfreetype \ 1.47 - --enable-libmp3lame \ 1.48 - --enable-libopus \ 1.49 - --enable-libtheora \ 1.50 - --enable-libvorbis \ 1.51 - --enable-libvpx \ 1.52 - --enable-libx264 \ 1.53 - --enable-libx265 \ 1.54 - --docdir=/usr/share/doc/ffmpeg-$VERSION \ 1.55 - \ 1.56 - --enable-runtime-cpudetect \ 1.57 + 1.58 + ./configure \ 1.59 + --prefix=/usr \ 1.60 + --docdir=/usr/share/doc/ffmpeg-$VERSION \ 1.61 + --disable-debug \ 1.62 + --enable-gpl \ 1.63 + --enable-libass \ 1.64 + --enable-libfdk-aac \ 1.65 + --enable-libfreetype \ 1.66 + --enable-libmp3lame \ 1.67 + --enable-libopus \ 1.68 + --enable-libtheora \ 1.69 + --enable-libvorbis \ 1.70 + --enable-libvpx \ 1.71 + --enable-libx264 \ 1.72 + --enable-libx265 \ 1.73 + --enable-nonfree \ 1.74 + --enable-runtime-cpudetect \ 1.75 + --enable-shared \ 1.76 + --disable-static \ 1.77 + --enable-version3 \ 1.78 $ARCH_ARGS && 1.79 make && 1.80 gcc tools/qt-faststart.c -o tools/qt-faststart && 1.81 make install || return 1 1.82 1.83 - install -v -m755 tools/qt-faststart $install/usr/bin 1.84 - install -Dm644 $stuff/ffserver.conf $install/etc/ffserver.conf 1.85 + install -v -m755 tools/qt-faststart $install/usr/bin 1.86 + install -Dm644 $stuff/ffserver.conf $install/etc/ffserver.conf 1.87 1.88 cook_pick_docs doc/*.txt 1.89 } 1.90 1.91 -genpkg_rules() { 1.92 +genpkg_rules() 1.93 +{ 1.94 case $PACKAGE in 1.95 ffplay) 1.96 copy ffplay 1.97 @@ -71,17 +73,17 @@ 1.98 ;; 1.99 *-dev) 1.100 copy @dev examples/ 1.101 - DEPENDS="ffmpeg bzip2-dev fdk-aac-dev freetype-dev lame-dev \ 1.102 - libass-dev libogg-dev libtheora-dev libvorbis-dev libvpx-dev \ 1.103 - opus-dev x264-dev x265-dev libx11-dev libxcb-dev xz-dev \ 1.104 - zlib-dev" 1.105 + DEPENDS="bzip2-dev fdk-aac-dev ffmpeg freetype-dev lame-dev 1.106 + libass-dev libogg-dev libtheora-dev libvorbis-dev 1.107 + libvpx-dev libx11-dev libxcb-dev opus-dev x264-dev 1.108 + x265-dev xz-dev zlib-dev" 1.109 ;; 1.110 ffmpeg) 1.111 copy @std @rm 1.112 SUGGESTED="ffplay" 1.113 TAGS="audio video convert stream" 1.114 - DEPENDS="libbzip2 fdk-aac freetype lame libass liblzma libtheora-enc \ 1.115 - libvorbis libvpx opus x264 x265 libxcb zlib" 1.116 + DEPENDS="fdk-aac freetype lame libass libbzip2 liblzma 1.117 + libtheora-enc libvorbis libvpx libxcb opus x264 x265 zlib" 1.118 ;; 1.119 esac 1.120 }