# Template file for 'darktable'
pkgname=darktable
version=2.0.2
revision=2
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+3-devel glib-devel exiv2-devel libglade-devel libxslt-devel
 dbus-glib-devel libcurl-devel libgphoto2-devel libwebp-devel libsoup-devel
 lensfun-devel sqlite-devel librsvg-devel lua52-devel json-glib-devel
 libgomp-devel libopenjpeg-devel libopenexr-devel libgraphicsmagick-devel
 SDL-devel libsecret-devel pugixml-devel libosmgpsmap-devel flickcurl-devel"
depends="adwaita-icon-theme"
only_for_archs="i686 x86_64"  # too much SSE2 stuff all over
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
checksum=75ea6354eb08aab8f25315a2de14c68dc6aad6ee5992061beea624afc7912400
