wok-next view pango/receipt @ rev 20804

awesome: fix build / up (4.2); and all following required to build this "awesome": add xcb-util-xrm; clutter-gst-dev, cmake, librsvg: up deps; lgi: up (0.9.2); pango: split pango-typelib, use meson-wrapper to install libs to lib/ instead of lib64/ (on x86_64 arch)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 10:54:34 2018 +0300 (2018-06-13)
parents afbc312ba6b0
children e7a485521d6a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pango"
4 VERSION="1.40.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Layout and rendering of internationalized text"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pango.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev \
15 gobject-introspection-dev meson ninja"
16 SPLIT="pango-typelib pango-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 meson-wrapper .. &&
23 ninja &&
24 ninja install || return 1
26 rm -rf \
27 $install/usr/lib/installed-tests \
28 $install/usr/share/installed-tests
29 find $install -type f -perm 664 -exec chmod 644 '{}' \;
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 pango)
35 copy @std
36 DEPENDS="cairo fontconfig freetype glib libharfbuzz xorg-libX11 \
37 xorg-libXft xorg-libXrender"
38 ;;
39 pango-typelib)
40 copy *.typelib
41 CAT="development|typelib files"
42 DEPENDS="pango"
43 ;;
44 *-dev)
45 copy @dev @rm
46 DEPENDS="pango pango-typelib \
47 cairo-dev fontconfig-dev freetype-dev glib-dev harfbuzz-dev \
48 xorg-libXft-dev"
49 ;;
50 esac
51 }