summaryrefslogtreecommitdiff
path: root/repo/x11/pango.xibuild
blob: 8b507dc548fd9fee71aa387786b216d44cf189bd (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.5
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
}