# Template file for 'gdk-pixbuf-xlib'
pkgname=gdk-pixbuf-xlib
version=2.40.2
revision=1
build_style=meson
#hostmakedepends="gettext-devel glib-devel pkg-config libxslt docbook-xsl"
hostmakedepends="pkg-config"
makedepends="libX11-devel gdk-pixbuf-devel"
depends="shared-mime-info"
short_desc="Image loading library for The GTK+ toolkit (v2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GdkPixbuf"
distfiles="https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib/-/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=e7d9b6a8ca53b6500a82ee8d5a1b3c17780740a6ca7bf04a5dabba0fe50bb7ff

gdk-pixbuf-xlib-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}
	 gdk-pixbuf>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
		vmove usr/include
	}
}
