wok view gst-plugins-base-1.0/receipt @ rev 16465
ARM: add gstreamer-1.0, gst-plugins-base-1.0, pkg-config, sed
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 20:50:39 2014 +0200 (2014-04-21) |
parents | 49e603db63f8 |
children | b30300e0cb6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base-1.0"
4 VERSION="1.2.3"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Base Plugins"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 SOURCE="gst-plugins-base"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://gstreamer.freedesktop.org/"
13 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL"
14 HOST_ARCH="i486 arm"
16 DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \
17 libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc"
18 BUILD_DEPENDS="gstreamer-1.0-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 orc-dev"
22 # Arch install
23 case "$SLITAZ_ARCH" in
24 i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ;
25 esac
27 # Cross compilation
28 case "$ARCH" in
29 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ;
30 esac
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 sysroot="/cross/arm/sysroot"
36 libs="/usr/lib"
37 incl="/usr/include"
38 ./configure \
39 --prefix=/usr \
40 --sysconfdir=/etc \
41 --localstatedir=/var \
42 --enable-experimental \
43 --disable-static \
44 --disable-debug \
45 --disable-gnome-vfs \
46 --disable-libvisual \
47 --enable-introspection=no \
48 --with-package-name="GStreamer Base Plugins ($SERIES)" \
49 --with-package-origin="http://www.slitaz.org/" \
50 $CONFIGURE_ARGS &&
51 make $MAKEFLAGS && make install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
58 mv $install/usr/bin $fs/usr
59 mv $install/usr/lib/*.so* $fs/usr/lib
60 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
61 }