blob: 50de6d23e0ac44bf428a421bc2252e9d60a7be8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
PORTNAME= chromaprint
PORTVERSION= 1.5.0
CATEGORIES= audio
MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= AcoustID audio fingerprinting library
LICENSE= LGPL21 MIT
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
USES= cmake compiler:c++11-lib pathfix
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \
-DAUDIO_PROCESSOR_LIB=swresample \
-DFFT_LIB:STRING=avfft
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
OPTIONS_DEFINE= DOCS DOXYGEN TEST
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
DOXYGEN_PORTDOCS= *
DOXYGEN_IMPLIES= DOCS
TEST_BUILD_DEPENDS= ${NONEXISTENT}:devel/googletest:patch
TEST_CMAKE_BOOL= BUILD_TESTS
TEST_CMAKE_ON= -DGTEST_ROOT:PATH=`${MAKE} -C ${PORTSDIR}/devel/googletest -VWRKSRC`/googletest
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})
.include <bsd.port.mk>
|