wok view gst-libav/receipt @ rev 20454
Up zstd (1.3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 06 15:17:20 2018 +0200 (2018-10-06) |
parents | b60b1ded3a2a |
children | a78610b2eb47 |
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 gtk-doc"
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 2>/dev/null
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 }