commit: 0472168cb311ebdb2e320cb8b205150a45e0a319 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Feb 14 14:11:23 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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
