wok-next view gstreamer0/receipt @ rev 21016

Small updates; mdocml -> mandoc
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 15 16:44:45 2018 +0300 (2018-10-15)
parents 342b30daff76
children d5aab818505e
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="https://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 libxml2"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="gstreamer0 glib-dev libxml2-dev"
48 ;;
49 esac
50 }