summaryrefslogtreecommitdiff
path: root/repo/pango
diff options
context:
space:
mode:
Diffstat (limited to 'repo/pango')
-rw-r--r--repo/pango/disable-broken-test.patch15
-rw-r--r--repo/pango/pango.xibuild30
2 files changed, 45 insertions, 0 deletions
diff --git a/repo/pango/disable-broken-test.patch b/repo/pango/disable-broken-test.patch
new file mode 100644
index 0000000..db3d6c3
--- /dev/null
+++ b/repo/pango/disable-broken-test.patch
@@ -0,0 +1,15 @@
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -58,12 +58,6 @@
+ [ 'testmisc', [ 'testmisc.c' ], [ libpangocairo_dep, libpangoft2_dep, glib_dep, harfbuzz_dep ] ],
+ [ 'testserialize', [ 'testserialize.c' ], [ libpangocairo_dep, libpangoft2_dep ] ],
+ ]
+-
+- if host_system != 'darwin'
+- tests += [
+- [ 'test-layout', [ 'test-layout.c', 'test-common.c' ], [ libpangocairo_dep, libpangoft2_dep ] ],
+- ]
+- endif
+ endif
+
+ if host_system != 'darwin'
diff --git a/repo/pango/pango.xibuild b/repo/pango/pango.xibuild
new file mode 100644
index 0000000..8b507dc
--- /dev/null
+++ b/repo/pango/pango.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="pango"
+DESC="library for layout and rendering of text"
+
+MAKEDEPS="meson ninja python-pygments git"
+DEPS="sbase cairo fontconfig freetype2 glib libx11 libxft libxrender musl fribidi harfbuzz"
+
+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 \
+ -Dintrospection=enabled \
+ -Dgtk_doc=false \
+ ..
+
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}