# Template build file for 'babl'.
pkgname=babl
version=0.1.10
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gegl.org/babl/"
license="LGPL-3"
distfiles="ftp://ftp.gimp.org/pub/babl/0.1/babl-$version.tar.bz2"
checksum=943fc36ceac7dd25bc928256bc7b535a42989c6b971578146869eee5fe5955f4
long_desc="
 babl is a dynamic, any to any, pixel format translation library.

 It allows converting between different methods of storing pixels known
 as pixel formats that have with different bitdepths and other data
 representations, color models and component permutations.

 A vocabulary to formulate new pixel formats from existing primitives is
 provided as well as the framework to add new color models and data types."

babl-devel_package() {
	depends="babl>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

babl_package() {
	pkg_install() {
		vmove usr
	}
}
