From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/x11/pango/disable-broken-test.patch | 15 +++++++++++++++ repo/x11/pango/pango.xibuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 repo/x11/pango/disable-broken-test.patch create mode 100644 repo/x11/pango/pango.xibuild (limited to 'repo/x11/pango') 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 +} -- cgit v1.2.1