commit: 18d85ef89d55d7337b463ff6a04e74b173283589 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Feb 22 22:47:46 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 22 22:55:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d85ef8
media-video/pipewire: add 0.3.66 Bug: https://bugs.gentoo.org/791847 Closes: https://bugs.gentoo.org/892822 Signed-off-by: Sam James <sam <AT> gentoo.org> media-video/pipewire/Manifest | 1 + ...pipewire-9999.ebuild => pipewire-0.3.66.ebuild} | 22 +++++++++++++++------- media-video/pipewire/pipewire-9999.ebuild | 22 +++++++++++++++------- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest index e51e22391355..20ac8f042686 100644 --- a/media-video/pipewire/Manifest +++ b/media-video/pipewire/Manifest @@ -1,3 +1,4 @@ DIST pipewire-0.3.63.tar.bz2 1485423 BLAKE2B 8629bce6d11959d4b3930d7db4e0ad201981002d52c6b73b3ee2b0ac141518f553f7b0e47aef4157b3c3ef71c6b544889f60f4be0fadb01b8a35c1d457edb1aa SHA512 0a45e9017bbcd74f21c6a1f388c5b58123deec083bbc9a9e695948ea95e67b6384acfff6e5ab685ea7287b4696e01176e257b73286ecd03c2d2e43d80fd60805 DIST pipewire-0.3.64.tar.bz2 1490475 BLAKE2B 9a4d9e23a5d60da7c5788ce5145ce083f13fe771f3f5bcb3dfd1e9560d982f20415f32f756b875081464e1b175ef80af56d7babb3bbbd7a5eaf034c9c43b810a SHA512 4dff77cf1ab9fefffad1b6f7182115dbb5e4f0339f052dcfcc34b62687b461d25a6f891d1ad0246dab5a8cb80ca190d97d358a6494da8c6a8cc64e0b38452093 DIST pipewire-0.3.65.tar.bz2 1522095 BLAKE2B d991820e8780773ccf1cd68baa3156428eb099703b82c3e3ad24a86bc634ad43fb474fe362de5e5704ee8b35832b75995fd56096b6539835e8b1f31710450d08 SHA512 0c2402044a04ab6ba724b0808279498e2126dd567920f3241d7d3d5e13ea676e353fc85a73634cf4cae5429454250dfce5cd18ba4a5444a7ed1a5ca2e0ae1eef +DIST pipewire-0.3.66.tar.bz2 1532022 BLAKE2B aa0db6426a04728b633ce9a40aa1b10eca69423925b1a06b70cc65e4b8466b9de23c4f16ebdc5bd6c14d41866deec66ed166053299b9bc6f5b9e81fcc06010e2 SHA512 9e43159fec81dddad618be6ea44304aba4013be14992476e54cbb01e8699c9d6291012879e1c6717e1095be2d73390f900f6d54d8d9c689b50baf93c820c2129 diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-0.3.66.ebuild similarity index 95% copy from media-video/pipewire/pipewire-9999.ebuild copy to media-video/pipewire/pipewire-0.3.66.ebuild index 7e07410dfab4..33281c0531ba 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-0.3.66.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 <youruser>" - 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 <youruser>" + 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 <youruser>" local ver for ver in ${REPLACING_VERSIONS} ; do 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 <youruser>" - 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 <youruser>" + 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 <youruser>" local ver for ver in ${REPLACING_VERSIONS} ; do
