summaryrefslogtreecommitdiff
path: root/repo/pango/pango.xibuild
blob: 9f7efab102815fad0eb309c40e4ee96d54f28d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

NAME="pango"
DESC="library for layout and rendering of text"

MAKEDEPS="meson ninja python-pygments git"
DEPS="sbase cairo fontconfig freetype2 glib libx11 libxft libxrender musl fribidi harfbuzz"

PKG_VER=1.50.9
SOURCE="https://download.gnome.org/sources/pango/${PKG_VER%.*}/pango-$PKG_VER.tar.xz"
ADDITIONAL="disable-broken-test.patch "

prepare () {
    apply_patches
}

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
        -Dintrospection=enabled \
		-Dgtk_doc=false \
        ..

    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}