wok-next annotate gst0-ffmpeg-small/receipt @ rev 20570

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