# Template file for 'darktable' pkgname=darktable version=2.2.2 revision=1 build_style=cmake # this makes sure to use -march=generic and -msse3 configure_args="-DBINARY_PACKAGE_BUILD=ON" maintainer="lemmi " 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=766d7d734e7bd5a33f6a6932a43b15cc88435c64ad9a0b20410ba5b4706941c2 case "${XBPS_TARGET_MACHINE}" in i686*) broken="Expat.c: loadable library and perl binaries are mismatched (got handshake key 0x7f00080, needed 0x7e00080)";; esac