wok view gstreamer-1.0/receipt @ rev 24624
updated grep (3.4 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:56:05 2022 +0100 (2022-03-07) |
parents | 800de22df35e |
children |
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 current_version()
27 {
28 wget -O - https://gstreamer.freedesktop.org/src/${PACKAGE%-1.0}/ 2>/dev/null | \
29 sed '/tar/!d;s|.*'${PACKAGE%-1.0}'-||;s|.tar.*||' | sed '$!d'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 sed -i '/set ERROR_CFLAGS/d' configure
37 # Update for make 3.81
38 sed -i 's|\\#|#|' libs/gst/controller/Makefile*
40 ./configure \
41 --sysconfdir=/etc \
42 --localstatedir=/var \
43 --libexecdir=/usr/lib \
44 --enable-silent-rules \
45 --disable-static \
46 --disable-examples \
47 --disable-debug \
48 --enable-introspection=no \
49 --with-package-name="GStreamer ($SERIES)" \
50 --with-package-origin="http://www.slitaz.org/" \
51 $CONFIGURE_ARGS &&
52 make $MAKEFLAGS &&
53 make install 2>/dev/null
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/lib/gstreamer-$SERIES
60 mkdir -p $fs/usr/bin
61 mkdir -p $fs/usr/share/locale
63 mv $install/usr/bin/*-$SERIES $fs/usr/bin
64 mv $install/usr/lib/*.so* $fs/usr/lib
65 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
66 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
67 for locale in $LOCALES
68 do
69 mv $install/usr/share/locale/$locale $fs/usr/share/locale
70 done
71 }