media-video/pipewire: sync live ebuild

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-09-14 07:18:56 +01:00
parent 338acf73cc
commit b264a9e320
+7 -7
View File
@@ -3,7 +3,7 @@
EAPI="7"
PYTHON_COMPAT=( python3_{7..10} )
PYTHON_COMPAT=( python3_{8..10} )
inherit meson-multilib optfeature python-any-r1 udev
@@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
else
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
KEYWORDS="~amd64"
fi
DESCRIPTION="Multimedia processing graphs"
@@ -52,7 +52,7 @@ RDEPEND="
bluetooth? (
media-libs/fdk-aac
media-libs/libldac
media-libs/libopenaptx
media-libs/libfreeaptx
media-libs/sbc
>=net-wireless/bluez-4.101:=
)
@@ -98,8 +98,6 @@ DOCS=( {README,INSTALL}.md NEWS )
PATCHES=(
"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
"${FILESDIR}"/${PN}-0.3.33-revert-libfreeaptx-switch.patch
"${FILESDIR}"/${PN}-0.3.31-revert-openaptx-restriction.patch
)
# limitsdfile related code taken from =sys-auth/realtime-base-0.1
@@ -112,7 +110,7 @@ src_prepare() {
if ! use systemd; then
# This can be applied non-conditionally but would make for a
# significantly worse user experience on systemd then.
eapply "${FILESDIR}"/${PN}-0.3.31-non-systemd-integration.patch
eapply "${FILESDIR}"/${PN}-0.3.35-non-systemd-integration.patch
fi
einfo "Generating ${limitsdfile}"
@@ -130,7 +128,9 @@ multilib_src_configure() {
-Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
$(meson_native_use_feature doc docs)
$(meson_native_enabled examples) # Disabling this implicitly disables -Dmedia-session
$(meson_native_enabled media-session)
# Replaced upstream by -Dsession-managers=..., needs more work, bug #812809
# but default is same as before and right now, this is fatal with unreleased Meson.
#$(meson_native_enabled media-session)
$(meson_native_enabled man)
$(meson_feature test tests)
-Dinstalled_tests=disabled # Matches upstream; Gentoo never installs tests