void-packages/srcpkgs/gdk-pixbuf/template

37 lines
1.1 KiB
Plaintext

# Template build file for 'gdk-pixbuf'.
pkgname=gdk-pixbuf
version=2.28.0
revision=1
build_style=gnu-configure
configure_args="--without-libjasper --with-included-loaders=png --with-x11"
hostmakedepends="perl pkg-config"
makedepends="libglib-devel libpng-devel>=1.5.10 libjpeg-turbo-devel
tiff-devel libX11-devel gobject-introspection"
short_desc="An Image loading library for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=561e37695bfb1b07549588b3fca2e6f05b2320eee75b13748bb7dc5e1257d347
gdk-pixbuf-devel_package() {
depends="perl libpng-devel>=1.5.10 shared-mime-info
${sourcepkg}>=${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove "usr/bin/*csource*"
vmove "usr/share/man/man1/*csource*"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
gdk-pixbuf_package() {
triggers="gtk-pixbuf-loaders"
pkg_install() {
vmove usr
}
}