wok-next view gstreamer1/receipt @ rev 19875

Up cookutils (973), busybox (1.27.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 29 20:57:09 2017 +0300 (2017-09-29)
parents b2efa70e9283
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gstreamer1"
4 VERSION="1.10.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Multimedia Framework"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://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="gettext perl valgrind-dev"
16 BUILD_DEPENDS_arm="glib-dev libxml2-dev pkg-config"
17 SPLIT="gstreamer1-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --with-package-name="GStreamer (1.0)" \
24 --with-package-origin="http://www.slitaz.org/" \
25 $CONFIGURE_ARGS &&
26 # Suppress installing errors (fatal for cooker)
27 sed -i 's| \$(builddir)/html/\*\.sgml||' docs/gst/Makefile \
28 docs/libs/Makefile docs/plugins/Makefile &&
29 make $MAKEFLAGS && make install &&
31 ln -s gstreamer-1.0/gst $install/usr/include/gst
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 gstreamer1)
39 copy @std
40 DEPENDS="glib libffi pcre"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="gstreamer1 glib-dev libffi-dev pcre-dev zlib-dev"
45 ;;
46 esac
47 }