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.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 4E59D158042 for ; Sun, 10 Nov 2024 09:31:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26379E0903; Sun, 10 Nov 2024 09:31:03 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0477E0903 for ; Sun, 10 Nov 2024 09:31:02 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18CA533FE60 for ; Sun, 10 Nov 2024 09:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FCD41D6E for ; Sun, 10 Nov 2024 09:31:00 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1731231044.d7a59ff5b6080fa6f203ed3eb889eda3a29a1d68.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libebur128/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libebur128/libebur128-1.2.6-r1.ebuild X-VCS-Directories: media-libs/libebur128/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d7a59ff5b6080fa6f203ed3eb889eda3a29a1d68 X-VCS-Branch: master Date: Sun, 10 Nov 2024 09:31:00 +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: 6a454e23-d4e4-4a31-8016-daf2bb7a933a X-Archives-Hash: e2d9285d3759bebec77a58c805ca164d commit: d7a59ff5b6080fa6f203ed3eb889eda3a29a1d68 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 9 19:55:10 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 10 09:30:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a59ff5 media-libs/libebur128: update EAPI 7 -> 8 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libebur128/libebur128-1.2.6-r1.ebuild | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/media-libs/libebur128/libebur128-1.2.6-r1.ebuild b/media-libs/libebur128/libebur128-1.2.6-r1.ebuild new file mode 100644 index 000000000000..41f34da356b9 --- /dev/null +++ b/media-libs/libebur128/libebur128-1.2.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +DESCRIPTION="Library implementing the EBU R128 loudness standard" +HOMEPAGE="https://github.com/jiixyj/libebur128" +SRC_URI="https://github.com/jiixyj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv05.zip )" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + app-arch/unzip + media-libs/libsndfile[${MULTILIB_USEDEP}] + ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cd "${WORKDIR}" || die + "${BUILD_DIR}"/r128-test-library | tee test-results + grep -c "^FAILED" test-results > /dev/null \ + && die "At least one test failed" +}