wok-next view gstreamer1/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 | 0e8dadf052b9 |
children | d3444352a0af |
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/"
11 TARBALL="gstreamer-$VERSION.tar.xz"
12 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
14 BUILD_DEPENDS="gettext perl valgrind-dev"
15 BUILD_DEPENDS_arm="glib-dev libxml2-dev pkg-config"
16 SPLIT="gstreamer1-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --with-package-name="GStreamer (1.0)" \
23 --with-package-origin="http://www.slitaz.org/" \
24 $CONFIGURE_ARGS &&
25 # Suppress installing errors (fatal for cooker)
26 sed -i 's| \$(builddir)/html/\*\.sgml||' docs/gst/Makefile \
27 docs/libs/Makefile docs/plugins/Makefile &&
28 make $MAKEFLAGS && make install &&
30 ln -s gstreamer-1.0/gst $install/usr/include/gst
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 gstreamer1)
38 copy @std
39 DEPENDS="glib libffi pcre"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="gstreamer1 glib-dev libffi-dev pcre-dev zlib-dev"
44 ;;
45 esac
46 }