wok-next view gstreamer0/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 2c826709e122 |
children | 757d032c55c7 |
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/"
11 TARBALL="gstreamer-$VERSION.tar.xz"
12 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
14 BUILD_DEPENDS_arm="glib-dev libxml2-dev"
15 BUILD_DEPENDS="glib-dev libxml2-dev gobject-introspection-dev python-dev bison \
16 flex m4 valgrind gettext"
17 SPLIT="gstreamer0-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Handle cross compilation
23 case "$ARCH" in
24 i?86) origin="http://www.slitaz.org";;
25 arm*) origin="http://arm.slitaz.org";;
26 esac
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --libexecdir=/usr/lib \
32 --enable-silent-rules \
33 --disable-static \
34 --disable-examples \
35 --disable-debug \
36 --with-package-name="GStreamer-0.10" \
37 --with-package-origin="$origin" \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 case $PACKAGE in
46 gstreamer0)
47 copy @std
48 DEPENDS="glib libffi libxml2 pcre"
49 ;;
50 *-dev)
51 copy @dev
52 DEPENDS="gstreamer0 glib-dev libffi-dev libxml2-dev pcre-dev \
53 xz-dev zlib-dev"
54 ;;
55 esac
56 }