wok-current annotate gst-ffmpeg/receipt @ rev 19132

pcmanfm: add tazpkg-get action
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun May 15 02:07:14 2016 +0200 (2016-05-15)
parents b6a74775afd4
children a78610b2eb47
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
psychomaniak@19132 14 PROVIDE="gst-ffmpeg-small"
psychomaniak@19132 15
domcox@14479 16 DEPENDS="gst-plugins-base bzip2"
domcox@14479 17 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev bzip2-dev \
domcox@14479 18 coreutils-file-format coreutils-file-special glib-dev yasm"
psychomaniak@17443 19 SUGGESTED="gst-plugins-good"
domcox@14479 20
jozee@2674 21 # Rules to configure and make the package.
jozee@2674 22 compile_rules()
jozee@2674 23 {
jozee@2674 24 cd $src
domcox@14025 25 ./configure \
domcox@14025 26 --prefix=/usr \
domcox@14025 27 --disable-static \
psychomaniak@19130 28 --with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
domcox@14025 29 --with-package-name="GStreamer FFMpeg Plugin ($SERIES)" \
domcox@14025 30 --with-package-origin="http://www.slitaz.org/" \
pascal@15265 31 $CONFIGURE_ARGS &&
psychomaniak@17444 32 sed 's/RANK_NONE/RANK_SECONDARY/g' -i $src/ext/ffmpeg/gstffmpegdec.c
gokhlayeh@11573 33 make $MAKEFLAGS &&
domcox@14025 34 make DESTDIR=$install install
jozee@2674 35 }
jozee@2674 36
jozee@2674 37 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2674 38 genpkg_rules()
jozee@2674 39 {
domcox@14025 40 mkdir -p $fs/usr/lib/gstreamer-$SERIES
pascal@15000 41 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
jozee@2674 42 }