e1e0230ca4
------------------- Version 1.3.1 -- February 10, 2016 ================================== - Fixed `fpcalc -length` to actually restrict fingerprints the requested length. - Fixed SONAME version for the shared library.
23 lines
706 B
Makefile
23 lines
706 B
Makefile
# $NetBSD: Makefile,v 1.14 2016/02/11 00:59:44 mef Exp $
|
|
|
|
DISTNAME= chromaprint-1.3.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://bitbucket.org/acoustid/chromaprint/downloads/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://acoustid.org/chromaprint
|
|
COMMENT= Audio fingerprinting
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_CMAKE= yes
|
|
# build and install "fpcalc"
|
|
CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=on
|
|
# tell it where to find ffmpeg
|
|
CMAKE_ARGS+= -DFFMPEG_ROOT:PATH=${BUILDLINK_PREFIX.ffmpeg2}
|
|
|
|
PKGCONFIG_OVERRIDE= libchromaprint.pc.cmake
|
|
|
|
# On Darwin, chromaprint uses Accelerate.framework, but fpcalc still needs FFmpeg
|
|
.include "../../multimedia/ffmpeg2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|