wok-6.x view gstreamer/receipt @ rev 14952
Up: ethumb-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:04 2013 +0200 (2013-08-08) |
parents | 7c76dedb1a8e |
children | a00bf44ed23d |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://gstreamer.freedesktop.org/"
11 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
12 LOCALES="da de es fr id it pt_BR ru zh_CN"
14 DEPENDS="glib libgio libxml2"
15 BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev gobject-introspection-dev
16 intltool pkg-config bison flex python python-dev m4 valgrind"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --libexecdir=/usr/lib \
26 --enable-silent-rules \
27 --disable-static \
28 --disable-examples \
29 --disable-debug \
30 --with-package-name="GStreamer ($SERIES)" \
31 --with-package-origin="http://www.slitaz.org/" \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/bin $fs/usr/share/locale
40 mv $install/usr/bin/*-$SERIES $fs/usr/bin
41 mv $install/usr/lib/*.so* $fs/usr/lib
42 mv $install/usr/lib/gstreamer-$SERIES/*.so $fs/usr/lib/gstreamer-$SERIES
43 mv $install/usr/lib/gstreamer-$SERIES/gst-* $fs/usr/lib/gstreamer-$SERIES
44 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
45 for locale in $LOCALES; do
46 mv $install/usr/share/locale/$locale $fs/usr/share/locale
47 done
48 }