void-packages/srcpkgs/evas/template

44 lines
1.2 KiB
Plaintext

# Template file for 'evas'
pkgname=evas
version=1.7.9
revision=1
hostmakedepends="libtool pkg-config"
makedepends="
libpng-devel>=1.6 giflib-devel libjpeg-turbo-devel fontconfig-devel
tiff-devel fribidi-devel harfbuzz-devel eet-devel>=${version} pixman-devel
xcb-util-image-devel libICE-devel libXrender-devel libxcb-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=1fd687e43ebe3031be4ac7628043eae1aafca83ce6d1d1f06ff3b59fb4c027f0
if [ "$XBPS_TARGET_MACHINE" = "i686" ] || [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args+=" --enable-gl-xlib"
makedepends+=" MesaLib-devel"
fi
pre_configure() {
libtoolize -f
}
evas-devel_package() {
depends="eet-devel>=${version} pixman-devel fribidi-devel harfbuzz-devel
fontconfig-devel evas>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
evas_package() {
pkg_install() {
vmove all
}
}