wok-current view gst-plugins-base/receipt @ rev 15230

gst-plugins-base, gst-plugins-bad: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 22 18:47:20 2013 +0200 (2013-09-22)
parents 380ffe05937a
children dead8955c3ca
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base"
4 VERSION="0.10.36"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Base Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://gstreamer.freedesktop.org/"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
13 LOCALES="da de es fr id it pt_BR ru zh_CN"
15 DEPENDS="gstreamer pango
16 alsa-lib libogg libtheora libtheora-enc libvorbis vorbis-tools udev
17 xorg xorg-libXv xorg-libXvMC cdparanoia-III orc"
18 BUILD_DEPENDS="gstreamer-dev pango-dev gobject-introspection-dev \
19 alsa-lib-dev libogg-dev libtheora-dev libtheora-enc libvorbis-dev udev-dev \
20 xorg-dev xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --enable-experimental \
31 --disable-static \
32 --disable-debug \
33 --disable-gnome_vfs \
34 --with-package-name="GStreamer Base Plugins ($SERIES)" \
35 --with-package-origin="http://www.slitaz.org/" \
36 $CONFIGURE_ARGS 2>&1 | grep -v 'set ERROR_' &&
37 make $MAKEFLAGS && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
45 mv $install/usr/bin $fs/usr
46 mv $install/usr/lib/*.so* $fs/usr/lib
47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
48 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
49 for locale in $LOCALES; do
50 mv $install/usr/share/locale/$locale $fs/usr/share/locale
51 done
52 }