wok-current view gstreamer/receipt @ rev 23715
updated unbound and unbound-dev (1.9.4 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 29 07:26:08 2020 +0100 (2020-04-29) |
parents | a78610b2eb47 |
children | 3cdc90c472a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer"
4 VERSION="0.10.36"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="https://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="glib libgio libxml2"
17 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev \
22 python-dev bison flex m4 valgrind"
23 origin="http://www.slitaz.org" ;;
24 arm*)
25 origin="http://arm.slitaz.org"
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # YYLEX_PARAM is no longer supported in Bison 3
32 sed -i "/YYLEX_PARAM/d;s|%left '!.*|&\\n%lex-param { void *scanner }|" \
33 gst/parse/grammar.y
35 ./configure \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --libexecdir=/usr/lib \
39 --enable-silent-rules \
40 --disable-static \
41 --disable-examples \
42 --disable-debug \
43 --with-package-name="GStreamer ($SERIES)" \
44 --with-package-origin="$origin" \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS && make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
53 cp -a $install/usr/bin/*-$SERIES $fs/usr/bin
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
56 cp -a $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
57 # for locale in $LOCALES; do
58 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
59 # done
60 }