media-libs/chromaprint: drop 1.6.0

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44757
Closes: https://github.com/gentoo/gentoo/pull/44757
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT 2025-11-24 14:40:57 +01:00 committed by Sam James
parent 43387f0cbb
commit ef5165a744
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,46 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GTEST_VERSION="1.10.0"
GTEST_DIR_VERSION="1.10.x"
inherit cmake-multilib
DESCRIPTION="Library implementing a custom algorithm for extracting audio fingerprints"
HOMEPAGE="https://acoustid.org/chromaprint"
SRC_URI="
https://github.com/acoustid/${PN}/releases/download/v${PV}/${P}.tar.gz
test? (
https://github.com/google/googletest/archive/v$(ver_cut 1-2 ${GTEST_VERSION}).x.tar.gz
-> gtest-${GTEST_VERSION}.tar.gz
)
"
LICENSE="LGPL-2.1"
SLOT="0/1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="test tools"
RESTRICT="!test? ( test )"
RDEPEND="sci-libs/fftw:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
DOCS=( NEWS.txt README.md )
multilib_src_configure() {
export GTEST_ROOT="${WORKDIR}/googletest-${GTEST_DIR_VERSION}/googletest/"
local mycmakeargs=(
-DBUILD_TESTS=$(usex test)
-DBUILD_TOOLS=$(multilib_native_usex tools)
-DFFT_LIB=fftw3
)
cmake_src_configure
}
multilib_src_test() {
cd tests && (./all_tests || die "Tests failed")
}