From 8d15cb8238a384acdb70250a0cd213f2ab5f0ab6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Feb 2023 09:44:00 +0000 Subject: gentoo auto-resync : 23:02:2023 - 09:44:00 --- media-video/pipewire/pipewire-9999.ebuild | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'media-video/pipewire/pipewire-9999.ebuild') diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index 7e07410dfab4..33281c0531ba 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -79,6 +79,7 @@ BDEPEND=" # and not really worth it, bug #877769. RDEPEND=" acct-group/audio + acct-group/pipewire media-libs/alsa-lib sys-libs/ncurses:=[unicode(+)] virtual/libintl[${MULTILIB_USEDEP}] @@ -129,7 +130,6 @@ RDEPEND=" systemd? ( sys-apps/systemd ) system-service? ( acct-user/pipewire - acct-group/pipewire ) v4l? ( media-libs/libv4l ) X? ( @@ -263,9 +263,15 @@ multilib_src_configure() { -Dudev=enabled -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" -Dsdl2=disabled # Controls SDL2 dependent code (currently only examples when -Dinstalled_tests=enabled which we never install) + -Dlibmysofa=disabled # libmysofa is unpackaged $(meson_native_use_feature extra sndfile) # Enables libsndfile dependent code (currently only pw-cat) -Dsession-managers="[]" # All available session managers are now their own projects, so there's nothing to build + # We still have <5.16 kernels packaged in Gentoo and 6.1 (LTS) only + # just became stable, with 5.15 being the previous LTS. Many people + # are still on it. + -Dpam-defaults-install=true + # Just for bell sounds in X11 right now. $(meson_native_use_feature X x11) $(meson_native_use_feature X x11-xfixes) @@ -339,12 +345,14 @@ pkg_postinst() { udev_reload use system-service && tmpfiles_process pipewire.conf - elog "It is recommended to raise RLIMIT_MEMLOCK to 256 for users" - elog "using PipeWire. Do it either manually or add yourself" - elog "to the 'audio' group:" - elog - elog " usermod -aG audio " - elog + elog ">=pipewire-0.3.66 uses the 'pipewire' group to manage permissions" + elog "and limits needed to function smoothly." + elog "1. Please make sure your user is in the 'pipewire' group for correct" + elog "PAM limits behavior! You can add your account with:" + elog " usermod -aG pipewire " + elog "2. It is recommended that you remove your user from the 'audio' group" + elog "as it can interfere with fast user switching:" + elog " usermod -rG audio " local ver for ver in ${REPLACING_VERSIONS} ; do -- cgit v1.2.3