summaryrefslogtreecommitdiff
path: root/gdk-pixbuf-32/Pkgfile
blob: 88cdacbfaa3aa4903ca94d2e4bf06128445cf8d2 (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.40.0
    8 release=1
    9 source=(https://download.gnome.org/sources/${name%-*}/${version%.*}/${name%-*}-$version.tar.xz)
   10 
   11 build() {
   12 	cd ${name%-*}-$version
   13 
   14 	export PKG_CONFIG_PATH+=":/usr/share/pkgconfig"
   15 
   16 	meson build --prefix=/usr --libdir=/usr/lib32 \
   17 		-Dinstalled_tests=false \
   18 		-Dman=false
   19 
   20 	DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
   21 
   22 	rm -r $PKG/usr/{include,share}
   23 	find $PKG/usr/bin -type f -not -name gdk-pixbuf-query-loaders -printf 'Removing %P\n' -delete
   24 	mv $PKG/usr/bin/gdk-pixbuf-query-loaders{,-32}
   25 }

Generated by cgit