[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46322] [staging 2/2] gnu: pulseaudio: Use meson build system.
From: |
Leo Famulari |
Subject: |
[bug#46322] [staging 2/2] gnu: pulseaudio: Use meson build system. |
Date: |
Sun, 14 Feb 2021 15:33:52 -0500 |
On Fri, Feb 05, 2021 at 09:00:29AM +0100, Brice Waegeneire wrote:
> * gnu/packages/pulseaudio.scm (pulseaudio)[build-system]: Switch from
> gnu to meson.
> [arguments]: Migrate configure flags for meson.
> [propagated-inputs]: Replace 'gdbm' with 'tdb', upstream default.
> + `(#:configure-flags
> + (let ((out (assoc-ref %outputs "out")))
> + (list "-Doss-output=disable"
> + "-Dbluez5=true"
> + "-Dlocalstatedir=/var"
> + (string-append "-Dudevrulesdir="
> + out "/lib/udev/rules.d")
> + ;; Ensure the RUNPATH contains all installed library
> locations.
> + (string-append "-Dc_link_args=-Wl,-rpath="
> + out "/lib/pulseaudio:"
> + out "/lib:"
> + out "/lib/pulse-14.2/modules")))
We should avoid hard-coding the version string with something like
"/lib/pulse-" ,version "/modules"
Overall LGTM for staging. Maybe you already did this but I recommend
comparing the built outputs of the old and new versions to make sure we
don't accidentally lose any components by using the new build system.