wok-current view gstreamer-1.0/receipt @ rev 23238
updated nginx-extras again (1.9.4 -> 1.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 08:38:30 2020 +0100 (2020-03-25) |
parents | a78610b2eb47 |
children | 800de22df35e |
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 ./configure \
32 --sysconfdir=/etc \
33 --localstatedir=/var \
34 --libexecdir=/usr/lib \
35 --enable-silent-rules \
36 --disable-static \
37 --disable-examples \
38 --disable-debug \
39 --enable-introspection=no \
40 --with-package-name="GStreamer ($SERIES)" \
41 --with-package-origin="http://www.slitaz.org/" \
42 $CONFIGURE_ARGS &&
43 make $MAKEFLAGS &&
44 make install 2>/dev/null
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib/gstreamer-$SERIES
51 mkdir -p $fs/usr/bin
52 mkdir -p $fs/usr/share/locale
54 mv $install/usr/bin/*-$SERIES $fs/usr/bin
55 mv $install/usr/lib/*.so* $fs/usr/lib
56 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
57 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
58 for locale in $LOCALES
59 do
60 mv $install/usr/share/locale/$locale $fs/usr/share/locale
61 done
62 }