wok-6.x view gstreamer-1.0/receipt @ rev 21896

updated seamonkey (2.46 -> 2.49.5)
author Hans-G?nter Theisgen
date Thu Oct 03 17:09:38 2019 +0100 (2019-10-03)
parents b30300e0cb6a
children 7128906dc7e8
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer-1.0"
4 VERSION="1.10.1"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2"
10 SOURCE="gstreamer"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="https://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
14 HOST_ARCH="i486 arm"
16 DEPENDS="glib libgio libxml2"
17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config"
19 # Handle cross compilation
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind bison flex" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed '/set ERROR_CFLAGS/d' -i configure
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --libexecdir=/usr/lib \
33 --enable-silent-rules \
34 --disable-static \
35 --disable-examples \
36 --disable-debug \
37 --enable-introspection=no \
38 --with-package-name="GStreamer ($SERIES)" \
39 --with-package-origin="http://www.slitaz.org/" \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS && make install 2>/dev/null
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
48 mv $install/usr/bin/*-$SERIES $fs/usr/bin
49 mv $install/usr/lib/*.so* $fs/usr/lib
50 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
51 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
52 for locale in $LOCALES; do
53 mv $install/usr/share/locale/$locale $fs/usr/share/locale
54 done
55 }