# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=gdk-pixbuf-xlib
pkgver=2.40.2
pkgrel=2
pkgdesc="Deprecated Xlib integration for GdkPixbuf"
options="!check" # No testsuite
url="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib"
arch="all"
license="LGPL-2.1-or-later"
makedepends="meson gdk-pixbuf-dev libx11-dev"
subpackages="$pkgname-dev"
source="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib/-/archive/$pkgver/gdk-pixbuf-xlib-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
46dd4775b3e9c11884ded97222661fb93cd3f017d3d083ebc2cd628cef5fb51f8dd62d0d3221ac837cffe967ffb2923184bc1f2a20b201acd4e7bbfc7844d28f  gdk-pixbuf-xlib-2.40.2.tar.gz
"
