wok-next diff pango/receipt @ rev 20412
slim: change path to Xorg's binary; update all the slim-theme-*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 07 18:54:12 2018 +0200 (2018-01-07) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line diff
1.1 --- a/pango/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/pango/receipt Sun Jan 07 18:54:12 2018 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pango" 1.8 -VERSION="1.40.1" 1.9 +VERSION="1.40.3" 1.10 CATEGORY="x-window" 1.11 SHORT_DESC="Layout and rendering of internationalized text" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 @@ -10,25 +10,22 @@ 1.14 HOST_ARCH="i486 arm" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 1.18 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.19 1.20 -DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi liblzma libpng \ 1.21 -libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.22 -xorg-libXft xorg-libXrender zlib" 1.23 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev" 1.24 BUILD_DEPENDS_arm="cairo-dev libxml2-dev xorg-libXft-dev" 1.25 - 1.26 -# Handle cross compilation 1.27 -case "$ARCH" in 1.28 - arm*) 1.29 - BUILD_DEPENDS=$BUILD_DEPENDS_arm 1.30 - export LIBTOOL=${HOST_SYSTEM}-libtool 1.31 - ARCH_ARGS="--enable-introspection=no" ;; 1.32 -esac 1.33 +SPLIT="pango-dev" 1.34 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 + # Handle cross compilation 1.39 + case "$ARCH" in 1.40 + arm*) 1.41 + export LIBTOOL=${HOST_SYSTEM}-libtool 1.42 + ARCH_ARGS="--enable-introspection=no" ;; 1.43 + esac 1.44 + 1.45 ./configure \ 1.46 --sysconfdir=/etc \ 1.47 $CONFIGURE_ARGS $ARCH_ARGS && 1.48 @@ -38,5 +35,20 @@ 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - copy bin/ *.so* 1.53 + case $PACKAGE in 1.54 + pango) 1.55 + copy bin/ *.so* 1.56 + DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi \ 1.57 + liblzma libpng libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau \ 1.58 + xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXrender zlib" 1.59 + ;; 1.60 + *-dev) 1.61 + copy @dev 1.62 + DEPENDS="pango bzip2-dev cairo-dev fontconfig-dev freetype-dev \ 1.63 + glib-dev glibc-dev harfbuzz-dev libffi-dev liblzma-dev libpng-dev \ 1.64 + libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \ 1.65 + xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \ 1.66 + xorg-libXrender-dev zlib-dev" 1.67 + ;; 1.68 + esac 1.69 }