From patchwork Fri Dec 4 18:32:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107435 Received: from mail-dy1-f170.google.com (mail-dy1-f170.google.com [74.125.82.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3876.1796409149282963422 for ; Fri, 04 Dec 2026 10:32:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=B67nct+K; spf=pass (domain: gmail.com, ip: 74.125.82.170, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f170.google.com with SMTP id 5a478bee46e88-386bd881d39so2251848eec.1 for ; Fri, 04 Dec 2026 10:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796409149; x=1797013949; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=og+VpJyJ0OFKO3OGgYpAR8u7JyuNiB/y709vroGmi44=; b=B67nct+KkXM/AiegKpnHpVPhga3fF6nH4gnRpZcvkaH6tiUgHUveBrYj4RW+avTIj3 GWG4vMICY/zJ6vyaOcHlTJhXkdrlq0JHdggu23GLBLYpRDOm5ffYxXN6vkknLG7IDeGA XQGxPnahWAk0V/aASnwezArYEyB42AsvWgI69X1ofKqY0vfqe7gYMWDzepDG1u1l01Fc ztWp9MyoWdLWnaCV60WUvrmRYwaxUtZrSgqA+KWzgl3x9glgJk7Yk7eRcp5AwuUd8+xs Z6nHop97+cOflUATAKXVp/PkO8QqOmJUxs33ONrwHz4895c3JIt7rzX5EUA3LbZsxhkO 1SmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796409149; x=1797013949; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state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PSSak1DJ7VW RPEIDMZ39//RMEUmONFExtnU1gHYJ/qh7lcSpnsZSxvHd3ZLxhliZgWdFHqS14I8cZV2AWM0cU3 V730qV/aIGuePnahWotaBLH+sONJv6pauwYDNFxnINMz4xiDRMuSjkJHzfRkRZe9EWI2NLEB5UH Mpdsi52mk2APjBPXFeFivig1i3SzgVr3msuVyY5reb09OJhtVJTD+AjOnwR4z7cJpnUTklTYvYh HrOLpikzOeJe9QXkzpaVu83sjpDny7et/Tn5uI2RyXsSrdSFf7+tbq39f/tZqoU0F1QKcQC0Dng J46rloK7XnCENKm9/WyKM9+bn608dnfExXo9pa+e1zF/OdsEQCYaCxgUMnWGwQAhV2TxOO/8Jar BXbrqq1tzjHeakrT6Nel26VdLQ== X-Received: by 2002:a05:693c:41d3:20b0:386:b3e6:e741 with SMTP id 5a478bee46e88-387521516c8mr2821935eec.26.1796409148468; Fri, 04 Dec 2026 10:32:28 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521bcc82sm11189231eec.14.2026.12.04.10.32.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:32:28 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 13/13] libpulse: Add recipe Date: Fri, 4 Dec 2026 10:32:11 -0800 Message-ID: <20261204183211.546018-14-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204183211.546018-1-khem.raj@oss.qualcomm.com> References: <20261204183211.546018-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 18:32:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134051 oe-core removed the pulseaudio recipe (pulseaudio: remove the recipe) and replaced pulseaudio with pipewire in DISTRO_FEATURES. GNOME still needs the PulseAudio client library: gnome-shell, gnome-settings-daemon and gnome-control-center all build their bundled libgvc volume control against libpulse and libpulse-mainloop-glib, and none of them has an option to build without it. Binary distributions ship the client library next to PipeWire for the same reason. Build only the client side of pulseaudio 17.0 (-Ddaemon=false): libpulse, libpulse-simple, libpulse-mainloop-glib and the command line tools (pactl, paplay, pacat, ...) in libpulse-utils. At runtime the libraries talk to PipeWire through pipewire-pulse. Add it to meta-oe so that recipes in other layers, such as meta-gnome, can depend on it. Signed-off-by: Khem Raj --- .../libpulse/libpulse_17.0.bb | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 meta-oe/recipes-multimedia/libpulse/libpulse_17.0.bb diff --git a/meta-oe/recipes-multimedia/libpulse/libpulse_17.0.bb b/meta-oe/recipes-multimedia/libpulse/libpulse_17.0.bb new file mode 100644 index 0000000000..1c3600c542 --- /dev/null +++ b/meta-oe/recipes-multimedia/libpulse/libpulse_17.0.bb @@ -0,0 +1,67 @@ +SUMMARY = "PulseAudio client libraries" +DESCRIPTION = "The PulseAudio client libraries (libpulse, libpulse-simple and \ +libpulse-mainloop-glib) and command line tools, built without the sound \ +server. Applications using them talk to PipeWire through pipewire-pulse." +HOMEPAGE = "https://www.freedesktop.org/wiki/Software/PulseAudio/" +BUGTRACKER = "https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues" +SECTION = "libs/multimedia" + +# The client libraries are LGPL-2.1-or-later; BSD-3-Clause and MIT code is +# shared with the server in src/pulsecore. +LICENSE = "LGPL-2.1-or-later AND BSD-3-Clause AND MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5cd938de1a7a53ea5adac38cc10c39 \ + file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ + file://src/pulsecore/filter/LICENSE.WEBKIT;md5=49defbaffddf8c51faf606ff7fc3b1f7 \ + file://src/pulsecore/rtkit.h;beginline=6;endline=29;md5=3f00ff966716ae0817c31576d1473528 \ + " + +SRC_URI = "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-${PV}.tar.xz" +SRC_URI[sha256sum] = "053794d6671a3e397d849e478a80b82a63cb9d8ca296bd35b73317bb5ceb87b5" + +UPSTREAM_CHECK_URI = "https://www.freedesktop.org/software/pulseaudio/releases/" +UPSTREAM_CHECK_REGEX = "pulseaudio-(?P\d+(\.(?!99)\d+)+)\.tar" + +S = "${UNPACKDIR}/pulseaudio-${PV}" + +DEPENDS = "glib-2.0 libsndfile1 m4-native" + +inherit meson pkgconfig gettext bash-completion + +# The glib mainloop symbols in the version script are only defined in +# libpulse-mainloop-glib, so lld's default --no-undefined-version fails. +LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" + +EXTRA_OEMESON = " \ + -Ddaemon=false \ + -Dclient=true \ + -Ddoxygen=false \ + -Dman=false \ + -Dtests=false \ + -Ddatabase=simple \ + -Dglib=enabled \ + -Dgsettings=disabled \ + -Dgtk=disabled \ + -Dorc=disabled \ + -Dopenssl=disabled \ + -Dvalgrind=disabled \ + -Dzshcompletiondir=no \ + -Drunning-from-build-tree=false \ +" + +PACKAGECONFIG ??= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 x11', d)}" +PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" +PACKAGECONFIG[ipv6] = "-Dipv6=true,-Dipv6=false" +PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxtst libice libsm libxcb" + +PACKAGE_BEFORE_PN += "${PN}-simple ${PN}-mainloop-glib ${PN}-utils" + +FILES:${PN}-simple = "${libdir}/libpulse-simple${SOLIBS}" +FILES:${PN}-mainloop-glib = "${libdir}/libpulse-mainloop-glib${SOLIBS}" +FILES:${PN}-utils = "${bindir} ${libdir}/pulseaudio/libpulsedsp.so" +FILES:${PN} += "${libdir}/pulseaudio/libpulsecommon-*.so" +FILES:${PN}-dev += "${libdir}/cmake ${datadir}/vala" + +# pa-info is a bash script +RDEPENDS:${PN}-utils = "bash" + +CONFFILES:${PN} = "${sysconfdir}/pulse/client.conf"