diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest new file mode 100644 index 0000000..1de6dda --- /dev/null +++ b/media-video/wireplumber/Manifest @@ -0,0 +1,3 @@ +AUX wireplumber-0.4.10-config-disable-sound-server-parts.patch 1017 BLAKE2B 09ea7233aaeff88bc7fc0bd0d8345ee15c9377c1a5dca4a1937f00c808def449202186be1ed61cebc05e9d241ad1f8e374b1743f93b2766d7adcf26dc1cf4837 SHA512 d3bc1248bf2ea39ebe7346754f386ec2ab7815beded415c58273372c3e9b2c3b3185e591057aba4233b1320605e08b00702db4de4b78eb4cb833176bb0f16ba5 +DIST wireplumber-0.4.13.tar.bz2 320378 BLAKE2B c245c7e716ba64e28aef6278b1f9d8fdc89881a35c99c645cacf3b356fe90dbdc93a99b0c09792649faadcb685f47a65faeacbeff4ecf3e728f34c1fb4611120 SHA512 b8a43a0ec56037b51a1ddc8ae7f369e0494eab9baf3acded965e2923c5cf8263860d5f1973c83d25a33388243db3ac6e1321ed3b42a01e8cac813d9b47554dbf +EBUILD wireplumber-0.4.13.ebuild 4104 BLAKE2B 9a05f37909cb1f627edf59fffaf634c73f6929f54764466fd69639c2bbe3dee170041982d2fdca18d63a86454282564c1780a8356b8cc90918596ad34d1a288c SHA512 34117a9d78f2c32dc29adfc9e7bc658d1a841b73f8ff958e35f6dbeac9ccfd9a29fb1f12d26e450728780ca21155e0f9c5567177223a302acc8fc76fb45c3283 diff --git a/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch b/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch new file mode 100644 index 0000000..a8bf6f1 --- /dev/null +++ b/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch @@ -0,0 +1,26 @@ +commit 3d86f51d2c43fd76be2450a8c27836fdd8619cfa +Author: Igor V. Kovalenko +Date: Sun May 15 18:19:03 2022 +0300 + + config: Disable alsa and bluez monitors by default + +diff --git a/src/config/bluetooth.lua.d/50-bluez-config.lua b/src/config/bluetooth.lua.d/50-bluez-config.lua +index d5727d3..938eae0 100644 +--- a/src/config/bluetooth.lua.d/50-bluez-config.lua ++++ b/src/config/bluetooth.lua.d/50-bluez-config.lua +@@ -1,4 +1,4 @@ +-bluez_monitor.enabled = true ++bluez_monitor.enabled = false + + bluez_monitor.properties = { + -- These features do not work on all headsets, so they are enabled +diff --git a/src/config/main.lua.d/50-alsa-config.lua b/src/config/main.lua.d/50-alsa-config.lua +index 3468333..d4c065b 100644 +--- a/src/config/main.lua.d/50-alsa-config.lua ++++ b/src/config/main.lua.d/50-alsa-config.lua +@@ -1,4 +1,4 @@ +-alsa_monitor.enabled = true ++alsa_monitor.enabled = false + + alsa_monitor.properties = { + -- Create a JACK device. This is not enabled by default because diff --git a/media-video/wireplumber/wireplumber-0.4.13.ebuild b/media-video/wireplumber/wireplumber-0.4.13.ebuild new file mode 100644 index 0000000..8a6b291 --- /dev/null +++ b/media-video/wireplumber/wireplumber-0.4.13.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# 1. Please regularly check (even at the point of bumping) Fedora's packaging +# for needed backports at https://src.fedoraproject.org/rpms/wireplumber/tree/rawhide +# +# 2. Keep an eye on git master (for both PipeWire and WirePlumber) as things +# continue to move quickly. It's not uncommon for fixes to be made shortly +# after releases. + +LUA_COMPAT=( lua5-{3,4} ) + +inherit lua-single meson systemd + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +fi + +DESCRIPTION="Replacement for pipewire-media-session" +HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" + +LICENSE="MIT" +SLOT="0/0.4" +IUSE="elogind system-service systemd test" + +REQUIRED_USE=" + ${LUA_REQUIRED_USE} + ?? ( elogind systemd ) + system-service? ( systemd ) +" + +RESTRICT="!test? ( test )" + +# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building +BDEPEND=" + dev-libs/glib + dev-util/gdbus-codegen + dev-util/glib-utils + sys-devel/gettext +" + +DEPEND=" + ${LUA_DEPS} + >=dev-libs/glib-2.62 + >=media-video/pipewire-0.3.53-r1:= + virtual/libintl + elogind? ( sys-auth/elogind ) + systemd? ( sys-apps/systemd ) +" + +# Any dev-lua/* deps get declared like this inside RDEPEND: +# $(lua_gen_cond_dep ' +# dev-lua/[${LUA_USEDEP}] +# ') +RDEPEND="${DEPEND} + system-service? ( + acct-user/pipewire + acct-group/pipewire + ) +" + +DOCS=( {NEWS,README}.rst ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.4.10-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire +) + +src_configure() { + local emesonargs=( + -Ddaemon=true + -Dtools=true + -Dmodules=true + -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?) + -Dintrospection=disabled # Only used for Sphinx doc generation + -Dsystem-lua=true # We always unbundle everything we can + -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version)) + $(meson_feature elogind) + $(meson_feature systemd) + $(meson_use system-service systemd-system-service) + $(meson_use systemd systemd-user-service) + -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) + -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) + $(meson_use test tests) + $(meson_use test dbus-tests) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + # We copy the default config, so that Gentoo tools can pick up on any + # updates and /etc does not end up with stale overrides. + # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files + # will not actually get stored twice until modified. + insinto /etc + doins -r "${ED}"/usr/share/wireplumber +} + +pkg_postinst() { + if systemd_is_booted ; then + ewarn "pipewire-media-session.service is no longer installed. You must switch" + ewarn "to wireplumber.service user unit before your next logout/reboot:" + ewarn "systemctl --user disable pipewire-media-session.service" + ewarn "systemctl --user --force enable wireplumber.service" + else + ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher" + ewarn "is started (a replacement for directly calling pipewire binary)." + ewarn + ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist" + ewarn "or, if it does exist, that any reference to" + ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)." + fi + if use system-service; then + ewarn + ewarn "WARNING: you have enabled the system-service USE flag, which installs" + ewarn "the system-wide systemd units that enable WirePlumber to run as a system" + ewarn "service. This is more than likely NOT what you want. You are strongly" + ewarn "advised not to enable this mode and instead stick with systemd user" + ewarn "units. The default configuration files will likely not work out of" + ewarn "box, and you are on your own with configuration." + ewarn + fi +} diff --git a/metadata/md5-cache/app-emulation/virtualbmc-2.2.0 b/metadata/md5-cache/app-emulation/virtualbmc-2.2.0 index 7eb97e7..33cba38 100644 --- a/metadata/md5-cache/app-emulation/virtualbmc-2.2.0 +++ b/metadata/md5-cache/app-emulation/virtualbmc-2.2.0 @@ -13,5 +13,5 @@ REQUIRED_USE=|| ( python_targets_python3_9 ) RESTRICT=nomirror SLOT=0 SRC_URI=https://tarballs.opendev.org/openstack/virtualbmc/virtualbmc-2.2.0.tar.gz -_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 05bcfd9823be251f6e9f211ca285094e edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 +_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 f12c3dec394316618cba1e403667cdd8 edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 _md5_=92159be01abb7c97971732e355312a62 diff --git a/metadata/md5-cache/app-emulation/virtualbmc-2.2.2 b/metadata/md5-cache/app-emulation/virtualbmc-2.2.2 index 0dc7a8b..4942d79 100644 --- a/metadata/md5-cache/app-emulation/virtualbmc-2.2.2 +++ b/metadata/md5-cache/app-emulation/virtualbmc-2.2.2 @@ -13,5 +13,5 @@ REQUIRED_USE=|| ( python_targets_python3_9 python_targets_python3_10 ) RESTRICT=nomirror SLOT=0 SRC_URI=https://tarballs.opendev.org/openstack/virtualbmc/virtualbmc-2.2.2.tar.gz -_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 05bcfd9823be251f6e9f211ca285094e edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 +_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 f12c3dec394316618cba1e403667cdd8 edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 _md5_=e5e3a36664d9f7ddfa6b1a47d6e89ba4 diff --git a/metadata/md5-cache/app-emulation/virtualbmc-3.0.1 b/metadata/md5-cache/app-emulation/virtualbmc-3.0.1 index cea6568..116dca2 100644 --- a/metadata/md5-cache/app-emulation/virtualbmc-3.0.1 +++ b/metadata/md5-cache/app-emulation/virtualbmc-3.0.1 @@ -13,5 +13,5 @@ REQUIRED_USE=|| ( python_targets_python3_9 python_targets_python3_10 python_targ RESTRICT=nomirror SLOT=0 SRC_URI=https://tarballs.opendev.org/openstack/virtualbmc/virtualbmc-3.0.1.tar.gz -_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 05bcfd9823be251f6e9f211ca285094e edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 +_eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 eapi8-dosym 741bfa77afb2a9321261501aca58c208 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-r1 3c6cd0f418ba702c186a9865b85e704d distutils-r1 f12c3dec394316618cba1e403667cdd8 edos2unix 33e347e171066657f91f8b0c72ec8773 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 _md5_=f1b876137a31c10ad47d8699bc5253b4 diff --git a/metadata/md5-cache/media-video/wireplumber-0.4.13 b/metadata/md5-cache/media-video/wireplumber-0.4.13 new file mode 100644 index 0000000..3391927 --- /dev/null +++ b/metadata/md5-cache/media-video/wireplumber-0.4.13 @@ -0,0 +1,17 @@ +BDEPEND=dev-libs/glib dev-util/gdbus-codegen dev-util/glib-utils sys-devel/gettext >=dev-util/meson-0.62.2 >=dev-util/ninja-1.8.2 dev-util/meson-format-array virtual/pkgconfig +DEFINED_PHASES=compile configure install postinst setup test +DEPEND=lua_single_target_lua5-3? ( dev-lang/lua:5.3 ) lua_single_target_lua5-4? ( dev-lang/lua:5.4 ) >=dev-libs/glib-2.62 >=media-video/pipewire-0.3.53-r1:= virtual/libintl elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd ) +DESCRIPTION=Replacement for pipewire-media-session +EAPI=8 +HOMEPAGE=https://gitlab.freedesktop.org/pipewire/wireplumber +INHERIT=lua-single meson systemd +IUSE=elogind system-service systemd test lua_single_target_lua5-3 lua_single_target_lua5-4 +KEYWORDS=amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 +LICENSE=MIT +RDEPEND=lua_single_target_lua5-3? ( dev-lang/lua:5.3 ) lua_single_target_lua5-4? ( dev-lang/lua:5.4 ) >=dev-libs/glib-2.62 >=media-video/pipewire-0.3.53-r1:= virtual/libintl elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd ) system-service? ( acct-user/pipewire acct-group/pipewire ) +REQUIRED_USE=^^ ( lua_single_target_lua5-3 lua_single_target_lua5-4 ) ?? ( elogind systemd ) system-service? ( systemd ) +RESTRICT=!test? ( test ) +SLOT=0/0.4 +SRC_URI=https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/0.4.13/wireplumber-0.4.13.tar.bz2 +_eclasses_=toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib d1408425c7c4a7669b9b17735404b693 lua-utils d37a16dbcc1f07f71bc48da75ed7a0cb lua-single 86d497a20c93c7ce83af442f627515c1 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 76050953ad5b70d7e09a6ca55558db92 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 meson 915ec7c25e08d7886558215e6809ca1e systemd 5f4bb0758df2e483babf68cd517078ca +_md5_=ea54fa57c10e20ea0a03d96e86379c2e