wok-next view librsvg/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="librsvg"
4 VERSION="2.44.10"
5 CATEGORY="graphics"
6 SHORT_DESC="Rendering SVG"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/LibRsvg"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/librsvg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 TARBALL_SHA1="cd407c6d121d4f61677dd6896a4b3eb713c1011d"
16 BUILD_DEPENDS="glib-dev gdk-pixbuf-dev libxml2-dev pango-dev libcroco-dev \
17 gtk-doc gobject-introspection-dev vala gtk3-dev rust"
18 SPLIT="rsvg-convert rsvg-view $PACKAGE-dev"
20 COPY_std="*.so*"
21 COPY_rsvg_convert="rsvg-convert"
22 COPY_rsvg_view="rsvg-view*"
24 DEPENDS_std="cairo fontconfig gdk-pixbuf glib libcroco libxml2 pango"
25 DEPENDS_rsvg_convert="$PACKAGE cairo glib"
26 DEPENDS_rsvg_view="$PACKAGE cairo glib gtk3"
27 DEPENDS_dev="$PACKAGE rsvg-convert rsvg-view cairo-dev gdk-pixbuf-dev glib-dev"
29 CAT_std="graphics|library"
30 CAT_rsvg_convert="graphics|converter"
31 CAT_rsvg_view="graphics|viewer"
33 compile_rules() {
34 ./configure \
35 --enable-vala \
36 --disable-static \
37 $CONFIGURE_ARGS &&
38 fix libtool &&
39 make &&
40 make install
41 }
43 post_install_librsvg() {
44 [ -n "$cookmode" ] && return 0
45 action 'Updating gdk pixbuf loaders cache file...'
46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
47 status
48 }