wok-6.x view gst-plugins-base-1.0/receipt @ rev 20118
zstd: add bdeps & deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 13 15:15:02 2017 +0200 (2017-10-13) |
parents | 4c9e6fbf8207 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base-1.0"
4 VERSION="1.10.1"
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 opus"
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 opus-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 sed '/set ERROR_C/d' -i configure
39 ./configure \
40 --prefix=/usr \
41 --sysconfdir=/etc \
42 --localstatedir=/var \
43 --enable-experimental \
44 --disable-static \
45 --disable-debug \
46 --disable-gnome-vfs \
47 --disable-libvisual \
48 --disable-vorbisidec \
49 --enable-introspection=no \
50 --with-package-name="GStreamer Base Plugins ($SERIES)" \
51 --with-package-origin="http://www.slitaz.org/" \
52 $CONFIGURE_ARGS | grep -v 'vorbisidec' &&
53 make $MAKEFLAGS && make install 2>/dev/null
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
60 mv $install/usr/bin $fs/usr
61 mv $install/usr/lib/*.so* $fs/usr/lib
62 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
63 }