From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 627251582EF for ; Sat, 22 Feb 2025 09:39:06 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4FE6D3431F8 for ; Sat, 22 Feb 2025 09:39:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6098C110479; Sat, 22 Feb 2025 09:38:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5561A110477 for ; Sat, 22 Feb 2025 09:38:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E3933431FB for ; Sat, 22 Feb 2025 09:38:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A9C82743 for ; Sat, 22 Feb 2025 09:38:47 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1740217094.e34ad39edb87dba59698a0f468b3325a795a5652.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/pipewire/pipewire-1.2.7-r1.ebuild X-VCS-Directories: media-video/pipewire/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: e34ad39edb87dba59698a0f468b3325a795a5652 X-VCS-Branch: master Date: Sat, 22 Feb 2025 09:38:47 +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: 4ace9489-ad8a-4beb-959d-83eaca6740da X-Archives-Hash: 615eb7c16f6df71d7eae12f0dc531a27 commit: e34ad39edb87dba59698a0f468b3325a795a5652 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:28 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 22 09:38:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34ad39e media-video/pipewire: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> media-video/pipewire/pipewire-1.2.7-r1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/media-video/pipewire/pipewire-1.2.7-r1.ebuild b/media-video/pipewire/pipewire-1.2.7-r1.ebuild index 63b0b609e159..09b5617d737b 100644 --- a/media-video/pipewire/pipewire-1.2.7-r1.ebuild +++ b/media-video/pipewire/pipewire-1.2.7-r1.ebuild @@ -27,7 +27,7 @@ PIPEWIRE_DOCS_VERSION="$(ver_cut 1-2).0" # Default to generating docs (inc. man pages) if no prebuilt; overridden later PIPEWIRE_DOCS_USEFLAG="+man" PYTHON_COMPAT=( python3_{10..13} ) -inherit meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev +inherit eapi9-ver meson-multilib optfeature prefix python-any-r1 systemd tmpfiles udev if [[ ${PV} == 9999 ]]; then PIPEWIRE_DOCS_PREBUILT=0 @@ -387,8 +387,7 @@ pkg_postinst() { use system-service && tmpfiles_process pipewire.conf - local ver - for ver in ${REPLACING_VERSIONS} ; do + if [[ -n ${REPLACING_VERSIONS} ]] ; then if has_version kde-plasma/kwin[screencast] || has_version x11-wm/mutter[screencast] ; then # https://bugs.gentoo.org/908490 # https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3243 @@ -396,7 +395,7 @@ pkg_postinst() { ewarn "Screencasting may not work until you do." fi - if ver_test ${ver} -le 0.3.66-r1 ; then + if ver_replacing -le 0.3.66-r1 ; then elog ">=pipewire-0.3.66 uses the 'pipewire' group to manage permissions" elog "and limits needed to function smoothly:" elog @@ -462,7 +461,7 @@ pkg_postinst() { fi fi fi - done + fi if [[ ${HAD_SOUND_SERVER} -eq 0 || -z ${REPLACING_VERSIONS} ]] ; then # TODO: We could drop most of this if we set up systemd presets?