wok-next view librsvg/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 0f2575775b2d |
children | 8c7f52579a2e |
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="libcairo fontconfig gdk-pixbuf glib libcroco libxml2 pango"
25 DEPENDS_rsvg_convert="$PACKAGE libcairo glib"
26 DEPENDS_rsvg_view="$PACKAGE libcairo 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 }