diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-28 13:17:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-28 13:17:50 +0000 |
commit | d1abb51e73331f2cc425495d689fd484581d1486 (patch) | |
tree | e9641f0ba0390718c2bd2fa806b728cd5f0c56bf /media-libs/chromaprint | |
parent | Lastrite net-misc/linux-igd because it is broken and upstream is dead. (diff) | |
download | gentoo-2-d1abb51e73331f2cc425495d689fd484581d1486.tar.gz gentoo-2-d1abb51e73331f2cc425495d689fd484581d1486.tar.bz2 gentoo-2-d1abb51e73331f2cc425495d689fd484581d1486.zip |
Initial commit; required by recent release of media-sound/clementine wrt #400615 by Nikoli
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/chromaprint')
-rw-r--r-- | media-libs/chromaprint/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/chromaprint/Manifest | 4 | ||||
-rw-r--r-- | media-libs/chromaprint/chromaprint-0.6.ebuild | 46 | ||||
-rw-r--r-- | media-libs/chromaprint/metadata.xml | 8 |
4 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/chromaprint/ChangeLog b/media-libs/chromaprint/ChangeLog new file mode 100644 index 000000000000..4d42e83f2253 --- /dev/null +++ b/media-libs/chromaprint/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/chromaprint +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/chromaprint/ChangeLog,v 1.1 2012/01/28 13:17:50 ssuominen Exp $ + +*chromaprint-0.6 (28 Jan 2012) + + 28 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +chromaprint-0.6.ebuild: + Initial commit; required by recent release of media-sound/clementine wrt + #400615 by Nikoli + diff --git a/media-libs/chromaprint/Manifest b/media-libs/chromaprint/Manifest new file mode 100644 index 000000000000..80dfd872ec12 --- /dev/null +++ b/media-libs/chromaprint/Manifest @@ -0,0 +1,4 @@ +DIST chromaprint-0.6.tar.gz 542366 RMD160 59fe70812bd814860ca845479540b9c59701ab9c SHA1 e8bcc1d0d8dfec86aa648b87ba3f69b6d589eae0 SHA256 5d9b82da226450c14e43482371a1b2a178e2604ab5b2e9259f33b1b461ee9d63 +EBUILD chromaprint-0.6.ebuild 1048 RMD160 6896f1a9afdff0255ef7d110113566f901f9abd7 SHA1 5c6a79f27e2312ea559383c32e432d5d57eb729a SHA256 0f8ff3f1b4934cc4ecfcd7c5f6479d34805a3af978010483acc2e8f4f7e92535 +MISC ChangeLog 330 RMD160 f6772b0ab1174c7b570b3eeeff5168f7b2fe21cf SHA1 e4d7d49a751a9e063316d43456615adccf1d9cd8 SHA256 c5563752fe7d877d884787efc125b5bd72944528d7d275b70d291fe2527f706a +MISC metadata.xml 252 RMD160 f055b3d7eb69fca707edd9ec7c0919114416118a SHA1 cbcef63189f401b6515d25da9de4e5d1f7e4f433 SHA256 855e5677de39364e4a8d58f4c1e5128ca6e16ef1f554368534fabab23e94909e diff --git a/media-libs/chromaprint/chromaprint-0.6.ebuild b/media-libs/chromaprint/chromaprint-0.6.ebuild new file mode 100644 index 000000000000..cf33e7ef4251 --- /dev/null +++ b/media-libs/chromaprint/chromaprint-0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/chromaprint/chromaprint-0.6.ebuild,v 1.1 2012/01/28 13:17:50 ssuominen Exp $ + +EAPI=4 +inherit cmake-utils + +DESCRIPTION="A client-side library that implements a custom algorithm for extracting fingerprints" +HOMEPAGE="http://acoustid.org/chromaprint" +SRC_URI="mirror://github/lalinsky/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test tools" + +# note: use ffmpeg instead of fftw because it's recommended and required for tools +RDEPEND=">=virtual/ffmpeg-0.6 + tools? ( >=media-libs/taglib-1.6 )" +DEPEND="${RDEPEND} + dev-libs/boost + test? ( dev-cpp/gtest ) + tools? ( dev-libs/boost )" + +DOCS="NEWS.txt README.txt" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_build tools EXAMPLES) + $(cmake-utils_use_build test TESTS) + $(cmake-utils_use_build tools) + -DWITH_AVFFT=ON + ) + + cmake-utils_src_configure +} + +src_test() { + cd "${CMAKE_BUILD_DIR}" || die + emake check +} + +src_install() { + cmake-utils_src_install + use tools && dobin "${CMAKE_BUILD_DIR}"/tools/fpcollect +} diff --git a/media-libs/chromaprint/metadata.xml b/media-libs/chromaprint/metadata.xml new file mode 100644 index 000000000000..f13b90f3d998 --- /dev/null +++ b/media-libs/chromaprint/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <use> + <flag name='tools'>Build and install fpcalc and fpcollect tools</flag> + </use> +</pkgmetadata> |