void-packages/srcpkgs/gdk-pixbuf/template
2013-04-30 10:28:25 +02:00

35 lines
1 KiB
Text

# Template build file for 'gdk-pixbuf'.
pkgname=gdk-pixbuf
version=2.28.1
revision=2
build_style=gnu-configure
configure_args="--without-libjasper --with-included-loaders=png --with-x11"
hostmakedepends="perl pkg-config"
makedepends="libglib-devel libpng-devel>=1.6 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=bea0b743fdb5c3c8e23210f73623ec5f18f9ead2522942897fe739d80b50c2bb
gdk-pixbuf-devel_package() {
depends="perl libpng-devel>=1.6 shared-mime-info ${sourcepkg}>=${version}"
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
}
}