From: Brice Waegeneire <brice@waegenei.re>
To: 46322@debbugs.gnu.org
Subject: [bug#46322] [staging 2/2] gnu: pulseaudio: Use meson build system.
Date: Fri, 5 Feb 2021 09:00:29 +0100 [thread overview]
Message-ID: <20210205080029.3433-2-brice@waegenei.re> (raw)
In-Reply-To: <20210205075519.2935-1-brice@waegenei.re>
* 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.
---
gnu/packages/pulseaudio.scm | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 0589d86529..b636e23d24 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -50,7 +50,7 @@
#:use-module (gnu packages avahi)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
- #:use-module (gnu packages dbm)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages glib)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
@@ -202,14 +202,20 @@ rates.")
(patches (search-patches
"pulseaudio-fix-mult-test.patch"
"pulseaudio-longer-test-timeout.patch"))))
- (build-system gnu-build-system)
+ (build-system meson-build-system)
(arguments
- `(#:configure-flags (list "--localstatedir=/var" ;"--sysconfdir=/etc"
- "--disable-oss-output"
- "--enable-bluez5"
- (string-append "--with-udev-rules-dir="
- (assoc-ref %outputs "out")
- "/lib/udev/rules.d"))
+ `(#: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")))
#:phases (modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
@@ -221,7 +227,6 @@ rates.")
(setenv "CK_DEFAULT_TIMEOUT" "120")
#t)))))
(inputs
- ;; TODO: Add optional inputs (GTK+?).
`(("alsa-lib" ,alsa-lib)
("bluez" ,bluez)
("sbc" ,sbc)
@@ -250,9 +255,9 @@ rates.")
("perl-xml-parser" ,perl-xml-parser)
("pkg-config" ,pkg-config)))
(propagated-inputs
- ;; 'libpulse*.la' contain `-lgdbm' and `-lcap', so propagate them.
+ ;; 'libpulse*.la' contain `-ltdb' and `-lcap', so propagate them.
`(("libcap" ,libcap)
- ("gdbm" ,gdbm)))
+ ("tdb" ,tdb)))
(home-page "http://www.pulseaudio.org/")
(synopsis "Sound server")
(description
--
2.29.2
next prev parent reply other threads:[~2021-02-05 8:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 7:55 [bug#46322] [staging 0/2] Update pulseaudio to 14.2 and move to meson build system Brice Waegeneire
2021-02-05 8:00 ` [bug#46322] [staging 1/2] gnu: pulseaudio: Update to 14.2 Brice Waegeneire
2021-02-14 20:31 ` Leo Famulari
2021-02-05 8:00 ` Brice Waegeneire [this message]
2021-02-14 20:33 ` [bug#46322] [staging 2/2] gnu: pulseaudio: Use meson build system Leo Famulari
2021-02-16 8:01 ` [bug#46322] [staging 0/2] Update pulseaudio to 14.2 and move to " Brice Waegeneire
2021-02-16 8:01 ` Brice Waegeneire
2021-02-16 17:59 ` Leo Famulari
2021-02-14 20:31 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210205080029.3433-2-brice@waegenei.re \
--to=brice@waegenei.re \
--cc=46322@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).