gnome-decoder: fixup build after pipewire updates

This commit is contained in:
Vladimír Čunát 2023-02-28 10:22:10 +01:00
parent adec518c62
commit bcf8849a81
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -65,6 +65,12 @@ clangStdenv.mkDerivation rec {
LIBCLANG_PATH = "${libclang.lib}/lib";
# FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream
# https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55
preBuild = ''
export BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS -DPW_ENABLE_DEPRECATED"
'';
meta = with lib; {
description = "Scan and Generate QR Codes";
homepage = "https://gitlab.gnome.org/World/decoder";