# Template file for 'evas'
pkgname=evas
version=1.7.7
revision=1
hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.6 giflib-devel libjpeg-turbo-devel fontconfig-devel
 tiff-devel fribidi-devel harfbuzz-devel eet-devel>=1.7.7 pixman-devel
 xcb-util-image-devel libICE-devel libXrender-devel libxcb-devel MesaLib-devel"
build_style=gnu-configure
configure_args="--disable-static --disable-install-examples"
homepage="http://enlightenment.org"
short_desc="A hardware-accelerated canvas API"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/releases/evas-${version}.tar.gz"
checksum=ea8403d58cd079a651c515e76d7812deb0f7c2f41bb9807b3040a023b2fba78c

evas-devel_package() {
	depends="eet-devel>=1.7.7 pixman-devel fribidi-devel harfbuzz-devel
		fontconfig-devel evas>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

evas_package() {
	pkg_install() {
		vmove all
	}
}
