wok-next annotate librsvg/receipt @ rev 19840
Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 14 15:53:27 2017 +0300 (2017-08-14) |
parents | 8de239b8173f |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19787 | 1 # SliTaz package receipt v2. |
erjo@3554 | 2 |
erjo@3554 | 3 PACKAGE="librsvg" |
al@19478 | 4 VERSION="2.40.16" |
al@19787 | 5 CATEGORY="graphics" |
al@19787 | 6 SHORT_DESC="Rendering SVG" |
erjo@3554 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14716 | 8 LICENSE="GPL2" |
al@19787 | 9 WEB_SITE="https://wiki.gnome.org/Projects/LibRsvg" |
pankso@16222 | 10 HOST_ARCH="i486 arm" |
al@19152 | 11 |
al@19691 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19787 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19691 | 14 |
al@19691 | 15 BUILD_DEPENDS="glib-dev gdk-pixbuf-dev libxml2-dev pango-dev libcroco-dev \ |
al@19691 | 16 gtk-doc gobject-introspection-dev vala gtk+3-dev" |
al@19840 | 17 SPLIT="rsvg-convert rsvg-view librsvg-dev" |
erjo@3554 | 18 |
erjo@3554 | 19 # Rules to configure and make the package. |
erjo@3554 | 20 compile_rules() |
erjo@3554 | 21 { |
erjo@3554 | 22 ./configure \ |
al@19691 | 23 --enable-vala \ |
al@19478 | 24 $CONFIGURE_ARGS && |
slaxemulator@10213 | 25 make && make install |
erjo@3554 | 26 } |
erjo@3554 | 27 |
erjo@3554 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3554 | 29 genpkg_rules() |
erjo@3554 | 30 { |
al@19787 | 31 case $PACKAGE in |
al@19787 | 32 librsvg) |
al@19787 | 33 copy *.so* |
al@19787 | 34 CAT="graphics|library" |
al@19840 | 35 DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib libcroco \ |
al@19840 | 36 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ |
al@19840 | 37 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@19840 | 38 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@19840 | 39 xorg-pixman zlib" |
al@19787 | 40 ;; |
al@19840 | 41 rsvg-convert) |
al@19840 | 42 copy rsvg-convert |
al@19840 | 43 CAT="graphics|converter" |
al@19840 | 44 ;; |
al@19840 | 45 rsvg-view) |
al@19840 | 46 copy rsvg-view* |
al@19840 | 47 CAT="graphics|viewer" |
al@19787 | 48 DEPENDS="librsvg atk gtk+3" |
al@19787 | 49 ;; |
al@19787 | 50 librsvg-dev) |
al@19787 | 51 copy @dev |
al@19840 | 52 DEPENDS="librsvg rsvg-convert rsvg-view \ |
al@19840 | 53 bzip2-dev cairo-dev fontconfig-dev freetype-dev gdk-pixbuf-dev \ |
al@19840 | 54 glib-dev harfbuzz-dev libcroco-dev libffi-dev libpng16-dev \ |
al@19840 | 55 libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \ |
al@19840 | 56 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ |
al@19787 | 57 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@19840 | 58 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@19787 | 59 ;; |
al@19787 | 60 esac |
erjo@3554 | 61 } |
erjo@3554 | 62 |
slaxemulator@7770 | 63 # Pre and post install commands for Tazpkg. |
al@19787 | 64 post_install_librsvg() { |
al@19787 | 65 [ -n "$cookmode" ] && return 0 |
al@19152 | 66 [ -z "$quiet" ] && echo -en "\nUpdating gdk pixbuf loaders cache file..." |
pascal@18730 | 67 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
gokhlayeh@11958 | 68 status |
slaxemulator@7770 | 69 } |