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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#!/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
# pango - text layout and rendering (Openbox dep)
# https://download.gnome.org/sources/pango/
[package]
name = "pango"
version = "1.58.0"
release = 1
description = "Text layout and rendering library"
url = "https://www.pango.org/"
license = "LGPL-2.1-or-later"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"
[dependencies]
runtime = ["glib2", "harfbuzz", "fribidi", "cairo", "fontconfig", "freetype"]
build = ["glib2", "harfbuzz", "fribidi", "cairo", "fontconfig", "freetype"]
[[source]]
file = "pango-1.58.0.tar.xz"
urls = ["https://download.gnome.org/sources/pango/1.58/pango-1.58.0.tar.xz"]
checksum = "bc5bad6213ad4886a47d1e80292fd850b64159b50db67917a43d9ea80ee2298a"
[build]
parallel = true
|