From ea83c0159e2cd139f43841d8fa1b3a4ab38f1dbc Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 27 Jan 2019 03:49:28 +0100 Subject: [PATCH] darktable: enable on ppc64le [ci skip] --- srcpkgs/darktable/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 5a21077cd4..b6274c424e 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -3,7 +3,7 @@ pkgname=darktable version=2.6.0 revision=2 # upstream only supports these archs: -only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl" +only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl ppc64le ppc64le-musl" build_style=cmake # this makes sure to use -march=generic and -msse3 configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON @@ -23,3 +23,7 @@ homepage="http://www.darktable.org/" changelog="https://github.com/darktable-org/darktable/releases" distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz" checksum=483d7d8e4ac532d89efc2f24e169f7a7da2d3ef0c599602b658d67a040670478 + +case "$XBPS_TARGET_MACHINE" in + ppc64le*) configure_args+=" -DUSE_OPENCL=OFF" +esac