blob: 53db676022556d9bd1f498086b8699b89cad976b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
NAME="gdk-pixbuf"
DESC="GTK+ image loading library"
MAKEDEPS="meson ninja gobject-introspection sbase glib shared-mime-info intltool libpng libjpeg-turbo tiff musl python-docutils"
PKG_VER=2.42.9
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
}
|