summaryrefslogtreecommitdiff
path: root/repo/pango
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
committerdavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
commitf99268f797c120a24030a573ef22813cd018beb5 (patch)
treeee18857a5eda7bc94286e3924dc2209aea7b92c4 /repo/pango
parent95545d88b997a17ff03bb164af33c33e2a12d693 (diff)
Added unrar
Diffstat (limited to 'repo/pango')
-rw-r--r--repo/pango/disable-broken-test.patch24
-rw-r--r--repo/pango/pango.pre-deinstall3
-rw-r--r--repo/pango/pango.trigger4
-rw-r--r--repo/pango/pango.xibuild32
4 files changed, 35 insertions, 28 deletions
diff --git a/repo/pango/disable-broken-test.patch b/repo/pango/disable-broken-test.patch
index db3d6c3..09282f9 100644
--- a/repo/pango/disable-broken-test.patch
+++ b/repo/pango/disable-broken-test.patch
@@ -1,15 +1,11 @@
---- 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
+diff -U3 -r a/tests/meson.build b/tests/meson.build
+--- a/tests/meson.build 2022-04-25 20:59:39.989114880 +0200
++++ b/tests/meson.build 2022-04-25 21:00:00.013429487 +0200
+@@ -61,7 +61,5 @@
- if host_system != 'darwin'
+ if host_system != 'darwin'
+ tests += [
+- [ 'test-layout', [ 'test-layout.c', 'test-common.c' ], [ libpangocairo_dep, libpangoft2_dep ] ],
+- [ 'test-fonts', [ 'test-fonts.c', 'test-common.c' ], [ libpangocairo_dep, libpangoft2_dep ] ],
+ ]
+ endif
diff --git a/repo/pango/pango.pre-deinstall b/repo/pango/pango.pre-deinstall
new file mode 100644
index 0000000..bcffa7c
--- /dev/null
+++ b/repo/pango/pango.pre-deinstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /bin/rm -f /etc/pango/pango.modules /usr/lib/pango/*/modules.cache
diff --git a/repo/pango/pango.trigger b/repo/pango/pango.trigger
new file mode 100644
index 0000000..20e3660
--- /dev/null
+++ b/repo/pango/pango.trigger
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+umask 022
+/usr/bin/pango-querymodules > ${1}.cache
diff --git a/repo/pango/pango.xibuild b/repo/pango/pango.xibuild
index 9f7efab..1174100 100644
--- a/repo/pango/pango.xibuild
+++ b/repo/pango/pango.xibuild
@@ -3,28 +3,32 @@
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"
+MAKEDEPS="cairo expat fontconfig fribidi glib gobject-introspection harfbuzz help2man libxft meson"
-PKG_VER=1.50.9
+PKG_VER=1.50.10
SOURCE="https://download.gnome.org/sources/pango/${PKG_VER%.*}/pango-$PKG_VER.tar.xz"
-ADDITIONAL="disable-broken-test.patch "
+
+ADDITIONAL="
+disable-broken-test.patch
+"
prepare () {
apply_patches
}
-build () {
- mkdir build &&
- cd build &&
- meson --prefix=/usr \
- -Dintrospection=enabled \
+build() {
+ meson --prefix=/usr \
+ -Db_lto=true \
+ -Dintrospection=enabled \
-Dgtk_doc=false \
- ..
-
- ninja
+ build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
}
-package () {
- DESTDIR=$PKG_DEST ninja install
+#check() {
+ #meson test --no-rebuild --print-errorlogs -C build
+#}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C build
}