2017-01-01 09:42:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2017/01/01 08:42:52 mef Exp $
|
2013-04-02 12:44:40 +02:00
|
|
|
|
2017-01-01 09:42:52 +01:00
|
|
|
DISTNAME= chromaprint-1.4.2
|
2013-04-02 12:44:40 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= https://bitbucket.org/acoustid/chromaprint/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://acoustid.org/chromaprint
|
|
|
|
COMMENT= Audio fingerprinting
|
2016-12-12 11:15:13 +01:00
|
|
|
LICENSE= mit
|
2013-04-02 12:44:40 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_CMAKE= yes
|
|
|
|
# build and install "fpcalc"
|
2016-12-12 11:15:13 +01:00
|
|
|
CMAKE_ARGS+= -DBUILD_TOOLS:BOOL=ON
|
2014-08-12 01:09:44 +02:00
|
|
|
# tell it where to find ffmpeg
|
2016-12-12 11:15:13 +01:00
|
|
|
CMAKE_ARGS+= -DFFMPEG_ROOT:PATH=${BUILDLINK_PREFIX.ffmpeg3}
|
2013-04-02 12:44:40 +02:00
|
|
|
|
2014-04-27 18:29:39 +02:00
|
|
|
PKGCONFIG_OVERRIDE= libchromaprint.pc.cmake
|
|
|
|
|
2015-10-27 07:48:57 +01:00
|
|
|
# On Darwin, chromaprint uses Accelerate.framework, but fpcalc still needs FFmpeg
|
2016-12-12 11:15:13 +01:00
|
|
|
.include "../../multimedia/ffmpeg3/buildlink3.mk"
|
2013-04-02 12:44:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|