diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/pango | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'repo/x11/pango')
-rw-r--r-- | repo/x11/pango/disable-broken-test.patch | 15 | ||||
-rw-r--r-- | repo/x11/pango/pango.xibuild | 30 |
2 files changed, 45 insertions, 0 deletions
diff --git a/repo/x11/pango/disable-broken-test.patch b/repo/x11/pango/disable-broken-test.patch new file mode 100644 index 0000000..db3d6c3 --- /dev/null +++ b/repo/x11/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/x11/pango/pango.xibuild b/repo/x11/pango/pango.xibuild new file mode 100644 index 0000000..8b507dc --- /dev/null +++ b/repo/x11/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 +} |