1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/sh # Build script for pango (Meson, Template B). # Deps: glib2, harfbuzz, fribidi, cairo, fontconfig, freetype (all ported). # No gettext/nls dependency - confirmed via source inspection (no # meson.build/meson.options reference to nls, gettext, or msgfmt anywhere # in the 1.58.0 tree). set -e cd "$SRCDIR" export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -D__EXTENSIONS__" export LDFLAGS="${LDFLAGS} -Wl,-R,$PREFIX/lib" meson setup build \ --prefix="$PREFIX" \ --libdir=lib \ --buildtype=release \ -Ddefault_library=shared \ -Dintrospection=disabled \ -Dgtk_doc=false \ -Dbuild-testsuite=false ninja -C build -j${JOBS:-1} DESTDIR="$PKGDIR" ninja -C build install