wok-next view librsvg/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 0e7893ac206d |
children | afbc312ba6b0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="librsvg"
4 VERSION="2.40.18"
5 CATEGORY="graphics"
6 SHORT_DESC="Rendering SVG"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/LibRsvg"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/librsvg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev gdk-pixbuf-dev libxml2-dev pango-dev libcroco-dev \
16 gtk-doc gobject-introspection-dev vala gtk+3-dev"
17 SPLIT="rsvg-convert rsvg-view librsvg-dev"
19 compile_rules() {
20 ./configure \
21 --enable-vala \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 librsvg)
31 copy *.so*
32 CAT="graphics|library"
33 DEPENDS="cairo gdk-pixbuf glib libcroco libxml2 pango"
34 ;;
35 rsvg-convert)
36 copy rsvg-convert
37 CAT="graphics|converter"
38 DEPENDS="cairo glib librsvg"
39 ;;
40 rsvg-view)
41 copy rsvg-view*
42 CAT="graphics|viewer"
43 DEPENDS="cairo glib gtk+3 librsvg"
44 ;;
45 librsvg-dev)
46 copy @dev
47 DEPENDS="librsvg rsvg-convert rsvg-view \
48 cairo-dev gdk-pixbuf-dev glib-dev"
49 ;;
50 esac
51 }
53 post_install_librsvg() {
54 [ -n "$cookmode" ] && return 0
55 action 'Updating gdk pixbuf loaders cache file...'
56 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
57 status
58 }