darktable: aarch64 fixes (#5451)

* exiv2: rebuild for darktable

* darktable: aarch64 fixes
This commit is contained in:
lemmi 2017-01-04 19:30:35 +01:00 committed by Juan RP
parent 2083d0ff8e
commit 55c127b415
2 changed files with 10 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'darktable'
pkgname=darktable
version=2.2.1
revision=1
revision=2
build_style=cmake
# this makes sure to use -march=generic and -msse3
configure_args="-DBINARY_PACKAGE_BUILD=ON"
@ -9,15 +9,20 @@ 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"
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 libopenjpeg-devel libopenexr-devel libgraphicsmagick-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 theser archs:
# 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" \;
}

View file

@ -1,7 +1,7 @@
# Template file for 'exiv2'
pkgname=exiv2
version=0.25
revision=2
revision=3
build_style=gnu-configure
makedepends="zlib-devel expat-devel"
short_desc="Image metadata manipulation"