diff options
Diffstat (limited to 'media-video/pipewire/pipewire-9999.ebuild')
-rw-r--r-- | media-video/pipewire/pipewire-9999.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index a97ab7ef8c55..7e07410dfab4 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -15,7 +15,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd udev +inherit flag-o-matic meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" @@ -309,6 +309,12 @@ multilib_src_install_all() { echo "bluez_monitor.enabled = true" > "${ED}"/etc/wireplumber/bluetooth.lua.d/89-gentoo-sound-server-enable-bluez-monitor.lua || die fi + if use system-service; then + newtmpfiles - pipewire.conf <<-EOF || die + d /run/pipewire 0755 pipewire pipewire - - + EOF + fi + if ! use systemd; then insinto /etc/xdg/autostart newins "${FILESDIR}"/pipewire.desktop-r1 pipewire.desktop @@ -331,6 +337,7 @@ pkg_postrm() { 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" |