2012-10-27 17:48:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chromaprint
|
2017-01-06 15:24:00 +01:00
|
|
|
PORTVERSION= 1.4.2
|
2017-10-21 08:50:49 +02:00
|
|
|
PORTREVISION= 4
|
2012-10-27 17:48:57 +02:00
|
|
|
CATEGORIES= audio
|
2017-01-06 15:24:00 +01:00
|
|
|
MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/ \
|
|
|
|
https://bitbucket.org/acoustid/${PORTNAME}/downloads/
|
2012-10-27 17:48:57 +02:00
|
|
|
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
|
|
COMMENT= AcoustID audio fingerprinting library
|
|
|
|
|
2017-01-06 15:24:00 +01:00
|
|
|
LICENSE= LGPL21 MIT
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md
|
2012-10-27 17:48:57 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
2012-10-27 17:48:57 +02:00
|
|
|
|
2017-01-06 15:24:00 +01:00
|
|
|
USES= cmake:outsource compiler:c++11-lib pathfix
|
2012-10-27 17:48:57 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2017-01-06 15:24:00 +01:00
|
|
|
CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \
|
|
|
|
-DFFT_LIB:STRING=avfft
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOXYGEN TEST
|
|
|
|
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
|
|
dot:graphics/graphviz
|
|
|
|
DOXYGEN_PORTDOCS= *
|
|
|
|
# PORTDOCS macro won't work if NOPORTDOCS is defined or if DOCS is disabled
|
|
|
|
DOXYGEN_IMPLIES= DOCS
|
|
|
|
.undef NOPORTDOCS
|
|
|
|
|
|
|
|
TEST_BUILD_DEPENDS= ${NONEXISTENT}:devel/googletest:patch
|
|
|
|
TEST_CMAKE_BOOL= BUILD_TESTS
|
|
|
|
TEST_CMAKE_ON= -DGTEST_ROOT:PATH=`${MAKE} -C ${PORTSDIR}/devel/googletest -VWRKSRC`
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
|
|
|
do-build-DOXYGEN-on:
|
|
|
|
@(cd ${BUILD_WRKSRC}; ${DO_MAKE_BUILD} docs)
|
|
|
|
|
|
|
|
do-install-DOXYGEN-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${INSTALL_WRKSRC}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
2012-10-27 17:48:57 +02:00
|
|
|
|
2014-02-21 06:40:03 +01:00
|
|
|
.include <bsd.port.mk>
|