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 432311582EF for ; Sun, 16 Feb 2025 07:22:35 +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 2E5FD3430FC for ; Sun, 16 Feb 2025 07:22:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D0856110473; Sun, 16 Feb 2025 07:22:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C69CC110473 for ; Sun, 16 Feb 2025 07:22:28 +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 7F744340C3C for ; Sun, 16 Feb 2025 07:22:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19AFA2721 for ; Sun, 16 Feb 2025 07:22:27 +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: <1739690528.0472168cb311ebdb2e320cb8b205150a45e0a319.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/ir_lv2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild X-VCS-Directories: media-plugins/ir_lv2/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 0472168cb311ebdb2e320cb8b205150a45e0a319 X-VCS-Branch: master Date: Sun, 16 Feb 2025 07:22:27 +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: 229aab23-c23c-4bd0-b6b1-ca204e52dab0 X-Archives-Hash: 9818ff0a34c5c0b8840aa65c2ce60514 commit: 0472168cb311ebdb2e320cb8b205150a45e0a319 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:23 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Feb 16 07:22:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0472168c media-plugins/ir_lv2: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild b/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild index a7572f2c3a87..a5eb3079cd97 100644 --- a/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild +++ b/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs +inherit eapi9-ver toolchain-funcs DESCRIPTION="LV2 convolver plugin especially for creating reverb effects" HOMEPAGE="https://tomszilagyi.github.io/plugins/ir.lv2/" @@ -43,21 +43,7 @@ src_install() { } pkg_postinst() { - local latency_warn=0 - local ver - - if [[ -z ${REPLACING_VERSIONS} ]]; then - latency_warn=1 - else - for ver in ${REPLACING_VERSIONS}; do - if ver_test ${ver} -lt 1.3.0; then - latency_warn=1 - break - fi - done - fi - - if [[ ${latency_warn} -eq 1 ]]; then + if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 1.3.0; then elog "This version works with automation at the expense of introducing extra buffering." elog "For zero latency use 1.2* version instead." fi