summaryrefslogtreecommitdiff
path: root/repo/x11/gdk-pixbuf.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
committerdavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
commit606bc59d0f8f67815c6a717843835477d44db6b3 (patch)
tree687b3fe5bc844b90a3841e1ea543aa9f9934a93a /repo/x11/gdk-pixbuf.xibuild
parent1084afc3c4d9c83e61620de60ba59a4393a33cb0 (diff)
added ungoogled chromium
Diffstat (limited to 'repo/x11/gdk-pixbuf.xibuild')
-rw-r--r--repo/x11/gdk-pixbuf.xibuild17
1 files changed, 15 insertions, 2 deletions
diff --git a/repo/x11/gdk-pixbuf.xibuild b/repo/x11/gdk-pixbuf.xibuild
index 66d5a0f..fe704e9 100644
--- a/repo/x11/gdk-pixbuf.xibuild
+++ b/repo/x11/gdk-pixbuf.xibuild
@@ -3,22 +3,35 @@
NAME="gdk-pixbuf"
DESC="GTK+ image loading library"
-MAKEDEPS="meson ninja "
+MAKEDEPS="meson ninja gobject-introspection"
DEPS="sbase glib shared-mime-info intltool libpng libjpeg-turbo tiff musl"
PKG_VER=2.42.8
SOURCE="https://download.gnome.org/sources/gdk-pixbuf/${PKG_VER%.*}/gdk-pixbuf-$PKG_VER.tar.xz"
+ADDITIONAL="disable-tests.patch"
+
+prepare () {
+ touch gdk-pixbuf/loaders.cache
+}
+
build () {
mkdir build &&
cd build &&
meson --prefix=/usr \
-Dinstalled_tests=false \
- -Dpng=disabled \
.. &&
ninja
}
+check () {
+ meson test -t 10
+}
+
package () {
DESTDIR=$PKG_DEST ninja install
}
+
+postinstall () {
+ gdk-pixbuf-query-loaders --update-cache
+}