darktable: add missing optional dependencies

This commit is contained in:
lemmi 2022-01-05 17:30:51 +01:00
parent 6f50eb3dae
commit 8d8b240342
2 changed files with 9 additions and 4 deletions

View File

@ -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)"

View File

@ -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 <lemmi@nerd2nerd.org>"
@ -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: