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/gdk-pixbuf/gdk-pixbuf.xibuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 repo/x11/gdk-pixbuf/gdk-pixbuf.xibuild (limited to 'repo/x11/gdk-pixbuf/gdk-pixbuf.xibuild') diff --git a/repo/x11/gdk-pixbuf/gdk-pixbuf.xibuild b/repo/x11/gdk-pixbuf/gdk-pixbuf.xibuild new file mode 100644 index 0000000..fe704e9 --- /dev/null +++ b/repo/x11/gdk-pixbuf/gdk-pixbuf.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="gdk-pixbuf" +DESC="GTK+ image loading library" + +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 \ + .. && + ninja +} + +check () { + meson test -t 10 +} + +package () { + DESTDIR=$PKG_DEST ninja install +} + +postinstall () { + gdk-pixbuf-query-loaders --update-cache +} -- cgit v1.2.1