blob: f0491514ef80cd7551f0b5cdf6458191248c54b5 (
plain)
1 # Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
2 # URL: https://www.gtk.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: elfutils-32 glib libffi-32 libpcre-32 util-linux-32
5
6 name=glib-32
7 version=2.60.6
8 release=1
9 source=(https://download.gnome.org/sources/glib/${version:0:4}/${name%-*}-$version.tar.xz
10 multilib.patch)
11
12 build() {
13 cd ${name%-*}-$version
14
15 patch -p1 -i $SRC/multilib.patch
16
17 meson build --prefix=/usr --libdir=/usr/lib32
18 DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
19
20 rm -r $PKG/usr/{share,include}
21 find $PKG/usr/bin -type f -not -name gio-querymodules \
22 -printf 'Removing %P\n' -delete
23 mv $PKG/usr/bin/gio-querymodules{,-32}
24
25 install -d $PKG/usr/lib32/gio/modules
26 }
|