wok-6.x annotate gst-ffmpeg/receipt @ rev 18065
ppp.cgi: use 'vpn' and 'modem' icons.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 18 17:24:41 2015 +0300 (2015-05-18) |
parents | 1f94f879d67c |
children | 7f6407f6268c |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-ffmpeg" |
psychomaniak@17443 | 4 VERSION="0.10.13" |
domcox@14025 | 5 SERIES="0.10" |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer FFmpeg Plugins" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
slaxemulator@7331 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@14025 | 11 WEB_SITE="http://gstreamer.freedesktop.org/" |
jozee@2674 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
jozee@2674 | 13 |
domcox@14479 | 14 DEPENDS="gst-plugins-base bzip2" |
domcox@14479 | 15 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \ |
domcox@14479 | 16 coreutils-file-format coreutils-file-special glib-dev yasm" |
psychomaniak@17443 | 17 SUGGESTED="gst-plugins-good" |
domcox@14479 | 18 |
jozee@2674 | 19 # Rules to configure and make the package. |
jozee@2674 | 20 compile_rules() |
jozee@2674 | 21 { |
jozee@2674 | 22 cd $src |
domcox@14025 | 23 ./configure \ |
domcox@14025 | 24 --prefix=/usr \ |
domcox@14025 | 25 --disable-static \ |
domcox@14025 | 26 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \ |
domcox@14025 | 27 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \ |
domcox@14025 | 28 --with-package-origin="http://www.slitaz.org/" \ |
pascal@15265 | 29 $CONFIGURE_ARGS && |
psychomaniak@17444 | 30 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c |
gokhlayeh@11573 | 31 make $MAKEFLAGS && |
domcox@14025 | 32 make DESTDIR=$install install |
jozee@2674 | 33 } |
jozee@2674 | 34 |
jozee@2674 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 36 genpkg_rules() |
jozee@2674 | 37 { |
domcox@14025 | 38 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
pascal@15000 | 39 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
jozee@2674 | 40 } |