void-packages/srcpkgs/darktable/template
lemmi 55c127b415 darktable: aarch64 fixes (#5451)
* exiv2: rebuild for darktable

* darktable: aarch64 fixes
2017-01-04 19:30:35 +01:00

28 lines
1.2 KiB
Bash

# Template file for 'darktable'
pkgname=darktable
version=2.2.1
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"
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=da843190f08e02df19ccbc02b9d1bef6bd242b81499494c7da2cccdc520e24fc
post_configure() {
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \;
}