mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] pipewire: follow GLOBAL_SELINUX
@ 2026-11-21  9:09 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21  9:09 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Enable SELinux support when the global option is set instead of always
disabling it.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/pipewire.in   | 1 +
 rules/pipewire.make | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/pipewire.in b/rules/pipewire.in
index 39b6e47a5..229028887 100644
--- a/rules/pipewire.in
+++ b/rules/pipewire.in
@@ -23,6 +23,7 @@ menuconfig PIPEWIRE
 	select UDEV
 	select UDEV_LIBUDEV
 	select WEBRTC_AUDIO_PROCESSING1	if PIPEWIRE_ECHO_CANCEL
+	select LIBSELINUX		if GLOBAL_SELINUX
 	prompt "pipewire                      "
 	help
 	  PipeWire is a server and user space API to deal with multimedia
diff --git a/rules/pipewire.make b/rules/pipewire.make
index 843f53d76..c7c779d06 100644
--- a/rules/pipewire.make
+++ b/rules/pipewire.make
@@ -113,7 +113,7 @@ PIPEWIRE_CONF_OPT	:= \
 	-Drtprio-client=83 \
 	-Drtprio-server=88 \
 	-Dsdl2=disabled \
-	-Dselinux=disabled \
+	-Dselinux=$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)d \
 	-Dsession-managers= \
 	-Dsnap=disabled \
 	-Dsndfile=enabled \
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-21  9:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21  9:09 [ptxdist] [PATCH] pipewire: follow GLOBAL_SELINUX Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox