~ruther/guix-local

b1edf6ef51561764b50d98b131d55f662944300f — Sughosha 4 months ago 2f7da53
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
1 files changed, 16 insertions(+), 10 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +16 -10
@@ 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