Chromaprint is the core component of the Acoustid project. It's a

client-side library that implements a custom algorithm for extracting
fingerprints from any audio source.

This is another prerequisite of Clemetine.

okay landry@
This commit is contained in:
zhuk 2013-02-05 11:09:11 +00:00
parent 3bdca3fdb7
commit 9c1f6c7275
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/02/05 11:09:11 zhuk Exp $
SHARED_ONLY = Yes
COMMENT = audio fingerprint extraction library
CATEGORIES = audio devel
HOMEPAGE = http://acoustid.org/chromaprint/
DISTNAME = chromaprint-0.6
MASTER_SITES = http://www.ohvost.ru/dnl/ \
http://malcolm.ecentrum.hu/distfiles/
SHARED_LIBS = chromaprint 0.0 # 0.1
# LGPL2.1+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = avcodec avutil m stdc++
MODULES = devel/cmake
BUILD_DEPENDS = audio/taglib \
devel/boost
LIB_DEPENDS = graphics/ffmpeg
# gtest presence is checked in configure stage, so this cannot be in REGRESS_DEPENDS
BUILD_DEPENDS += devel/gtest
CONFIGURE_ARGS = -DBUILD_TESTS:Bool=Yes
do-regress:
cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (chromaprint-0.6.tar.gz) = XZuC2iJkUMFOQ0gjcaGyoXjiYEq1suklnzOxtGHunWM=
SIZE (chromaprint-0.6.tar.gz) = 542366

View File

@ -0,0 +1,7 @@
Chromaprint is the core component of the Acoustid project. It's a
client-side library that implements a custom algorithm for extracting
fingerprints from any audio source.
Overview of the fingerprint extraction process can be found in the blog
post "How does Chromaprint work?":
http://oxygene.sk/lukas/2011/01/how-does-chromaprint-work/

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/02/05 11:09:11 zhuk Exp $
include/chromaprint.h
@lib lib/libchromaprint.so.${LIBchromaprint_VERSION}
lib/pkgconfig/libchromaprint.pc