summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-12-24 11:26:45 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-12-24 11:33:24 +0100
commit8fa6c270340ddda07ae0b31a26163abb6bf833a2 (patch)
tree0b177e1a06ffc2cca5d557adf067b6831aa4edb4 /media-libs/chromaprint
parentdev-util/cucumber: arm stable wrt bug #602364 (diff)
downloadgentoo-8fa6c270340ddda07ae0b31a26163abb6bf833a2.tar.gz
gentoo-8fa6c270340ddda07ae0b31a26163abb6bf833a2.tar.bz2
gentoo-8fa6c270340ddda07ae0b31a26163abb6bf833a2.zip
media-libs/chromaprint: bump to 1.4.1, bug #603510
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/chromaprint')
-rw-r--r--media-libs/chromaprint/Manifest2
-rw-r--r--media-libs/chromaprint/chromaprint-1.4.1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/chromaprint/Manifest b/media-libs/chromaprint/Manifest
index 93c1777f5e0b..0383590623c5 100644
--- a/media-libs/chromaprint/Manifest
+++ b/media-libs/chromaprint/Manifest
@@ -1,3 +1,5 @@
DIST chromaprint-1.2.tar.gz 529646 SHA256 822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a SHA512 dc61db8894a20df3d7e7317cd7cd97148c19be5854dd66409341cb8e47c045e1c632b254e14a869279983a5af2cc6f9effea21b77a63dff729511e6144439cbb WHIRLPOOL b2efb45c23e950b6a4d95c078bed15b03ef35e423b106428a7607034276b343b8c223ffa71e021846ed48f535663e062ae8042d281d769a04effc9afd8a600dd
DIST chromaprint-1.3.1.tar.gz 538251 SHA256 8f95a011e6fe3a75281520daa9376b7f028300e20a5be9af08ef9c851d4bb581 SHA512 b900d9c94057354982c2c32b37d10bb8ac1b63d005ece1fe6aae38a037e18ea8e77c5e95faff51b8c725b3ff9f3551ab0ef2baf470b49952e5c3c3662da46aae WHIRLPOOL f0045dda0f5e3e29bdb9f2fc1a5ebe8922a7d976c351ca8d8ab817cc7ed6a026cf1b86732e5dda6a3cd1110281d5a0f3006cfb3e1c2f58adc8f9fc0cffc2fbce
DIST chromaprint-1.3.2.tar.gz 538395 SHA256 c3af900d8e7a42afd74315b51b79ebd2e43bc66630b4ba585a54bf3160439652 SHA512 7f89eb09f293a3691efcb01544da612cf674a00af1c188db3f1075db44fee0a8e0aeff3ca6eccd0731ae6bbff9eb0fd51b22128fa927fdbd21638e2832f76e95 WHIRLPOOL 8af59c57423168d44867e98345a48861132412b5d07357bacfe99d362b7e89a34b594eac6427bca6ed935ae87fffd7f91a1d2bddef5f75b9d93dbb85e4bcdad9
+DIST chromaprint-1.4.1.tar.gz 611014 SHA256 d94e171e0b3d60a8fefe6846a3c0ed3a9a939cb44a7d7113331fdbc140de6d34 SHA512 9d414ba01be87f973df877afc600c761bf338292680d2626baa2a483f0bb681b506d02baa8f9de297489459ba1ebae9005202bfe7ba661b7bd4d60d4a2463ede WHIRLPOOL 0280f9d398aa7abe3868535da8dc31d8f90235fdcc9c04bc5248ff319f0f3c0ffc5b7a47c3fa41110fe7ec38faadae9420637c693d6bbce4c6557b8b08d19dcb
+DIST gtest-1.8.0.tar.gz 1281617 SHA256 58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d WHIRLPOOL 7d95c06818332f9596dbda03d21416012c00e05c78be0814279ab9e7059b9d836060bab83ad46d013ccf1ba40973680c0793d78ac22f6016773fd93aa97b779b
diff --git a/media-libs/chromaprint/chromaprint-1.4.1.ebuild b/media-libs/chromaprint/chromaprint-1.4.1.ebuild
new file mode 100644
index 000000000000..e05be0f073c2
--- /dev/null
+++ b/media-libs/chromaprint/chromaprint-1.4.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-multilib
+
+GTEST_VERSION="1.8.0"
+
+DESCRIPTION="A client-side library that implements a custom algorithm for extracting fingerprints"
+HOMEPAGE="http://acoustid.org/chromaprint"
+SRC_URI="https://bitbucket.org/acoustid/${PN}/downloads/${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 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+IUSE="libav test tools"
+
+# note: use ffmpeg or libav instead of fftw because it's recommended and required for tools
+RDEPEND="
+ libav? ( >=media-video/libav-11:0=[${MULTILIB_USEDEP}] )
+ !libav? ( >=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/gtest[${MULTILIB_USEDEP}]
+ dev-libs/boost[${MULTILIB_USEDEP}]
+ )"
+
+DOCS="NEWS.txt README.md"
+
+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=$(usex libav avresample swresample)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_test() {
+ emake check
+}