summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-28 12:31:11 +0100
committerSam James <sam@gentoo.org>2024-09-28 12:32:54 +0100
commit405e4a00ffd635e120dd188850e7cfc9bc86f714 (patch)
tree1be23072e9000c3213ce2343294947613bcdb106 /media-video/pipewire/pipewire-9999.ebuild
parentdev-python/urllib3: Stabilize 2.2.3 ALLARCHES, #940436 (diff)
downloadgentoo-405e4a00ffd635e120dd188850e7cfc9bc86f714.tar.gz
gentoo-405e4a00ffd635e120dd188850e7cfc9bc86f714.tar.bz2
gentoo-405e4a00ffd635e120dd188850e7cfc9bc86f714.zip
media-video/pipewire: add 1.2.5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/pipewire/pipewire-9999.ebuild')
-rw-r--r--media-video/pipewire/pipewire-9999.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild
index 785496b22c13..716d3c1e2ecd 100644
--- a/media-video/pipewire/pipewire-9999.ebuild
+++ b/media-video/pipewire/pipewire-9999.ebuild
@@ -56,7 +56,7 @@ HOMEPAGE="https://pipewire.org/"
LICENSE="MIT LGPL-2.1+ GPL-2"
# ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49
SLOT="0/0.4"
-IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
+IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 lv2"
IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf"
# Once replacing system JACK libraries is possible, it's likely that
@@ -123,6 +123,7 @@ RDEPEND="
>=net-wireless/bluez-4.101:=
virtual/libusb:1
)
+ elogind? ( sys-auth/elogind )
dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
echo-cancel? ( >=media-libs/webrtc-audio-processing-1.2:1 )
extra? ( >=media-libs/libsndfile-1.0.20 )
@@ -191,6 +192,13 @@ src_prepare() {
}
multilib_src_configure() {
+ local logind=disabled
+ if use systemd ; then
+ logind=enabled
+ elif use elogind ; then
+ logind=enabled
+ fi
+
local emesonargs=(
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
@@ -206,6 +214,8 @@ multilib_src_configure() {
$(meson_native_use_feature gstreamer gstreamer-device-provider)
$(meson_native_use_feature gsettings)
$(meson_native_use_feature systemd)
+ -Dlogind=${logind}
+ -Dlogind-provider=$(usex systemd 'libsystemd' 'libelogind')
$(meson_native_use_feature system-service systemd-system-service)
-Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)"