From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE0D4158086 for ; Sat, 9 Oct 2021 06:29:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3B1FE07F0; Sat, 9 Oct 2021 06:29:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D3AFE07F0 for ; Sat, 9 Oct 2021 06:29:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CE56342F98 for ; Sat, 9 Oct 2021 06:29:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97D06EC for ; Sat, 9 Oct 2021 06:29:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1633760538.0da70c3e9f1a348cc66aa6ab6a58dd265f045fa4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/wireplumber/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/wireplumber/Manifest media-video/wireplumber/wireplumber-0.4.3.ebuild X-VCS-Directories: media-video/wireplumber/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0da70c3e9f1a348cc66aa6ab6a58dd265f045fa4 X-VCS-Branch: master Date: Sat, 9 Oct 2021 06:29:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d0cc9acc-9f11-4786-8178-5209c827ad81 X-Archives-Hash: 2ee2ef810acc51616e4c42fdaf1eb4c4 commit: 0da70c3e9f1a348cc66aa6ab6a58dd265f045fa4 Author: Niklāvs Koļesņikovs <89q1r14hd relay firefox com> AuthorDate: Fri Oct 8 10:22:21 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 9 06:22:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da70c3e media-video/wireplumber: version bump to 0.4.3 Same ebuild as the current live one. As far as I know, the NEWS item about logind integration should only be fixing a bug with GDM users logging into GNOME session. But as a precaution the old 0.4.2-r1 ebuild is kept for now in case I missed some later changes regarding BlueZ handling and OpenRC users end up needing to downgrade. Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd relay.firefox.com> Closes: https://github.com/gentoo/gentoo/pull/22515 Signed-off-by: Sam James gentoo.org> media-video/wireplumber/Manifest | 1 + media-video/wireplumber/wireplumber-0.4.3.ebuild | 81 ++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest index 885d24e6eec..2570b45e577 100644 --- a/media-video/wireplumber/Manifest +++ b/media-video/wireplumber/Manifest @@ -1 +1,2 @@ DIST wireplumber-0.4.2.tar.gz 332499 BLAKE2B 4747ae405a824b019415188ff1a586d32fc2e97aba6777cd1e403aadf0e44458156d1f8b6dbc706b812a7ea8c873d0f506f2b42817d1bc5312874530edaf7234 SHA512 8ded43fba5de58068516558918d49c86be7d67330e8a14e735561fefadba5e27952d556987b7304dead52b4e2f72a7d9626da0170e768c4702dd164840b08e3c +DIST wireplumber-0.4.3.tar.gz 341659 BLAKE2B 8d2ad4632935473c74ed7bc8370e0ded79063d103e2fa375decd3ba168cf7c271e30e04c53012a2c6b4ba51552f0a6a9fbb7a995d3a809ba6cf409afbaa64e63 SHA512 4b0b4426556b06dc133e2ab8398700af9c916824a7bce4eec1ff1a7ca75a3ecf0947e15190a4a133cd89653228e562bf47c65c3523c5235aface2c4c3963174d diff --git a/media-video/wireplumber/wireplumber-0.4.3.ebuild b/media-video/wireplumber/wireplumber-0.4.3.ebuild new file mode 100644 index 00000000000..88f08ce12c0 --- /dev/null +++ b/media-video/wireplumber/wireplumber-0.4.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.gz" + KEYWORDS="~amd64 ~riscv" +fi + +DESCRIPTION="Replacement for pipewire-media-session" +HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" + +LICENSE="MIT" +SLOT="0/0.4" +IUSE="systemd test" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +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 +" + +DEPEND=" + ${LUA_DEPS} + >=dev-libs/glib-2.62 + >=media-video/pipewire-0.3.32 + virtual/libc + systemd? ( sys-apps/systemd ) +" + +# Any dev-lua/* deps get declared like this inside RDEPEND: +# $(lua_gen_cond_dep ' +# dev-lua/[${LUA_USEDEP}] +# ') +RDEPEND="${DEPEND}" + +DOCS=( {NEWS,README}.rst ) + +src_configure() { + local emesonargs=( + -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 systemd) + -Dsystemd-system-service=false # Matches upstream + $(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_src_configure +} + +pkg_postinst() { + if systemd_is_booted ; then + elog "To replace media-session with WirePlumber immediately:" + elog "systemctl --user disable --now pipewire-media-session.service" + elog "systemctl --user enable --now wireplumber.service" + else + elog "OpenRC users need to copy ${EROOT}/usr/share/pipewire/pipewire.conf" + elog "to ${EROOT}/etc/pipewire/pipewire.conf and in it replace" + elog "${EROOT}/usr/bin/pipewire-media-session with ${EROOT}/usr/bin/wireplumber" + elog "The switch to WirePlumber will happen the next time pipewire is started." + fi + elog +}