Diff pipewire-1.4.9-r1 with a pipewire-9999

/usr/portage/media-video/pipewire/pipewire-9999.ebuild 2026-01-18 11:18:03.199802572 +0300
52 52
		PIPEWIRE_DOCS_USEFLAG="man"
53 53
	fi
54 54

  
55
	KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
55
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
56 56
fi
57 57

  
58
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.4.7-0001-don-t-include-standard-C-headers-inside-of-extern-C.patch.xz"
59

  
60 58
DESCRIPTION="Multimedia processing graphs"
61 59
HOMEPAGE="https://pipewire.org/"
62 60

  
63 61
LICENSE="MIT LGPL-2.1+ GPL-2"
64 62
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
65 63
SLOT="0/0.4"
66
IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 loudness lv2"
67
IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf"
64
IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings"
65
IUSE+=" ieee1394 jack-client jack-sdk libcamera liblc3 loudness lv2 modemmanager pipewire-alsa readline roc selinux"
66
IUSE+=" pulseaudio sound-server ssl system-service systemd test v4l X zeroconf"
68 67

  
69 68
# Once replacing system JACK libraries is possible, it's likely that
70 69
# jack-client IUSE will need blocking to avoid users accidentally
......
78 77
#   If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL.
79 78
#   When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally.
80 79
# - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity.
80
# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server?
81 81
REQUIRED_USE="
82 82
	ffmpeg? ( extra )
83 83
	bluetooth? ( dbus )
......
154 154
		!media-sound/jack-audio-connection-kit
155 155
		!media-sound/jack2
156 156
	)
157
	libcamera? ( media-libs/libcamera:= )
157 158
	liblc3? ( media-sound/liblc3 )
158 159
	loudness? ( media-libs/libebur128:=[${MULTILIB_USEDEP}] )
159 160
	lv2? ( media-libs/lilv )
160 161
	modemmanager? ( >=net-misc/modemmanager-1.10.0 )
161 162
	pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] )
163
	pulseaudio? ( media-libs/libpulse )
162 164
	sound-server? ( !media-sound/pulseaudio-daemon )
163 165
	roc? ( >=media-libs/roc-toolkit-0.4.0:= )
164 166
	readline? ( sys-libs/readline:= )
......
190 192

  
191 193
PATCHES=(
192 194
	"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
193
	"${FILESDIR}"/${PN}-1.4.6-no-automagic-ebur128.patch
194
	"${FILESDIR}"/${PN}-1.4.6-no-automagic-fftw.patch
195
	"${WORKDIR}"/${PN}-1.4.7-0001-don-t-include-standard-C-headers-inside-of-extern-C.patch
196 195
)
197 196

  
198 197
pkg_setup() {
......
234 233
		$(meson_native_use_feature gstreamer)
235 234
		$(meson_native_use_feature gstreamer gstreamer-device-provider)
236 235
		$(meson_native_use_feature gsettings)
237
		$(meson_native_use_feature systemd)
236
		$(meson_native_use_feature systemd libsystemd)
238 237
		-Dlogind=${logind}
239 238
		-Dlogind-provider=$(usex systemd 'libsystemd' 'libelogind')
240 239

  
......
283 282
		$(meson_feature fftw)
284 283
		$(meson_native_use_feature lv2)
285 284
		$(meson_native_use_feature v4l v4l2)
286
		-Dlibcamera=disabled # libcamera is not in Portage tree
285
		$(meson_native_use_feature libcamera)
287 286
		$(meson_native_use_feature roc)
288 287
		$(meson_native_use_feature readline)
289 288
		$(meson_native_use_feature ssl raop)
......
309 308
		$(meson_native_use_feature X x11-xfixes)
310 309
		$(meson_native_use_feature X libcanberra)
311 310

  
311
		$(meson_native_use_feature pulseaudio libpulse)
312

  
312 313
		# TODO
313 314
		-Dsnap=disabled
314 315
	)
Thank you!