wok-next view gst0-plugins-base/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 2c826709e122 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gst0-plugins-base"
4 VERSION="0.10.36"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer-0.10 Base Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 #HOST_ARCH="i486 arm"
12 TARBALL="gst-plugins-base-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gst-plugins-base/0.10/$TARBALL"
15 BUILD_DEPENDS_arm="gstreamer0-dev pango-dev alsa-lib-dev libogg-dev \
16 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \
17 xorg-libXvMC-dev util-linux-uuid-dev"
18 BUILD_DEPENDS="gstreamer0-dev pango-dev alsa-lib-dev libogg-dev libtheora-dev \
19 libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev xorg-libXvMC-dev \
20 util-linux-uuid-dev cdparanoia-III-dev orc-dev gobject-introspection-dev \
21 xorg-dev gettext"
22 SPLIT="gst0-plugins-base-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-base.html
28 case "$ARCH" in
29 i?86) ;;
30 *) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
31 esac
32 ./configure \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --enable-experimental \
36 --disable-static \
37 --disable-debug \
38 --disable-gnome_vfs \
39 --with-package-name="$SHORT_DESC" \
40 --with-package-origin="http://www.slitaz.org/" \
41 $CONFIGURE_ARGS &&
42 make $MAKEFLAGS && make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 case $PACKAGE in
49 *-base)
50 copy @std
51 DEPENDS="alsa-lib cairo cdparanoia-III glib gstreamer0 libogg \
52 libtheora-enc libvorbis libxml2 orc pango xorg-libICE xorg-libSM \
53 xorg-libX11 xorg-libXext xorg-libXv zlib"
54 ;;
55 *-dev)
56 copy @dev
57 DEPENDS="gst0-plugins-base alsa-lib-dev bzip2-dev cairo-dev \
58 cdparanoia-III fontconfig-dev freetype-dev glib-dev gstreamer0-dev \
59 harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtheora-dev \
60 libvorbis-dev libxml2-dev orc-dev pango-dev pcre-dev \
61 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
62 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
63 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
64 xorg-libXv-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
65 ;;
66 esac
67 }