2012-11-21 11:12:43 -06:00
|
|
|
# Description: An image loading library for GTK+
|
2017-02-15 19:18:07 +11:00
|
|
|
# URL: https://www.gtk.org/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2018-04-17 22:19:54 +10:00
|
|
|
# Depends on: gdk-pixbuf glib-32 libpng-32 libtiff-32 xorg-libx11-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=gdk-pixbuf-32
|
2024-04-22 07:08:09 +02:00
|
|
|
version=2.42.11
|
2020-11-15 16:01:37 +11:00
|
|
|
release=1
|
2017-02-15 19:18:07 +11:00
|
|
|
source=(https://download.gnome.org/sources/${name%-*}/${version%.*}/${name%-*}-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2020-11-15 16:01:37 +11:00
|
|
|
# Run-time dependency shared-mime-info found
|
2023-11-18 14:24:03 +01:00
|
|
|
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig:/usr/share/pkgconfig'
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2020-11-15 16:01:37 +11:00
|
|
|
meson setup build ${name%-*}-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D installed_tests=false \
|
|
|
|
-D introspection=disabled \
|
|
|
|
-D man=false
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2020-11-15 16:01:37 +11:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2016-03-30 12:57:54 +11:00
|
|
|
|
2019-05-26 17:06:33 +10:00
|
|
|
rm -r $PKG/usr/{include,share}
|
|
|
|
find $PKG/usr/bin -type f -not -name gdk-pixbuf-query-loaders -printf 'Removing %P\n' -delete
|
|
|
|
mv $PKG/usr/bin/gdk-pixbuf-query-loaders{,-32}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|