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