wok-current annotate librsvg/receipt @ rev 24054
xorg-libX11 and xorg-libX11-dev (1.6.9 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 30 10:18:33 2021 +0100 (2021-05-30) |
parents | 557de358e9d4 |
children | 6831608a1b2a |
rev | line source |
---|---|
erjo@3554 | 1 # SliTaz package receipt. |
erjo@3554 | 2 |
erjo@3554 | 3 PACKAGE="librsvg" |
al@19478 | 4 VERSION="2.40.16" |
slaxemulator@6677 | 5 CATEGORY="x-window" |
erjo@3554 | 6 SHORT_DESC="SVG Rendering Library" |
erjo@3554 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14716 | 8 LICENSE="GPL2" |
al@19478 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19478 | 10 WEB_SITE="https://wiki.gnome.org/LibRsvg" |
pascal@14716 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pankso@16222 | 12 HOST_ARCH="i486 arm" |
al@19152 | 13 |
al@19478 | 14 DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \ |
Hans-G?nter@23758 | 15 libcroco libffi libgio libpng libxcb libxml2 pango pcre pixman xorg-libX11 \ |
Hans-G?nter@23758 | 16 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" |
Hans-G?nter@23758 | 17 BUILD_DEPENDS="cairo-dev expat-dev fontconfig-dev freetype-dev gdk-pixbuf-dev |
Hans-G?nter@23758 | 18 glib-dev libcroco-dev libffi-dev libpng-dev libxml2-dev pango-dev" |
pascal@14716 | 19 |
pankso@16222 | 20 # Handle cross compilation |
pankso@16222 | 21 case "$ARCH" in |
al@19478 | 22 i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \ |
al@19478 | 23 gobject-introspection-dev gtk+3-dev" ;; |
pankso@16222 | 24 esac |
erjo@3554 | 25 |
erjo@3554 | 26 # Rules to configure and make the package. |
erjo@3554 | 27 compile_rules() |
erjo@3554 | 28 { |
Hans-G?nter@23758 | 29 ./configure \ |
Hans-G?nter@23758 | 30 --disable-static \ |
Hans-G?nter@23758 | 31 LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" \ |
al@19478 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@23760 | 33 # from fix libtool: |
Hans-G?nter@23760 | 34 sed -i 's| -shared | -Wl,-Os,--as-needed\0|g' libtool |
Hans-G?nter@23758 | 35 make && |
Hans-G?nter@23758 | 36 make install |
erjo@3554 | 37 } |
erjo@3554 | 38 |
erjo@3554 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3554 | 40 genpkg_rules() |
erjo@3554 | 41 { |
al@19478 | 42 cook_copy_files *.so* |
erjo@3554 | 43 } |
erjo@3554 | 44 |
slaxemulator@7770 | 45 # Pre and post install commands for Tazpkg. |
slaxemulator@7770 | 46 post_install() |
slaxemulator@7770 | 47 { |
al@19152 | 48 [ -z "$quiet" ] && echo -en "\nUpdating gdk pixbuf loaders cache file..." |
pascal@18730 | 49 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
gokhlayeh@11958 | 50 status |
slaxemulator@7770 | 51 } |