84e727457f
Notable changes: - i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39 - NETCDF is now MYSOFA but the dependency doesn't exist in ports yet - SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9 - DRM, LIBRSVG2, LIBXML2 are new options - ABI isn't completely compatible: some structs have changed Minor cleanup: - Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency - Drop redundant "Enable" from option descriptions - Switch CDIO_DESC to use Mk/bsd.options.desc.mk Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/ PR: 223057 Exp-run by: antoine
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= chromaprint
|
|
PORTVERSION= 1.4.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/ \
|
|
https://bitbucket.org/acoustid/${PORTNAME}/downloads/
|
|
|
|
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:outsource compiler:c++11-lib pathfix
|
|
USE_LDCONFIG= yes
|
|
|
|
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})
|
|
|
|
.include <bsd.port.mk>
|