wok-current view gst-libav/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | a78610b2eb47 |
children | 3cdc90c472a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-libav"
4 VERSION="1.16.2"
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 WEB_SITE="https://gstreamer.freedesktop.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
15 DEPENDS="bzip2 gst-plugins-base-1.0 gst-plugins-good-1.0"
16 BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special
17 glib-dev gst-plugins-base-1.0-dev gstreamer-1.0-dev gtk-doc
18 yasm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i '/set ERROR_C/d' configure
25 ./configure \
26 --prefix=/usr \
27 --disable-static \
28 --with-libav-extra-configure="--enable-runtime-cpudetect" \
29 --with-package-name="GStreamer libav Plugin ($SERIES)" \
30 --with-package-origin="http://www.slitaz.org/" \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$install install 2>/dev/null
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/gstreamer-$SERIES
40 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
41 }