summaryrefslogtreecommitdiff
path: root/repo/x11/pango.xibuild
blob: 03458aade1df82369b600d5efa67300dba47210b (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
#!/bin/sh

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

MAKEDEPS="meson ninja"
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 .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}