wok-undigest view gstreamer-1.0/receipt @ rev 1223

copied libxext recipe from wok-next
author Hans-G?nter Theisgen
date Fri Nov 15 17:38:29 2019 +0100 (2019-11-15)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gstreamer-1.0"
4 VERSION="1.2.3"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Multimedia Framework"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="LGPL2"
10 SOURCE="gstreamer"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL"
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 gobject-introspection-dev
18 intltool pkg-config bison flex python python-dev m4 valgrind"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --libexecdir=/usr/lib \
27 --enable-silent-rules \
28 --disable-static \
29 --disable-examples \
30 --disable-debug \
31 --with-package-name="GStreamer ($SERIES)" \
32 --with-package-origin="http://www.slitaz.org/" \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
41 mv $install/usr/bin/*-$SERIES $fs/usr/bin
42 mv $install/usr/lib/*.so* $fs/usr/lib
43 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
44 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
45 for locale in $LOCALES; do
46 mv $install/usr/share/locale/$locale $fs/usr/share/locale
47 done
48 }