wok view gst-plugins-base/receipt @ rev 15953

arm: fix file cross compilation and add testsuite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:49:23 2014 +0100 (2014-02-23)
parents dead8955c3ca
children ac2ee8823dfa
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 \
21 util-linux-uuid-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --enable-experimental \
32 --disable-static \
33 --disable-debug \
34 --disable-gnome_vfs \
35 --with-package-name="GStreamer Base Plugins ($SERIES)" \
36 --with-package-origin="http://www.slitaz.org/" \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
46 mv $install/usr/bin $fs/usr
47 mv $install/usr/lib/*.so* $fs/usr/lib
48 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
49 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
50 for locale in $LOCALES; do
51 mv $install/usr/share/locale/$locale $fs/usr/share/locale
52 done
53 }