diff options
author | Sam James <sam@gentoo.org> | 2023-01-27 05:39:00 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-27 05:39:00 +0000 |
commit | 571b578fc333a9bbdd176cc8ae1ee84a9492b196 (patch) | |
tree | 70d31d77b9079676dc23a56129984b7637383c8a /media-video/pipewire/pipewire-9999.ebuild | |
parent | games-strategy/wesnoth: add 1.16.8 (diff) | |
download | gentoo-571b578fc333a9bbdd176cc8ae1ee84a9492b196.tar.gz gentoo-571b578fc333a9bbdd176cc8ae1ee84a9492b196.tar.bz2 gentoo-571b578fc333a9bbdd176cc8ae1ee84a9492b196.zip |
media-video/pipewire: add 0.3.65
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.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index ec34788a440c..98b07dfac614 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -38,7 +38,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="bluetooth dbus doc echo-cancel extra flatpak gstreamer gsettings jack-client jack-sdk lv2 +IUSE="bluetooth dbus doc echo-cancel extra ffmpeg flatpak gstreamer gsettings jack-client jack-sdk lv2 modemmanager pipewire-alsa readline sound-server ssl system-service systemd test v4l X zeroconf" # Once replacing system JACK libraries is possible, it's likely that @@ -47,12 +47,14 @@ modemmanager pipewire-alsa readline sound-server ssl system-service systemd test # JACK's sink - doing so is likely to yield no audio, cause a CPU # cycles consuming loop (and may even cause GUI crashes)! -# TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but ALSA is always enabled -# TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server connection will work -# which provides adequate guarantee that alsa-lib will be able to provide audio services. -# If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. -# When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. +# - TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but ALSA is always enabled +# - TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server connection will work +# which provides adequate guarantee that alsa-lib will be able to provide audio services. +# If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. +# When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. +# - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. REQUIRED_USE=" + ffmpeg? ( extra ) bluetooth? ( dbus ) jack-sdk? ( !jack-client ) modemmanager? ( bluetooth ) @@ -82,6 +84,7 @@ RDEPEND=" virtual/libintl[${MULTILIB_USEDEP}] virtual/libudev[${MULTILIB_USEDEP}] bluetooth? ( + dev-libs/glib media-libs/fdk-aac media-libs/libldac media-libs/libfreeaptx @@ -95,6 +98,7 @@ RDEPEND=" extra? ( >=media-libs/libsndfile-1.0.20 ) + ffmpeg? ( media-video/ffmpeg:= ) flatpak? ( dev-libs/glib ) @@ -145,7 +149,6 @@ PDEPEND=">=media-video/wireplumber-0.4.8-r3" # Present RDEPEND that are currently always disabled due to the PW # code using them being required to be disabled by Gentoo guidelines # (i.e. developer binaries not meant for users) and unready code -# media-video/ffmpeg:= # media-libs/libsdl2 # >=media-libs/vulkan-loader-1.1.69 # @@ -215,6 +218,7 @@ multilib_src_configure() { $(meson_feature pipewire-alsa) # Allows integrating ALSA apps into PW graph -Dspa-plugins=enabled -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) + -Dcompress-offload=disabled # Matches upstream, tinycompress unpackaged too -Daudiomixer=enabled # Matches upstream -Daudioconvert=enabled # Matches upstream $(meson_native_use_feature bluetooth bluez5) @@ -236,6 +240,7 @@ multilib_src_configure() { -Dcontrol=enabled # Matches upstream -Daudiotestsrc=enabled # Matches upstream -Dffmpeg=disabled # Disabled by upstream and no major developments to spa/plugins/ffmpeg/ since May 2020 + $(meson_native_use_feature ffmpeg pw-cat-ffmpeg) $(meson_native_use_feature flatpak) -Dpipewire-jack=enabled # Allows integrating JACK apps into PW graph $(meson_native_use_feature jack-client jack) # Allows PW to act as a JACK client |