From 606bc59d0f8f67815c6a717843835477d44db6b3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 1 May 2022 21:21:05 +0000 Subject: added ungoogled chromium --- repo/x11/gdk-pixbuf.xibuild | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'repo/x11/gdk-pixbuf.xibuild') 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 +} -- cgit v1.2.1