summaryrefslogtreecommitdiff
path: root/repo/pango/pango.xibuild
blob: 11741004fb178e502d2fc0a24693fc9a1c2cacd2 (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
31
32
33
34
#!/bin/sh

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

MAKEDEPS="cairo expat fontconfig fribidi glib gobject-introspection  harfbuzz help2man libxft meson"

PKG_VER=1.50.10
SOURCE="https://download.gnome.org/sources/pango/${PKG_VER%.*}/pango-$PKG_VER.tar.xz"

ADDITIONAL="
disable-broken-test.patch
"

prepare () {
    apply_patches
}

build() {
	meson --prefix=/usr \
		-Db_lto=true \
		-Dintrospection=enabled \
		-Dgtk_doc=false \
		build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

#check() {
	#meson test --no-rebuild --print-errorlogs -C build
#}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C build
}