wok view gstreamer-1.0/receipt @ rev 24006

Up sudo (1.9.5p2) CVE-2021-3156
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 15:14:04 2021 +0000 (2021-01-29)
parents 7128906dc7e8
children 3cdc90c472a2
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer-1.0"
4 VERSION="1.16.2"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2"
10 WEB_SITE="https://gstreamer.freedesktop.org/"
12 SOURCE="gstreamer"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
16 DEPENDS="glib libgio libxml2"
17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
19 HOST_ARCH="i486 arm"
21 # Handle cross compilation
22 case "$ARCH" in
23 i?86) BUILD_DEPENDS="$BUILD_DEPENDS bison flex python-dev valgrind" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i '/set ERROR_CFLAGS/d' configure
31 # Update for make 3.81
32 sed -i 's|\\#|#|' libs/gst/controller/Makefile*
34 ./configure \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --libexecdir=/usr/lib \
38 --enable-silent-rules \
39 --disable-static \
40 --disable-examples \
41 --disable-debug \
42 --enable-introspection=no \
43 --with-package-name="GStreamer ($SERIES)" \
44 --with-package-origin="http://www.slitaz.org/" \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS &&
47 make install 2>/dev/null
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/gstreamer-$SERIES
54 mkdir -p $fs/usr/bin
55 mkdir -p $fs/usr/share/locale
57 mv $install/usr/bin/*-$SERIES $fs/usr/bin
58 mv $install/usr/lib/*.so* $fs/usr/lib
59 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
60 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
61 for locale in $LOCALES
62 do
63 mv $install/usr/share/locale/$locale $fs/usr/share/locale
64 done
65 }