wok-6.x view gst-libav/receipt @ rev 21612

ffmpegthumbnailer: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 17:32:52 2019 +0200 (2019-05-23)
parents 2b519788fdc2
children 9c823902b6e9
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="https://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 }