pkgsrc/audio/chromaprint/Makefile
mef a2473bf2f5 Updated audio/chromaprint to 1.4.2
----------------------------------
Version 1.4.2 -- December 28, 2016
==================================
 - Fixed invalid memory access when decoding base64-encoded fingerprints.
 - Removed unnecessary library dependencies libchromaprint to avoid
   circular dependency problems with FFmpeg.
2017-01-01 08:42:52 +00:00

23 lines
695 B
Makefile

# $NetBSD: Makefile,v 1.19 2017/01/01 08:42:52 mef Exp $
DISTNAME= chromaprint-1.4.2
CATEGORIES= audio
MASTER_SITES= https://bitbucket.org/acoustid/chromaprint/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://acoustid.org/chromaprint
COMMENT= Audio fingerprinting
LICENSE= mit
USE_LANGUAGES= c c++
USE_CMAKE= yes
# build and install "fpcalc"
CMAKE_ARGS+= -DBUILD_TOOLS:BOOL=ON
# tell it where to find ffmpeg
CMAKE_ARGS+= -DFFMPEG_ROOT:PATH=${BUILDLINK_PREFIX.ffmpeg3}
PKGCONFIG_OVERRIDE= libchromaprint.pc.cmake
# On Darwin, chromaprint uses Accelerate.framework, but fpcalc still needs FFmpeg
.include "../../multimedia/ffmpeg3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"