# Template file for 'darktable'
pkgname=darktable
version=1.6.7
revision=1
build_style=cmake
#this makes sure to use -march=generic and -msse3
configure_args="-DBINARY_PACKAGE_BUILD=ON"
maintainer="lemmi <lemmi@nerd2nerd.org>"
homepage="http://www.darktable.org/"
license="GPL-3"
short_desc="Virtual lighttable and darkroom for photographers"
hostmakedepends="cmake pkg-config intltool"
makedepends="gtk+-devel glib-devel exiv2-devel lcms2-devel
	 libglade-devel libxslt-devel dbus-glib-devel libcurl-devel libgphoto2-devel
	 libwebp-devel libsoup-devel lensfun-devel sqlite-devel librsvg-devel
	 lua-devel json-glib-devel libgomp-devel colord-devel
	 libopenjpeg-devel libopenexr-devel libgraphicsmagick-devel
	 SDL-devel libsecret-devel glu-devel"
only_for_archs="i686 x86_64 x86_64-musl"  # too much SSE2 stuff all over

distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
checksum=a75073b49df0a30cd2686624feeb6210bc083bc37112ae6e045f8523db4c4c98
