summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-05-07 11:36:21 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-05-07 14:42:30 +0200
commit292109feb5deddadfc5e4893e83cea7866717389 (patch)
treecc5d64dfeaef01607f12da8c0fd8f23b379f8a17 /media-libs/chromaprint
parentwww-client/chromium: amd64 stable wrt bug #721310 (diff)
downloadgentoo-292109feb5deddadfc5e4893e83cea7866717389.tar.gz
gentoo-292109feb5deddadfc5e4893e83cea7866717389.tar.bz2
gentoo-292109feb5deddadfc5e4893e83cea7866717389.zip
media-libs/chromaprint: Bump to version 1.5.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/chromaprint')
-rw-r--r--media-libs/chromaprint/Manifest2
-rw-r--r--media-libs/chromaprint/chromaprint-1.5.0.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/chromaprint/Manifest b/media-libs/chromaprint/Manifest
index e300cf736bfd..cc179153caeb 100644
--- a/media-libs/chromaprint/Manifest
+++ b/media-libs/chromaprint/Manifest
@@ -1,2 +1,4 @@
DIST chromaprint-1.4.3.tar.gz 613741 BLAKE2B 728f08e14c46a36d98c3a32a7c7a221a48b51561b623a403d9bee6aeea5cb5254866da26d50db0dbc5b0b4ceddb8312d52a8aab4c2979709bd2c8221b9e84d0f SHA512 101360bd643d2410fafcdd4aef8fe4c716ec728f0e4b9b3a62ba125fe010b0315e55a1839a2ca8c29d9abfbf8171560b23d68b732e75632ce8f4a4698f77ea72
+DIST chromaprint-1.5.0.tar.gz 615217 BLAKE2B 14bf219c23360028ac232e67b7eb36e3226bb6e19838ef239266a9d826e1bd50d798f69f961bcb78f36baf48630a93f53243f8f9ab6187c403382bab23042630 SHA512 25ab3f7834581a8204ac09614fef6036c801f5f8b7b72a864701ca0de8082b2458a2bd7c075d53451581d770898576411cdcfb23ce609bc82f9d9b395cc1a129
+DIST gtest-1.10.0.tar.gz 904349 BLAKE2B 82740692a3e24e92401eb950d131e0da0ebc5e6ed5dbdadcd8d96281920cdcdaecbef439f8dba35826b9ef0e5d0e915a127f6c441fd14a86881cf9608714eec0 SHA512 bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d
diff --git a/media-libs/chromaprint/chromaprint-1.5.0.ebuild b/media-libs/chromaprint/chromaprint-1.5.0.ebuild
new file mode 100644
index 000000000000..8e835df6c844
--- /dev/null
+++ b/media-libs/chromaprint/chromaprint-1.5.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+GTEST_VERSION="1.10.0"
+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/release-${GTEST_VERSION}.tar.gz -> gtest-${GTEST_VERSION}.tar.gz )
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test tools"
+RESTRICT="!test? ( test )"
+
+# note: use ffmpeg instead of fftw because it's recommended and required for tools
+RDEPEND=">=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+DOCS=( NEWS.txt README.md )
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+multilib_src_configure() {
+ export GTEST_ROOT="${WORKDIR}/googletest-release-${GTEST_VERSION}/googletest/"
+ local mycmakeargs=(
+ -DBUILD_TOOLS=$(multilib_native_usex tools ON OFF)
+ -DBUILD_TESTS=$(usex test ON OFF)
+ -DFFT_LIB=avfft
+ -DAUDIO_PROCESSOR_LIB="swresample"
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ emake check
+}