summaryrefslogtreecommitdiff
path: root/repo/x11/harfbuzz.xibuild
blob: 7164985dbdd591f1f0024e5ba4412be4a8ec6a4d (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
#!/bin/sh

NAME="harfbuzz"
DESC="Text shaping library"

MAKEDEPS="meson ninja "
DEPS="freetype2 glib graphite musl "

PKG_VER=4.2.0
SOURCE="https://github.com/harfbuzz/harfbuzz/archive/$PKG_VER.tar.gz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
    		-Dglib=enabled \
            -Dgobject=enabled \
            -Dgraphite=enabled \
            -Dicu=enabled \
            -Dfreetype=enabled \
            -Dcairo=enabled \
            -Ddocs=enabled \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}