wok-current view gst-libav/receipt @ rev 19519
Add gst-plugins-good-1.0 && gst-libav
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Nov 23 20:57:24 2016 +0100 (2016-11-23) |
parents | |
children | b60b1ded3a2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-libav"
4 VERSION="1.10.1"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 DEPENDS="gst-plugins-base-1.0 bzip2 gst-plugins-good-1.0"
15 BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev bzip2-dev \
16 coreutils-file-format coreutils-file-special glib-dev yasm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed '/set ERROR_C/d' -i configure
22 ./configure \
23 --prefix=/usr --disable-static \
24 --with-libav-extra-configure="--enable-runtime-cpudetect" \
25 --with-package-name="GStreamer libav Plugin ($SERIES)" \
26 --with-package-origin="http://www.slitaz.org/" \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$install install | grep -v 'sgml'
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/gstreamer-$SERIES
36 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
37 }