summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/Pkgfile
blob: d52ad5cfad3c3928ad684b08125fda440f04660e (plain)
    1 # Description: An image loading library for GTK+
    2 # URL: https://wiki.gnome.org/Projects/GdkPixbuf
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 # Depends on: gobject-introspection libpng libtiff shared-mime-info
    5 
    6 name=gdk-pixbuf
    7 version=2.42.10
    8 release=1
    9 source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz
   10 	gdk-pixbuf.loaders gdk-pixbuf-register.sh)
   11 
   12 build() {
   13 	meson setup build $name-$version \
   14 		--prefix=/usr \
   15 		--buildtype=plain \
   16 		--wrap-mode nodownload \
   17 		-D b_lto=true \
   18 		-D b_pie=true \
   19 		-D installed_tests=false \
   20 		-D man=false
   21 
   22 	meson compile -C build -j ${JOBS:-1}
   23 	DESTDIR=$PKG meson install  -C build
   24 
   25 	install -m 644 $SRC/gdk-pixbuf.loaders \
   26 		$PKG/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
   27 	install -m 755 $SRC/gdk-pixbuf-register.sh \
   28 		$PKG/usr/bin/gdk-pixbuf-register
   29 	rm -r $PKG/usr/share/locale
   30 }

Generated by cgit