wok view gstreamer-1.0/receipt @ rev 16446

Add gstreamer-1.0 + gst-plugins-base-1.0 (needed to build e18)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 21:13:58 2014 +0200 (2014-04-18)
parents
children 4c9e6fbf8207
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 pkg-config bison flex \
18 python-dev 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 --enable-introspection=no \
32 --with-package-name="GStreamer ($SERIES)" \
33 --with-package-origin="http://www.slitaz.org/" \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
42 mv $install/usr/bin/*-$SERIES $fs/usr/bin
43 mv $install/usr/lib/*.so* $fs/usr/lib
44 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
45 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
46 for locale in $LOCALES; do
47 mv $install/usr/share/locale/$locale $fs/usr/share/locale
48 done
49 }