| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.2.6-r1 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86 | 0/1 |
# Copyright 1999-2025 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 ~loong ppc ppc64 ~riscv ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
elibc_musl? ( sys-libs/queue-standalone )
test? (
app-arch/unzip
media-libs/libsndfile[${MULTILIB_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 952797
multilib_src_configure() {
local mycmakeargs=(
-DENABLE_INTERNAL_QUEUE_H=OFF
-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"
}
elibc_musl? ( sys-libs/queue-standalone )
test? (
app-arch/unzip
media-libs/libsndfile[${MULTILIB_USEDEP}]
)
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ebu-loudness-test-setv05.zip | 91631421 bytes | https://tech.ebu.ch/files/live/sites/tech/files/shared/testmaterial/ebu-loudness-test-setv05.zip |