darktable: update to 4.8.1.
This commit is contained in:
parent
f6b0cf8ca0
commit
4c8ca645f2
|
@ -1,6 +1,6 @@
|
||||||
From 463bca74a122dd3792a554100d30654fcfd6c8ec Mon Sep 17 00:00:00 2001
|
From 32c00c02073379ae0a85ecea53e57cd9c64ffe29 Mon Sep 17 00:00:00 2001
|
||||||
From: lemmi <lemmi@nerd2nerd.org>
|
From: lemmi <lemmi@nerd2nerd.org>
|
||||||
Date: Wed, 22 Jun 2022 00:29:08 +0200
|
Date: Thu, 25 Jul 2024 00:08:24 +0200
|
||||||
Subject: [PATCH] define target_clones attribute only for glibc
|
Subject: [PATCH] define target_clones attribute only for glibc
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -8,18 +8,18 @@ Subject: [PATCH] define target_clones attribute only for glibc
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/src/common/darktable.h b/src/common/darktable.h
|
diff --git a/src/common/darktable.h b/src/common/darktable.h
|
||||||
index aad6169f8..87843d450 100644
|
index c21248b0dc..5d9a272767 100644
|
||||||
--- a/src/common/darktable.h
|
--- a/src/common/darktable.h
|
||||||
+++ b/src/common/darktable.h
|
+++ b/src/common/darktable.h
|
||||||
@@ -127,7 +127,7 @@ typedef unsigned int u_int;
|
@@ -150,7 +150,7 @@ extern "C" {
|
||||||
/* Create cloned functions for various CPU SSE generations */
|
/* Create cloned functions for various CPU SSE generations */
|
||||||
/* See for instructions https://hannes.hauswedell.net/post/2017/12/09/fmv/ */
|
/* See for instructions https://hannes.hauswedell.net/post/2017/12/09/fmv/ */
|
||||||
/* TL;DR : use only on SIMD functions containing low-level paralellized/vectorized loops */
|
/* TL;DR : use only on SIMD functions containing low-level paralellized/vectorized loops */
|
||||||
-#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH)
|
-#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH) && !defined(__APPLE__)
|
||||||
+#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH) && defined(__GLIBC__)
|
+#if __has_attribute(target_clones) && !defined(_WIN32) && !defined(NATIVE_ARCH) && !defined(__APPLE__) && defined(__GLIBC__)
|
||||||
# if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)
|
# if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64)
|
||||||
#define __DT_CLONE_TARGETS__ __attribute__((target_clones("default", "sse2", "sse3", "sse4.1", "sse4.2", "popcnt", "avx", "avx2", "avx512f", "fma4")))
|
#define __DT_CLONE_TARGETS__ __attribute__((target_clones("default", "sse2", "sse3", "sse4.1", "sse4.2", "popcnt", "avx", "avx2", "avx512f", "fma4")))
|
||||||
# elif defined(__PPC64__)
|
# elif defined(__PPC64__)
|
||||||
--
|
--
|
||||||
2.36.1
|
2.45.2
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'darktable'
|
# Template file for 'darktable'
|
||||||
pkgname=darktable
|
pkgname=darktable
|
||||||
version=4.6.1
|
version=4.8.1
|
||||||
revision=2
|
revision=1
|
||||||
# upstream only supports these archs:
|
# upstream only supports these archs:
|
||||||
archs="x86_64* aarch64* ppc64le*"
|
archs="x86_64* aarch64* ppc64le*"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -23,7 +23,12 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://www.darktable.org/"
|
homepage="https://www.darktable.org/"
|
||||||
changelog="https://github.com/darktable-org/darktable/releases"
|
changelog="https://github.com/darktable-org/darktable/releases"
|
||||||
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
|
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
|
||||||
checksum=16edc0a070293e2d3cda4ea10e49bda9bde932e23f9e62e2fa2e7ac74acf7afd
|
checksum=901b0e2caed36fb8619fdf4c60edfb8d31134b947d3054b5c66fd55c38af5991
|
||||||
|
|
||||||
build_options="avif gmic sdl2"
|
build_options="avif gmic sdl2"
|
||||||
build_options_default="avif gmic sdl2"
|
build_options_default="avif sdl2"
|
||||||
|
|
||||||
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
aarch64) ;;
|
||||||
|
*) build_options_default+=" gmic" ;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in New Issue