# Template file for 'darktable'
pkgname=darktable
version=2.2.5
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="pkg-config intltool libxslt-devel"
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 libopenjpeg2-devel libopenexr-devel libgraphicsmagick-devel
 libsecret-devel pugixml-devel libosmgpsmap-devel flickcurl-devel
 colord-gtk-devel desktop-file-utils"
depends="adwaita-icon-theme"
# upstream only supports these archs:
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
checksum=e303a42b33f78eb1f48d3b36d1df46f30873df4c5a7b49605314f61c49fbf281
