1 |
commit: 8a96bb446ba2b42bf0d75226d0d4ee7fbd0817b1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 02:06:53 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 02:06:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a96bb44 |
7 |
|
8 |
media-video/pipewire: drop 0.3.57 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
media-video/pipewire/Manifest | 1 - |
13 |
media-video/pipewire/pipewire-0.3.57.ebuild | 429 ---------------------------- |
14 |
2 files changed, 430 deletions(-) |
15 |
|
16 |
diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest |
17 |
index 6d7c05c094b5..36b711fc2fcb 100644 |
18 |
--- a/media-video/pipewire/Manifest |
19 |
+++ b/media-video/pipewire/Manifest |
20 |
@@ -1,5 +1,4 @@ |
21 |
DIST pipewire-0.3.51.tar.gz 1789070 BLAKE2B 8538eb9f2178efa26365f30b324b707826e580caa1fd9c09b62c561c140c14186e0d2b04808fa78eb5642ddccf1a347def19934ecd654be06b215a693075b6fc SHA512 a762fd260b4b14ad9ef142be11ab1c22268da6726e2179559ffb254f0ce7daf7a502779e33c64313a9c6a9fc1bd15150b76be04ec81aa27c35dbb4333cecdb4a |
22 |
DIST pipewire-0.3.56.tar.gz 1856321 BLAKE2B 62fb5d5a83b3cfc0555f09da42c8d4fbe69f34432add57f91a9c001535340a84f54572af4a5ba138251888cba9be0c038317dfe929d2e2ef36ff62f4679c6ea0 SHA512 a1ba598c56130a30e573d3ce3ac5879d800d3005a47075c45353d968c97c12f74d85802cd171b61558c06c474a03bbe4885396ca430a0af6c5672ed00f43d108 |
23 |
-DIST pipewire-0.3.57.tar.gz 1882902 BLAKE2B d4227c056279dca5e4a8efb17b0d3d0c5e94664df15d208cde47b882cd8f25be897c6e39833b1c2997628bf97c023d97ebdba727c81c21e05298faa6abfee1b4 SHA512 f1fdd2d4093d5696b189b59497d16fed1fdb1a8fd14a563303c20b81b861e3bed7eaddb4b029d3ddb3e7ec248ff6b9db45a76d4e7a8fa6b7aa76ce23cfc6deae |
24 |
DIST pipewire-0.3.58.tar.gz 1893021 BLAKE2B 65c93b3b5b2594799ceac4e5bd0700a15589dc13f7e8f308731b90f2514888f605f67434ef1d1248c6ce348cdde65839c1e7cf3ed68068f217e769ec78743785 SHA512 06fb308fe6a1573ccb955f6e39aef7e4ab0d1b9f4fdeee11b9d6910940f154fac8ce7f2daae5b3ba7d1eb22771590bd13a38622d316affa2cda71bfd8d91de7b |
25 |
DIST pipewire-0.3.59.tar.gz 1909977 BLAKE2B 098a75060799013e9a5e5ac4b0c7c62e788318a85df9616f6c441255b5a50acae9da01887ee20c60995878601c22a0eda4fec640bafc941cfa20e0cf751f6189 SHA512 1183dc083553ece1f9157898f437996b88dc7d13ba69aa43886f5339f330130404274ceb08ac8ec05a5ccb84dfca56b524a1d4b3fb07e28a41741c5c3333eda0 |
26 |
|
27 |
diff --git a/media-video/pipewire/pipewire-0.3.57.ebuild b/media-video/pipewire/pipewire-0.3.57.ebuild |
28 |
deleted file mode 100644 |
29 |
index f8327c0c3219..000000000000 |
30 |
--- a/media-video/pipewire/pipewire-0.3.57.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,429 +0,0 @@ |
33 |
-# Copyright 1999-2022 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=8 |
37 |
- |
38 |
-# 1. Please regularly check (even at the point of bumping) Fedora's packaging |
39 |
-# for needed backports at https://src.fedoraproject.org/rpms/pipewire/tree/rawhide. |
40 |
-# |
41 |
-# 2. Upstream also sometimes amend release notes for the previous release to mention |
42 |
-# needed patches, e.g. https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.55#distros |
43 |
-# |
44 |
-# 3. Keep an eye on git master (for both PipeWire and WirePlumber) as things |
45 |
-# continue to move quickly. It's not uncommon for fixes to be made shortly |
46 |
-# after releases. |
47 |
- |
48 |
-PYTHON_COMPAT=( python3_{8..11} ) |
49 |
- |
50 |
-inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd udev |
51 |
- |
52 |
-if [[ ${PV} == 9999 ]]; then |
53 |
- EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" |
54 |
- inherit git-r3 |
55 |
-else |
56 |
- if [[ ${PV} == *_p* ]] ; then |
57 |
- MY_COMMIT="" |
58 |
- SRC_URI="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${MY_COMMIT}/pipewire-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2" |
59 |
- S="${WORKDIR}"/${PN}-${MY_COMMIT} |
60 |
- else |
61 |
- SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" |
62 |
- fi |
63 |
- |
64 |
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
65 |
-fi |
66 |
- |
67 |
-DESCRIPTION="Multimedia processing graphs" |
68 |
-HOMEPAGE="https://pipewire.org/" |
69 |
- |
70 |
-LICENSE="MIT LGPL-2.1+ GPL-2" |
71 |
-# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 |
72 |
-SLOT="0/0.4" |
73 |
-IUSE="bluetooth dbus doc echo-cancel extra flatpak gstreamer jack-client jack-sdk lv2 |
74 |
-pipewire-alsa sound-server ssl system-service systemd test udev v4l X zeroconf" |
75 |
- |
76 |
-# Once replacing system JACK libraries is possible, it's likely that |
77 |
-# jack-client IUSE will need blocking to avoid users accidentally |
78 |
-# configuring their systems to send PW sink output to the emulated |
79 |
-# JACK's sink - doing so is likely to yield no audio, cause a CPU |
80 |
-# cycles consuming loop (and may even cause GUI crashes)! |
81 |
- |
82 |
-# TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but ALSA is always enabled |
83 |
-# TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server connection will work |
84 |
-# which provides adequate guarantee that alsa-lib will be able to provide audio services. |
85 |
-# If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. |
86 |
-# When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. |
87 |
-REQUIRED_USE=" |
88 |
- jack-sdk? ( !jack-client ) |
89 |
- system-service? ( systemd ) |
90 |
- !sound-server? ( !pipewire-alsa ) |
91 |
- jack-client? ( dbus ) |
92 |
-" |
93 |
- |
94 |
-RESTRICT="!test? ( test )" |
95 |
- |
96 |
-BDEPEND=" |
97 |
- >=dev-util/meson-0.59 |
98 |
- virtual/pkgconfig |
99 |
- ${PYTHON_DEPS} |
100 |
- $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]') |
101 |
- doc? ( |
102 |
- app-doc/doxygen |
103 |
- media-gfx/graphviz |
104 |
- ) |
105 |
-" |
106 |
-RDEPEND=" |
107 |
- acct-group/audio |
108 |
- media-libs/alsa-lib |
109 |
- sys-libs/readline:= |
110 |
- sys-libs/ncurses:=[unicode(+)] |
111 |
- virtual/libintl[${MULTILIB_USEDEP}] |
112 |
- bluetooth? ( |
113 |
- media-libs/fdk-aac |
114 |
- media-libs/libldac |
115 |
- media-libs/libfreeaptx |
116 |
- media-libs/opus |
117 |
- media-libs/sbc |
118 |
- >=net-wireless/bluez-4.101:= |
119 |
- virtual/libusb:1 |
120 |
- ) |
121 |
- dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) |
122 |
- echo-cancel? ( media-libs/webrtc-audio-processing:0 ) |
123 |
- extra? ( |
124 |
- >=media-libs/libsndfile-1.0.20 |
125 |
- ) |
126 |
- flatpak? ( |
127 |
- dev-libs/glib |
128 |
- ) |
129 |
- gstreamer? ( |
130 |
- >=dev-libs/glib-2.32.0:2 |
131 |
- >=media-libs/gstreamer-1.10.0:1.0 |
132 |
- media-libs/gst-plugins-base:1.0 |
133 |
- ) |
134 |
- jack-client? ( >=media-sound/jack2-1.9.10:2[dbus] ) |
135 |
- jack-sdk? ( |
136 |
- !media-sound/jack-audio-connection-kit |
137 |
- !media-sound/jack2 |
138 |
- ) |
139 |
- lv2? ( media-libs/lilv ) |
140 |
- pipewire-alsa? ( |
141 |
- >=media-libs/alsa-lib-1.1.7[${MULTILIB_USEDEP}] |
142 |
- ) |
143 |
- sound-server? ( |
144 |
- !media-sound/pulseaudio[daemon(+)] |
145 |
- !media-sound/pulseaudio-daemon |
146 |
- ) |
147 |
- ssl? ( dev-libs/openssl:= ) |
148 |
- systemd? ( sys-apps/systemd ) |
149 |
- system-service? ( |
150 |
- acct-user/pipewire |
151 |
- acct-group/pipewire |
152 |
- ) |
153 |
- udev? ( virtual/libudev[${MULTILIB_USEDEP}] ) |
154 |
- v4l? ( media-libs/libv4l ) |
155 |
- X? ( |
156 |
- media-libs/libcanberra |
157 |
- x11-libs/libX11 |
158 |
- x11-libs/libXfixes |
159 |
- ) |
160 |
- zeroconf? ( net-dns/avahi ) |
161 |
-" |
162 |
- |
163 |
-DEPEND="${RDEPEND}" |
164 |
- |
165 |
-# TODO: Consider use cases where pipewire is not used for driving audio |
166 |
-# Doing so with WirePlumber currently involves editing Lua scripts |
167 |
-PDEPEND=">=media-video/wireplumber-0.4.8-r3" |
168 |
- |
169 |
-# Present RDEPEND that are currently always disabled due to the PW |
170 |
-# code using them being required to be disabled by Gentoo guidelines |
171 |
-# (i.e. developer binaries not meant for users) and unready code |
172 |
-# media-video/ffmpeg:= |
173 |
-# media-libs/libsdl2 |
174 |
-# >=media-libs/vulkan-loader-1.1.69 |
175 |
-# |
176 |
-# Ditto for DEPEND |
177 |
-# >=dev-util/vulkan-headers-1.1.69 |
178 |
- |
179 |
-DOCS=( {README,INSTALL}.md NEWS ) |
180 |
- |
181 |
-PATCHES=( |
182 |
- "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch |
183 |
-) |
184 |
- |
185 |
-# limitsdfile related code taken from =sys-auth/realtime-base-0.1 |
186 |
-# with changes as necessary. |
187 |
-limitsdfile=40-${PN}.conf |
188 |
- |
189 |
-python_check_deps() { |
190 |
- python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" |
191 |
-} |
192 |
- |
193 |
-src_prepare() { |
194 |
- default |
195 |
- |
196 |
- einfo "Generating ${limitsdfile}" |
197 |
- cat > ${limitsdfile} <<- EOF || die |
198 |
- # Start of ${limitsdfile} from ${P} |
199 |
- |
200 |
- @audio - memlock 256 |
201 |
- |
202 |
- $(use system-service && { |
203 |
- echo @pipewire - rtprio 95 |
204 |
- echo @pipewire - nice -19 |
205 |
- echo @pipewire - memlock 4194304 |
206 |
- }) |
207 |
- |
208 |
- # End of ${limitsdfile} from ${P} |
209 |
- EOF |
210 |
-} |
211 |
- |
212 |
-multilib_src_configure() { |
213 |
- # https://bugs.gentoo.org/838301 |
214 |
- filter-flags -fno-semantic-interposition |
215 |
- |
216 |
- local emesonargs=( |
217 |
- -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} |
218 |
- |
219 |
- $(meson_feature dbus) |
220 |
- $(meson_native_use_feature zeroconf avahi) |
221 |
- $(meson_native_use_feature doc docs) |
222 |
- $(meson_native_enabled examples) # TODO: Figure out if this is still important now that media-session gone |
223 |
- $(meson_native_enabled man) |
224 |
- $(meson_feature test tests) |
225 |
- -Dinstalled_tests=disabled # Matches upstream; Gentoo never installs tests |
226 |
- $(meson_native_use_feature gstreamer) |
227 |
- $(meson_native_use_feature gstreamer gstreamer-device-provider) |
228 |
- $(meson_native_use_feature systemd) |
229 |
- |
230 |
- $(meson_native_use_feature system-service systemd-system-service) |
231 |
- -Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)" |
232 |
- -Dsystemd-user-unit-dir="$(systemd_get_userunitdir)" |
233 |
- |
234 |
- $(meson_native_use_feature systemd systemd-user-service) |
235 |
- $(meson_feature pipewire-alsa) # Allows integrating ALSA apps into PW graph |
236 |
- -Dspa-plugins=enabled |
237 |
- -Dalsa=enabled # Allows using kernel ALSA for sound I/O (NOTE: media-session is gone so IUSE=alsa/spa_alsa/alsa-backend might be possible) |
238 |
- -Daudiomixer=enabled # Matches upstream |
239 |
- -Daudioconvert=enabled # Matches upstream |
240 |
- $(meson_native_use_feature bluetooth bluez5) |
241 |
- $(meson_native_use_feature bluetooth bluez5-backend-hsp-native) |
242 |
- $(meson_native_use_feature bluetooth bluez5-backend-hfp-native) |
243 |
- $(meson_native_use_feature bluetooth bluez5-backend-ofono) |
244 |
- $(meson_native_use_feature bluetooth bluez5-backend-hsphfpd) |
245 |
- $(meson_native_use_feature bluetooth bluez5-codec-aac) |
246 |
- $(meson_native_use_feature bluetooth bluez5-codec-aptx) |
247 |
- $(meson_native_use_feature bluetooth bluez5-codec-ldac) |
248 |
- $(meson_native_use_feature bluetooth bluez5-codec-opus) |
249 |
- $(meson_native_use_feature bluetooth libusb) # At least for now only used by bluez5 native (quirk detection of adapters) |
250 |
- $(meson_native_use_feature echo-cancel echo-cancel-webrtc) #807889 |
251 |
- # Not yet packaged. |
252 |
- -Dbluez5-codec-lc3plus=disabled |
253 |
- -Dcontrol=enabled # Matches upstream |
254 |
- -Daudiotestsrc=enabled # Matches upstream |
255 |
- -Dffmpeg=disabled # Disabled by upstream and no major developments to spa/plugins/ffmpeg/ since May 2020 |
256 |
- $(meson_native_use_feature flatpak) |
257 |
- -Dpipewire-jack=enabled # Allows integrating JACK apps into PW graph |
258 |
- $(meson_native_use_feature jack-client jack) # Allows PW to act as a JACK client |
259 |
- $(meson_use jack-sdk jack-devel) |
260 |
- $(usex jack-sdk "-Dlibjack-path=${EPREFIX}/usr/$(get_libdir)" '') |
261 |
- -Dsupport=enabled # Miscellaneous/common plugins, such as null sink |
262 |
- -Devl=disabled # Matches upstream |
263 |
- -Dtest=disabled # fakesink and fakesource plugins |
264 |
- $(meson_native_use_feature lv2) |
265 |
- $(meson_native_use_feature v4l v4l2) |
266 |
- -Dlibcamera=disabled # libcamera is not in Portage tree |
267 |
- $(meson_native_use_feature ssl raop) |
268 |
- -Dvideoconvert=enabled # Matches upstream |
269 |
- -Dvideotestsrc=enabled # Matches upstream |
270 |
- -Dvolume=enabled # Matches upstream |
271 |
- -Dvulkan=disabled # Uses pre-compiled Vulkan compute shader to provide a CGI video source (dev thing; disabled by upstream) |
272 |
- $(meson_native_use_feature extra pw-cat) |
273 |
- $(meson_feature udev) |
274 |
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" |
275 |
- -Dsdl2=disabled # Controls SDL2 dependent code (currently only examples when -Dinstalled_tests=enabled which we never install) |
276 |
- $(meson_native_use_feature extra sndfile) # Enables libsndfile dependent code (currently only pw-cat) |
277 |
- -Dsession-managers="[]" # All available session managers are now their own projects, so there's nothing to build |
278 |
- |
279 |
- # Just for bell sounds in X11 right now. |
280 |
- $(meson_native_use_feature X x11) |
281 |
- $(meson_native_use_feature X x11-xfixes) |
282 |
- $(meson_native_use_feature X libcanberra) |
283 |
- ) |
284 |
- |
285 |
- meson_src_configure |
286 |
-} |
287 |
- |
288 |
-multilib_src_install() { |
289 |
- # Our custom DOCS do not exist in multilib source directory |
290 |
- DOCS= meson_src_install |
291 |
-} |
292 |
- |
293 |
-multilib_src_install_all() { |
294 |
- einstalldocs |
295 |
- |
296 |
- insinto /etc/security/limits.d |
297 |
- doins ${limitsdfile} |
298 |
- |
299 |
- if use pipewire-alsa; then |
300 |
- dodir /etc/alsa/conf.d |
301 |
- |
302 |
- # Install pipewire conf loader hook |
303 |
- insinto /usr/share/alsa/alsa.conf.d |
304 |
- doins "${FILESDIR}"/99-pipewire-default-hook.conf |
305 |
- eprefixify "${ED}"/usr/share/alsa/alsa.conf.d/99-pipewire-default-hook.conf |
306 |
- |
307 |
- # These will break if someone has /etc that is a symbolic link to a subfolder! See #724222 |
308 |
- # And the current dosym8 -r implementation is likely affected by the same issue, too. |
309 |
- dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf |
310 |
- dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default-hook.conf /etc/alsa/conf.d/99-pipewire-default-hook.conf |
311 |
- fi |
312 |
- |
313 |
- # Enable required wireplumber alsa and bluez monitors |
314 |
- if use sound-server; then |
315 |
- dodir /etc/wireplumber/main.lua.d |
316 |
- echo "alsa_monitor.enabled = true" > "${ED}"/etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua || die |
317 |
- |
318 |
- dodir /etc/wireplumber/bluetooth.lua.d |
319 |
- echo "bluez_monitor.enabled = true" > "${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua || die |
320 |
- fi |
321 |
- |
322 |
- if ! use systemd; then |
323 |
- insinto /etc/xdg/autostart |
324 |
- newins "${FILESDIR}"/pipewire.desktop-r1 pipewire.desktop |
325 |
- |
326 |
- exeinto /usr/bin |
327 |
- newexe "${FILESDIR}"/gentoo-pipewire-launcher.in gentoo-pipewire-launcher |
328 |
- |
329 |
- # Disable pipewire-pulse if sound-server is disabled. |
330 |
- if ! use sound-server ; then |
331 |
- sed -i -s '/pipewire -c pipewire-pulse.conf/s/^/#/' "${ED}"/usr/bin/gentoo-pipewire-launcher || die |
332 |
- fi |
333 |
- |
334 |
- eprefixify "${ED}"/usr/bin/gentoo-pipewire-launcher |
335 |
- fi |
336 |
-} |
337 |
- |
338 |
-pkg_postrm() { |
339 |
- use udev && udev_reload |
340 |
-} |
341 |
- |
342 |
-pkg_postinst() { |
343 |
- use udev && udev_reload |
344 |
- |
345 |
- elog "It is recommended to raise RLIMIT_MEMLOCK to 256 for users" |
346 |
- elog "using PipeWire. Do it either manually or add yourself" |
347 |
- elog "to the 'audio' group:" |
348 |
- elog |
349 |
- elog " usermod -aG audio <youruser>" |
350 |
- elog |
351 |
- |
352 |
- local ver |
353 |
- for ver in ${REPLACING_VERSIONS} ; do |
354 |
- if ver_test ${ver} -le 0.3.53-r1 && ! use sound-server ; then |
355 |
- ewarn "USE=sound-server is disabled! If you want PipeWire to provide" |
356 |
- ewarn "your sound, please enable it. See the wiki at" |
357 |
- ewarn "https://wiki.gentoo.org/wiki/PipeWire#Replacing_PulseAudio" |
358 |
- ewarn "for more details." |
359 |
- |
360 |
- break |
361 |
- fi |
362 |
- done |
363 |
- |
364 |
- if ! use jack-sdk; then |
365 |
- elog "JACK emulation is incomplete and not all programs will work. PipeWire's" |
366 |
- elog "alternative libraries have been installed to a non-default location." |
367 |
- elog "To use them, put pw-jack <application> before every JACK application." |
368 |
- elog "When using pw-jack, do not run jackd/jackdbus. However, a virtual/jack" |
369 |
- elog "provider is still needed to compile the JACK applications themselves." |
370 |
- elog |
371 |
- fi |
372 |
- |
373 |
- if use systemd; then |
374 |
- elog "When switching from PulseAudio, you may need to disable PulseAudio:" |
375 |
- elog |
376 |
- elog " systemctl --user disable pulseaudio.service pulseaudio.socket" |
377 |
- elog |
378 |
- elog "To use PipeWire, the user units must be manually enabled" |
379 |
- elog "by running this command as each user you use for desktop activities:" |
380 |
- elog |
381 |
- elog " systemctl --user enable pipewire.socket pipewire-pulse.socket" |
382 |
- elog |
383 |
- elog "A reboot is recommended to avoid interferences from still running" |
384 |
- elog "PulseAudio daemon." |
385 |
- elog |
386 |
- elog "Both new users and those upgrading need to enable WirePlumber" |
387 |
- elog "for relevant users:" |
388 |
- elog |
389 |
- elog " systemctl --user disable pipewire-media-session.service" |
390 |
- elog " systemctl --user --force enable wireplumber.service" |
391 |
- elog |
392 |
- elog "Root user may replace --user with --global to change system default" |
393 |
- elog "configuration for all of the above commands." |
394 |
- else |
395 |
- ewarn "PipeWire daemon startup has been moved to a launcher script!" |
396 |
- ewarn "Make sure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist or no" |
397 |
- ewarn "longer is set to start a session manager or PulseAudio compatibility daemon (all" |
398 |
- ewarn "lines similar to '{ path = /usr/bin/pipewire*' should be commented out)" |
399 |
- ewarn |
400 |
- ewarn "Those manually starting /usr/bin/pipewire via .xinitrc or similar _must_ from" |
401 |
- ewarn "now on start ${EROOT}/usr/bin/gentoo-pipewire-launcher instead! It is highly" |
402 |
- ewarn "advised that a D-Bus user session is set up before starting the script." |
403 |
- ewarn |
404 |
- |
405 |
- if use sound-server && ( has_version 'media-sound/pulseaudio[daemon]' || has_version 'media-sound/pulseaudio-daemon' ) ; then |
406 |
- elog "This ebuild auto-enables PulseAudio replacement. Because of that, users" |
407 |
- elog "are recommended to edit pulseaudio client configuration files:" |
408 |
- elog "${EROOT}/etc/pulse/client.conf and ${EROOT}/etc/pulse/client.conf.d/enable-autospawn.conf" |
409 |
- elog "if it exists, and disable autospawning of the original daemon by setting:" |
410 |
- elog |
411 |
- elog " autospawn = no" |
412 |
- elog |
413 |
- elog "Please note that the semicolon (;) must _NOT_ be at the beginning of the line!" |
414 |
- elog |
415 |
- elog "Alternatively, if replacing PulseAudio daemon is not desired, edit" |
416 |
- elog "${EROOT}/usr/bin/gentoo-pipewire-launcher by commenting out the relevant" |
417 |
- elog "command:" |
418 |
- elog |
419 |
- elog "#${EROOT}/usr/bin/pipewire -c pipewire-pulse.conf &" |
420 |
- elog |
421 |
- fi |
422 |
- elog "NOTE:" |
423 |
- elog "Starting with PipeWire-0.3.30, this package is no longer installing its config" |
424 |
- elog "into ${EROOT}/etc/pipewire by default. In case you need to change" |
425 |
- elog "its config, please start by copying default config from ${EROOT}/usr/share/pipewire" |
426 |
- elog "and just override the sections you want to change." |
427 |
- fi |
428 |
- elog |
429 |
- |
430 |
- elog "For latest tips and tricks, troubleshooting information and documentation" |
431 |
- elog "in general, please refer to https://wiki.gentoo.org/wiki/PipeWire" |
432 |
- elog |
433 |
- |
434 |
- optfeature_header "The following can be installed for optional runtime features:" |
435 |
- optfeature "restricted realtime capabilities via D-Bus" sys-auth/rtkit |
436 |
- |
437 |
- if use sound-server && ! use pipewire-alsa; then |
438 |
- optfeature "ALSA plugin to use PulseAudio interface for output" "media-plugins/alsa-plugins[pulseaudio]" |
439 |
- fi |
440 |
- |
441 |
- if has_version 'net-misc/ofono' ; then |
442 |
- ewarn "Native backend has become default. Please disable oFono via:" |
443 |
- if systemd_is_booted ; then |
444 |
- ewarn "systemctl disable ofono" |
445 |
- else |
446 |
- ewarn "rc-update delete ofono" |
447 |
- fi |
448 |
- ewarn |
449 |
- fi |
450 |
- |
451 |
- if use system-service; then |
452 |
- ewarn |
453 |
- ewarn "WARNING: you have enabled the system-service USE flag, which installs" |
454 |
- ewarn "the system-wide systemd units that enable PipeWire to run as a system" |
455 |
- ewarn "service. This is more than likely NOT what you want. You are strongly" |
456 |
- ewarn "advised not to enable this mode and instead stick with systemd user" |
457 |
- ewarn "units. The default configuration files will likely not work out of" |
458 |
- ewarn "box, and you are on your own with configuration." |
459 |
- ewarn |
460 |
- fi |
461 |
-} |