summaryrefslogtreecommitdiff
path: root/repo/x11/pango.xibuild
blob: 2515487c43f9b04b79729019f899a3cea7acea1d (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"

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
}