wok-next annotate pango/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 0fcf48f89432 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@19797 | 1 # SliTaz package receipt v2. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="pango" |
al@19797 | 4 VERSION="1.40.3" |
pankso@22 | 5 CATEGORY="x-window" |
al@17992 | 6 SHORT_DESC="Layout and rendering of internationalized text" |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@22 | 9 WEB_SITE="http://www.pango.org/" |
slaxemulator@11055 | 10 |
al@19689 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19797 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19689 | 13 |
al@20443 | 14 BUILD_DEPENDS_arm="cairo-dev libxml2-dev xorg-libXft-dev" |
al@19689 | 15 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev" |
al@19797 | 16 SPLIT="pango-dev" |
pankso@16084 | 17 |
al@20443 | 18 compile_rules() { |
al@19797 | 19 case "$ARCH" in |
al@19797 | 20 arm*) |
al@19797 | 21 export LIBTOOL=${HOST_SYSTEM}-libtool |
al@19797 | 22 ARCH_ARGS="--enable-introspection=no" ;; |
al@19797 | 23 esac |
al@19797 | 24 |
pankso@16133 | 25 ./configure \ |
pankso@16133 | 26 --sysconfdir=/etc \ |
pankso@16133 | 27 $CONFIGURE_ARGS $ARCH_ARGS && |
pankso@16133 | 28 make && make install |
pankso@22 | 29 } |
pankso@22 | 30 |
al@20443 | 31 genpkg_rules() { |
al@19797 | 32 case $PACKAGE in |
al@19797 | 33 pango) |
al@19797 | 34 copy bin/ *.so* |
al@19797 | 35 DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi \ |
al@20454 | 36 liblzma libpng16 xorg-libxcb libxml2 pcre xorg-pixman xorg-libX11 xorg-libXau \ |
al@19797 | 37 xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXrender zlib" |
al@19797 | 38 ;; |
al@19797 | 39 *-dev) |
al@19797 | 40 copy @dev |
al@19797 | 41 DEPENDS="pango bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@20454 | 42 glib-dev glibc-dev harfbuzz-dev libffi-dev xz-dev libpng16-dev \ |
al@20447 | 43 xorg-libxcb-dev libxml2-dev pcre-dev xorg-pixman-dev xorg-libX11-dev \ |
al@19797 | 44 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \ |
al@19797 | 45 xorg-libXrender-dev zlib-dev" |
al@19797 | 46 ;; |
al@19797 | 47 esac |
pankso@22 | 48 } |