wok-6.x view gst-plugins-base/receipt @ rev 19512
busybox: add hd (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 22 15:47:28 2016 +0100 (2016-11-22) |
parents | b6a74775afd4 |
children | a78610b2eb47 |
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 libvorbis vorbis-tools udev \
17 xorg-libXv xorg-libXvMC cdparanoia-III orc" # libtheora libtheora-enc
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 case "$ARCH" in
32 i?86) ;;
33 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
34 esac
35 ./configure \
36 --prefix=/usr \
37 --sysconfdir=/etc \
38 --localstatedir=/var \
39 --enable-experimental \
40 --disable-static \
41 --disable-debug \
42 --disable-gnome_vfs \
43 --with-package-name="GStreamer Base Plugins ($SERIES)" \
44 --with-package-origin="http://www.slitaz.org/" \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS && make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
54 mv $install/usr/bin $fs/usr
55 mv $install/usr/lib/*.so* $fs/usr/lib
56 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
57 # mv $install/usr/lib/girepository-1.0 $fs/usr/lib
58 # for locale in $LOCALES; do
59 # mv $install/usr/share/locale/$locale $fs/usr/share/locale
60 # done
61 }