wok-next view gst-plugins-base/receipt @ rev 16236

ARM: add libtirpc, libcap, rpcbind (we want pkgs for a NAS)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 02 10:08:04 2014 +0200 (2014-04-02)
parents 2b9378016ce7
children 30cd20bf889e
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 #HOST_ARCH="i486 arm"
15 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gstreamer pango alsa-lib libogg libtheora libtheora-enc \
17 libvorbis vorbis-tools udev xorg-libXv xorg-libXvMC cdparanoia-III orc"
18 BUILD_DEPENDS="gstreamer-dev pango-dev alsa-lib-dev libogg-dev \
19 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
20 xorg-libXvMC-dev util-linux-uuid-dev"
22 # Handle cross compilation
23 case "$ARCH" in
24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev \
25 gobject-introspection-dev xorg-dev" ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CPPFLAGS="-I/cross/$ARCH/sysroot/usr/include"
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --localstatedir=/var \
36 --enable-experimental \
37 --disable-static \
38 --disable-debug \
39 --disable-gnome_vfs \
40 --with-package-name="GStreamer Base Plugins ($SERIES)" \
41 --with-package-origin="http://www.slitaz.org/" \
42 $CONFIGURE_ARGS &&
43 make $MAKEFLAGS && make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
51 mv $install/usr/bin $fs/usr
52 mv $install/usr/lib/*.so* $fs/usr/lib
53 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
54 mv $install/usr/lib/girepository-1.0 $fs/usr/lib
55 for locale in $LOCALES; do
56 mv $install/usr/share/locale/$locale $fs/usr/share/locale
57 done
58 }