From cd7c40a870d720cb3122e6ab279fe192120d41ae Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 5 Jan 2022 17:30:51 +0100 Subject: [PATCH] darktable: add missing optional dependencies --- common/options.description | 1 + srcpkgs/darktable/template | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/common/options.description b/common/options.description index 46e24a140e52..ac0f14c0843d 100644 --- a/common/options.description +++ b/common/options.description @@ -3,6 +3,7 @@ desc_option_acl="Enable support for ACLs and Extended Attributes" desc_option_alsa="Enable support for ALSA" desc_option_aom="Enable support for the AV1 codec" desc_option_avahi="Enable support for Avahi" +desc_option_avif="Enable support for avif image format" desc_option_backtrace="Enable support for backtraces via libunwind" desc_option_bluetooth="Enable support for bluetooth" desc_option_cdparanoia="Enable support for CD audio (cdparanoia)" diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 2951cfda3560..6ddade65ac18 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -1,7 +1,7 @@ # Template file for 'darktable' pkgname=darktable version=3.8.0 -revision=1 +revision=2 # upstream only supports these archs: archs="x86_64* aarch64* ppc64le*" build_style=cmake @@ -14,7 +14,8 @@ makedepends="gtk+3-devel glib-devel exiv2-devel libglade-devel libxslt-devel lensfun-devel sqlite-devel librsvg-devel lua54-devel json-glib-devel libgomp-devel libopenjpeg2-devel libopenexr-devel libgraphicsmagick-devel libsecret-devel pugixml-devel libosmgpsmap-devel colord-gtk-devel - $(vopt_if gmic gmic-devel)" + libheif-devel portmidi-devel $(vopt_if gmic gmic-devel) + $(vopt_if avif libavif-devel) $(vopt_if sdl2 SDL2-devel)" depends="adwaita-icon-theme" short_desc="Virtual lighttable and darkroom for photographers" maintainer="lemmi " @@ -24,10 +25,13 @@ changelog="https://github.com/darktable-org/darktable/releases" distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz" checksum=2e65c7c78d074ad218e3ef7a8c3051a8ea78f4a0406386667859645e5e4bf705 -build_options="gmic" +# 2022-01-05 +# avif doesn't load correctly, disable avif by default for now: +# [imageio_load_module_format] failed to open `avif': (null) +build_options="avif gmic sdl2" if [ ! "$CROSS_BUILD" ]; then - build_options_default+=" gmic" + build_options_default+=" gmic sdl2" fi # Temporarily disable OpenMP for aarch64: