wok-next view gstreamer0/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 757d032c55c7 |
children | 342b30daff76 |
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 compile_rules() {
20 case "$ARCH" in
21 arm*) origin="http://arm.slitaz.org";;
22 *) origin="http://www.slitaz.org";;
23 esac
25 ./configure \
26 --libexecdir=/usr/lib \
27 --enable-silent-rules \
28 --disable-static \
29 --disable-examples \
30 --disable-debug \
31 --with-package-name="GStreamer-0.10" \
32 --with-package-origin="$origin" \
33 $CONFIGURE_ARGS &&
34 fix libtool &&
35 make $MAKEFLAGS &&
36 make install
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 gstreamer0)
42 copy @std
43 DEPENDS="glib libffi libxml2 pcre"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="gstreamer0 glib-dev libffi-dev libxml2-dev pcre-dev \
48 xz-dev zlib-dev"
49 ;;
50 esac
51 }