From b1edf6ef51561764b50d98b131d55f662944300f Mon Sep 17 00:00:00 2001 From: Sughosha Date: Mon, 10 Nov 2025 14:44:04 +0530 Subject: [PATCH] gnu: jalv: Finalize enabling Wayland support. This is a follow-up to commit 16110652a899e4156db12141921e564f7424771d which started enabling Wayland support for jalv. * gnu/packages/audio.scm (jalv)[arguments]: Switch to gexp. <#:phases>: Add 'wrap phase. Change-Id: Iad5aa54da19ede805e31b1796ec5fa7e9797201d --- gnu/packages/audio.scm | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index a58d2d45837a35ded3d1e8f81493bd851773efaa..4363c146893a2deedd9a2c55980cd6ec30d82eb4 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -3254,16 +3254,22 @@ from being able to mix multiple JACK audio streams.") "1q8mzjv577vdi64s47gd4pg0ydzxvs32cwrb1d64v90f52qpgbpd")))) (build-system meson-build-system) (arguments - `(#:tests? #f ; no check target - #:phases - (modify-phases %standard-phases - (add-before 'configure 'build-PIC - ;; The default -fPIE #errors when combined with our Qt packages. - ;; Work around the broken meson.build script clobbering c_args. - (lambda _ - (substitute* "meson.build" - (("'-DZIX_STATIC'" match) - (string-append match ", '-fPIC'")))))))) + (list #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'build-PIC + ;; The default -fPIE #errors when combined with our Qt + ;; packages. Work around the broken meson.build script + ;; clobbering c_args. + (lambda _ + (substitute* "meson.build" + (("'-DZIX_STATIC'" match) + (string-append match ", '-fPIC'"))))) + (add-after 'install 'wrap + (lambda _ + (wrap-program (string-append #$output "/bin/jalv.qt5") + `("QT_PLUGIN_PATH" prefix + (,(getenv "QT_PLUGIN_PATH"))))))))) (inputs (list lv2 lilv