wok-next view gstreamer0/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents 063c59b7b89a
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gstreamer0"
4 VERSION="0.10.36"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer-0.10 Multimedia Framework"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="gstreamer-$VERSION.tar.xz"
13 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
15 BUILD_DEPENDS_arm="glib-dev libxml2-dev"
16 BUILD_DEPENDS="glib-dev libxml2-dev gobject-introspection-dev python-dev bison \
17 flex m4 valgrind gettext"
18 SPLIT="gstreamer0-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Handle cross compilation
24 case "$ARCH" in
25 i?86) origin="http://www.slitaz.org";;
26 arm*) origin="http://arm.slitaz.org";;
27 esac
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --libexecdir=/usr/lib \
33 --enable-silent-rules \
34 --disable-static \
35 --disable-examples \
36 --disable-debug \
37 --with-package-name="GStreamer-0.10" \
38 --with-package-origin="$origin" \
39 $CONFIGURE_ARGS &&
40 make $MAKEFLAGS && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 case $PACKAGE in
47 gstreamer0)
48 copy @std
49 DEPENDS="glib libffi libxml2 pcre"
50 ;;
51 *-dev)
52 copy @dev
53 DEPENDS="gstreamer0 glib-dev libffi-dev libxml2-dev pcre-dev \
54 xz-dev zlib-dev"
55 ;;
56 esac
57 }