summaryrefslogtreecommitdiff
path: root/repo/pango
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/pango
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
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
+}