# Template file for 'eom'
pkgname=eom
version=1.10.2
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-python $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool mate-common $(vopt_if gir gobject-introspection)"
makedepends="gtk+-devel dbus-glib-devel exempi-devel lcms2-devel libexif-devel
 libjpeg-turbo-devel librsvg-devel mate-desktop-devel startup-notification-devel
 mate-icon-theme"
depends="dbus mate-icon-theme"
short_desc="An image viewing and cataloging program for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=af3dfc3228c08c9be5794afafdaf5cd155d05e279b8bc65b38d1eab94639a08e

# Package build options
build_options="gir"

eom-devel_package() {
	short_desc+=" - development files"
	depends="libeom>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
