Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/chromaprint/
Date: Thu, 18 Feb 2016 15:59:55
Message-Id: 1455811176.7a0157f00cb58ec71860916ba7d97604e40459c0.aballier@gentoo
1 commit: 7a0157f00cb58ec71860916ba7d97604e40459c0
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 18 15:59:31 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 18 15:59:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0157f0
7
8 media-libs/chromaprint: bump to 1.3.1
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 media-libs/chromaprint/Manifest | 1 +
14 media-libs/chromaprint/chromaprint-1.3.1.ebuild | 43 +++++++++++++++++++++++++
15 2 files changed, 44 insertions(+)
16
17 diff --git a/media-libs/chromaprint/Manifest b/media-libs/chromaprint/Manifest
18 index fcdbdff..e5de346 100644
19 --- a/media-libs/chromaprint/Manifest
20 +++ b/media-libs/chromaprint/Manifest
21 @@ -1 +1,2 @@
22 DIST chromaprint-1.2.tar.gz 529646 SHA256 822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a SHA512 dc61db8894a20df3d7e7317cd7cd97148c19be5854dd66409341cb8e47c045e1c632b254e14a869279983a5af2cc6f9effea21b77a63dff729511e6144439cbb WHIRLPOOL b2efb45c23e950b6a4d95c078bed15b03ef35e423b106428a7607034276b343b8c223ffa71e021846ed48f535663e062ae8042d281d769a04effc9afd8a600dd
23 +DIST chromaprint-1.3.1.tar.gz 538251 SHA256 8f95a011e6fe3a75281520daa9376b7f028300e20a5be9af08ef9c851d4bb581 SHA512 b900d9c94057354982c2c32b37d10bb8ac1b63d005ece1fe6aae38a037e18ea8e77c5e95faff51b8c725b3ff9f3551ab0ef2baf470b49952e5c3c3662da46aae WHIRLPOOL f0045dda0f5e3e29bdb9f2fc1a5ebe8922a7d976c351ca8d8ab817cc7ed6a026cf1b86732e5dda6a3cd1110281d5a0f3006cfb3e1c2f58adc8f9fc0cffc2fbce
24
25 diff --git a/media-libs/chromaprint/chromaprint-1.3.1.ebuild b/media-libs/chromaprint/chromaprint-1.3.1.ebuild
26 new file mode 100644
27 index 0000000..12d0823
28 --- /dev/null
29 +++ b/media-libs/chromaprint/chromaprint-1.3.1.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +inherit cmake-multilib
37 +
38 +DESCRIPTION="A client-side library that implements a custom algorithm for extracting fingerprints"
39 +HOMEPAGE="http://acoustid.org/chromaprint"
40 +SRC_URI="https://bitbucket.org/acoustid/${PN}/downloads/${P}.tar.gz"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="0/1"
44 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
45 +IUSE="libav test tools"
46 +
47 +# note: use ffmpeg or libav instead of fftw because it's recommended and required for tools
48 +RDEPEND="
49 + libav? ( >=media-video/libav-11:0=[${MULTILIB_USEDEP}] )
50 + !libav? ( >=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}] )
51 +"
52 +DEPEND="${RDEPEND}
53 + test? (
54 + dev-cpp/gtest[${MULTILIB_USEDEP}]
55 + dev-libs/boost[${MULTILIB_USEDEP}]
56 + )"
57 +
58 +DOCS="NEWS.txt README.md"
59 +
60 +PATCHES=( "${FILESDIR}"/${PN}-1.1-gtest.patch )
61 +
62 +multilib_src_configure() {
63 + local mycmakeargs=(
64 + "-DBUILD_EXAMPLES=$(multilib_native_usex tools ON OFF)"
65 + "-DBUILD_TESTS=$(usex test ON OFF)"
66 + -DWITH_AVFFT=ON
67 + )
68 + cmake-utils_src_configure
69 +}
70 +
71 +multilib_src_test() {
72 + emake check
73 +}