blob: 89012c1ca90c77b1bda5901ac8400f2d15dbe7b7 (
plain)
1 # Description: An image loading library for GTK+
2 # URL: https://www.gtk.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: gdk-pixbuf glib-32 libpng-32 libtiff-32 xorg-libx11-32
5
6 name=gdk-pixbuf-32
7 version=2.42.10
8 release=1
9 source=(https://download.gnome.org/sources/${name%-*}/${version%.*}/${name%-*}-$version.tar.xz)
10
11 build() {
12 # Run-time dependency shared-mime-info found
13 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig'
14
15 meson setup build ${name%-*}-$version \
16 --prefix=/usr \
17 --libdir=/usr/lib32 \
18 --buildtype=plain \
19 -D installed_tests=false \
20 -D introspection=disabled \
21 -D man=false
22
23 meson compile -C build -j ${JOBS:-1}
24 DESTDIR=$PKG meson install -C build
25
26 rm -r $PKG/usr/{include,share}
27 find $PKG/usr/bin -type f -not -name gdk-pixbuf-query-loaders -printf 'Removing %P\n' -delete
28 mv $PKG/usr/bin/gdk-pixbuf-query-loaders{,-32}
29 }
|