wok-6.x annotate gst-ffmpeg-small/receipt @ rev 20300
hp15c: fix help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 00:21:41 2018 +0200 (2018-05-04) |
parents | b6a74775afd4 |
children | a78610b2eb47 |
rev | line source |
---|---|
psychomaniak@19130 | 1 # SliTaz package receipt. |
psychomaniak@19130 | 2 |
psychomaniak@19130 | 3 PACKAGE="gst-ffmpeg-small" |
psychomaniak@19131 | 4 SOURCE="gst-ffmpeg" |
psychomaniak@19130 | 5 VERSION="0.10.13" |
psychomaniak@19130 | 6 SERIES="0.10" |
psychomaniak@19130 | 7 CATEGORY="multimedia" |
psychomaniak@19130 | 8 SHORT_DESC="GStreamer FFmpeg Plugins" |
psychomaniak@19130 | 9 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19130 | 10 LICENSE="GPL2" |
psychomaniak@19131 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
psychomaniak@19130 | 12 WEB_SITE="http://gstreamer.freedesktop.org/" |
psychomaniak@19131 | 13 WGET_URL="$WEB_SITE/src/$SOURCE/$TARBALL" |
psychomaniak@19130 | 14 |
psychomaniak@19130 | 15 DEPENDS="gst-plugins-base bzip2" |
psychomaniak@19130 | 16 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \ |
psychomaniak@19130 | 17 coreutils-file-format coreutils-file-special glib-dev yasm" |
psychomaniak@19130 | 18 SUGGESTED="gst-plugins-good" |
psychomaniak@19130 | 19 |
psychomaniak@19130 | 20 # Rules to configure and make the package. |
psychomaniak@19130 | 21 compile_rules() |
psychomaniak@19130 | 22 { |
psychomaniak@19130 | 23 ./configure \ |
psychomaniak@19130 | 24 --prefix=/usr \ |
psychomaniak@19130 | 25 --disable-static \ |
psychomaniak@19130 | 26 --with-ffmpeg-extra-configure=" \ |
psychomaniak@19130 | 27 --enable-runtime-cpudetect \ |
psychomaniak@19130 | 28 --disable-bsfs \ |
psychomaniak@19130 | 29 --disable-parsers \ |
psychomaniak@19130 | 30 --disable-encoders \ |
psychomaniak@19130 | 31 --disable-decoders \ |
psychomaniak@19130 | 32 --disable-demuxers \ |
psychomaniak@19130 | 33 --disable-muxers \ |
psychomaniak@19130 | 34 --enable-decoder=h264 \ |
psychomaniak@19130 | 35 --enable-decoder=aac_latm \ |
psychomaniak@19130 | 36 --enable-decoder=aac \ |
psychomaniak@19130 | 37 --enable-decoder=mpeg4 \ |
psychomaniak@19130 | 38 --enable-decoder=mp3float \ |
psychomaniak@19130 | 39 --enable-decoder=vp8 \ |
psychomaniak@19130 | 40 --enable-decoder=flv " \ |
psychomaniak@19130 | 41 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ |
psychomaniak@19130 | 42 --with-package-origin="http://www.slitaz.org/" \ |
psychomaniak@19130 | 43 $CONFIGURE_ARGS && |
psychomaniak@19130 | 44 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c |
psychomaniak@19130 | 45 make $MAKEFLAGS && |
psychomaniak@19130 | 46 make DESTDIR=$install install |
psychomaniak@19130 | 47 } |
psychomaniak@19130 | 48 |
psychomaniak@19130 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19130 | 50 genpkg_rules() |
psychomaniak@19130 | 51 { |
psychomaniak@19130 | 52 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 53 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* \ |
psychomaniak@19130 | 54 $fs/usr/lib/gstreamer-$SERIES |
psychomaniak@19130 | 55 } |