wok-current annotate ffmpeg/receipt @ rev 23749
updated xfsprogs (5.2.1 -> 5.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 15:39:32 2020 +0100 (2020-05-01) |
parents | a449793b9af3 |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@1708 | 1 # SliTaz package receipt. |
pascal@1708 | 2 |
pascal@1708 | 3 PACKAGE="ffmpeg" |
Hans-G?nter@22756 | 4 VERSION="4.2.2" |
pascal@1708 | 5 CATEGORY="multimedia" |
Hans-G?nter@21570 | 6 TAGS="audio video convert stream" |
pascal@1708 | 7 SHORT_DESC="Record, convert and stream audio and video." |
pascal@1708 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15215 | 9 LICENSE="GPL2 LGPL2.1" |
Hans-G?nter@21570 | 10 WEB_SITE="https://ffmpeg.org/" |
Hans-G?nter@21570 | 11 |
pascal@4284 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4284 | 13 WGET_URL="${WEB_SITE}releases/$TARBALL" |
Hans-G?nter@21570 | 14 |
Hans-G?nter@21570 | 15 SUGGESTED="ffplay" |
Hans-G?nter@21570 | 16 DEPENDS="alsa-lib bzip2 gnutls harfbuzz lame libsdl2 libtasn1 libvorbis \ |
Hans-G?nter@21570 | 17 libvpx nettle opus pcre rtmpdump x264 x265 xorg-libXau \ |
Hans-G?nter@21570 | 18 xorg-libXdmcp zlib" |
Hans-G?nter@21570 | 19 BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special \ |
Hans-G?nter@21570 | 20 gnutls-dev harfbuzz-dev lame-dev libgnutls libsdl2-dev \ |
Hans-G?nter@21570 | 21 libvorbis-dev libvpx-dev nettle-dev opus-dev pcre-dev \ |
Hans-G?nter@21570 | 22 rtmpdump-dev x264-dev x265-dev xorg-libXau-dev xorg-libXdmcp-dev \ |
Hans-G?nter@21570 | 23 yasm zlib-dev" |
Hans-G?nter@21570 | 24 |
pankso@16026 | 25 HOST_ARCH="i486 arm" |
pankso@16026 | 26 |
pankso@16315 | 27 case "$SLITAZ_ARCH" in |
Hans-G?nter@21570 | 28 arm*) DEPENDS="alsa-lib bzip2 gnutls harfbuzz lame libsdl2 libvorbis \ |
Hans-G?nter@21570 | 29 libtasn1 libvpx nettle opus pcre rtmpdump x264 x265 \ |
Hans-G?nter@21570 | 30 xorg-libXau xorg-libXdmcp zlib" ;; |
pankso@16315 | 31 esac |
pankso@16315 | 32 |
pankso@16026 | 33 # Handle cross compilation. Host coreutils-file-* are used |
pankso@16026 | 34 case "$ARCH" in |
pankso@16084 | 35 i?86) |
pankso@16084 | 36 ARCH_ARGS="--arch=$ARCH --cpu=$ARCH" ;; |
pankso@16084 | 37 arm*) |
Hans-G?nter@21570 | 38 BUILD_DEPENDS="bzip2-dev yasm zlib-dev" |
pankso@16026 | 39 ARCH_ARGS="--enable-cross-compile --arch=armel --target-os=linux \ |
pankso@16096 | 40 --cross-prefix=$HOST_SYSTEM-" ;; |
pankso@16026 | 41 esac |
pankso@16026 | 42 |
pascal@1708 | 43 # Rules to configure and make the package. |
pascal@1708 | 44 compile_rules() |
pascal@1708 | 45 { |
Hans-G?nter@21570 | 46 ./configure \ |
Hans-G?nter@21570 | 47 --prefix=/usr \ |
Hans-G?nter@21570 | 48 --enable-gpl \ |
Hans-G?nter@21570 | 49 --enable-nonfree \ |
Hans-G?nter@21570 | 50 --enable-shared \ |
Hans-G?nter@21570 | 51 --disable-static \ |
Hans-G?nter@21570 | 52 --disable-doc \ |
Hans-G?nter@21570 | 53 --enable-libfreetype \ |
Hans-G?nter@21570 | 54 --enable-libmp3lame \ |
Hans-G?nter@21570 | 55 --enable-libopus \ |
Hans-G?nter@21570 | 56 --enable-libvorbis \ |
Hans-G?nter@21570 | 57 --enable-libvpx \ |
Hans-G?nter@21570 | 58 --enable-libx264 \ |
Hans-G?nter@21570 | 59 --enable-libx265 \ |
pascal@21884 | 60 --enable-avresample \ |
Hans-G?nter@21570 | 61 --enable-gnutls \ |
pankso@16315 | 62 ${ARCH_ARGS} && |
Hans-G?nter@21570 | 63 make && |
Hans-G?nter@21570 | 64 make install |
pascal@1708 | 65 } |
pascal@1708 | 66 |
pascal@1708 | 67 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 68 genpkg_rules() |
pascal@1708 | 69 { |
pankso@16096 | 70 mkdir -p \ |
pankso@16096 | 71 $fs/usr/bin \ |
pankso@16096 | 72 $fs/usr/lib \ |
pankso@16096 | 73 $fs/usr/share |
Hans-G?nter@21570 | 74 |
Hans-G?nter@21570 | 75 cp -a $install/usr/lib/*so* $fs/usr/lib |
Hans-G?nter@21570 | 76 cp -a $install/usr/bin/ffmpeg $fs/usr/bin |
Hans-G?nter@21570 | 77 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@21570 | 78 |
Hans-G?nter@22756 | 79 rm -rf $fs/usr/share/$PACKAGE/examples |
pascal@1708 | 80 } |