wok view gst-plugins-base-1.0/receipt @ rev 23040
rebuild gdk-pixbuf and gdk-pixbuf-dev
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 04 13:39:54 2020 +0100 (2020-03-04) |
parents | a78610b2eb47 |
children | 8c17196bcbf2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-base-1.0"
4 VERSION="1.16.2"
5 SERIES="1.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Base Plugins."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://gstreamer.freedesktop.org/"
12 SOURCE="gst-plugins-base"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL"
16 DEPENDS="alsa-lib gstreamer-1.0 libogg libtheora libtheora-enc
17 libvorbis opus orc pango udev vorbis-tools xorg xorg-libXv
18 xorg-libXvMC"
19 BUILD_DEPENDS="alsa-lib-dev gstreamer-1.0-dev libogg-dev libtheora-dev
20 libtheora-enc libvorbis-dev opus-dev orc-dev pango-dev udev-dev
21 util-linux-uuid-dev xorg-libXv-dev xorg-libXvMC-dev"
23 HOST_ARCH="i486 arm"
25 # Arch install
26 case "$SLITAZ_ARCH" in
27 i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ;
28 esac
30 # Cross compilation
31 case "$ARCH" in
32 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ;
33 esac
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 sysroot="/cross/arm/sysroot"
39 libs="/usr/lib"
40 incl="/usr/include"
41 sed -i '/set ERROR_C/d' configure
43 ./configure \
44 --prefix=/usr \
45 --sysconfdir=/etc \
46 --localstatedir=/var \
47 --enable-experimental \
48 --disable-static \
49 --disable-debug \
50 --disable-gnome-vfs \
51 --disable-libvisual \
52 --disable-vorbisidec \
53 --enable-introspection=no \
54 --with-package-name="GStreamer Base Plugins ($SERIES)" \
55 --with-package-origin="http://www.slitaz.org/" \
56 $CONFIGURE_ARGS | grep -v 'vorbisidec' &&
57 make $MAKEFLAGS &&
58 make install 2>/dev/null
59 }
61 # Rules to gen a SliTaz package suitable for Tazpkg.
62 genpkg_rules()
63 {
64 mkdir -p $fs/usr/lib/gstreamer-$SERIES
65 mkdir -p $fs/usr/share/locale
67 mv $install/usr/bin $fs/usr
68 mv $install/usr/lib/*.so* $fs/usr/lib
69 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
70 }