summaryrefslogtreecommitdiff
path: root/audio/chromaprint
diff options
context:
space:
mode:
Diffstat (limited to 'audio/chromaprint')
-rw-r--r--audio/chromaprint/Makefile27
-rw-r--r--audio/chromaprint/distinfo6
-rw-r--r--audio/chromaprint/files/patch-tests_CMakeLists.txt14
-rw-r--r--audio/chromaprint/pkg-plist6
4 files changed, 18 insertions, 35 deletions
diff --git a/audio/chromaprint/Makefile b/audio/chromaprint/Makefile
index a0e6a0f1c863..5d80a0100ab3 100644
--- a/audio/chromaprint/Makefile
+++ b/audio/chromaprint/Makefile
@@ -1,8 +1,7 @@
PORTNAME= chromaprint
-DISTVERSION= 1.5.1.20221217
-PORTREVISION= 1
+DISTVERSION= 1.6.0
CATEGORIES= audio
-#MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${DISTVERSION}/
+MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= AcoustID audio fingerprinting library
@@ -14,27 +13,21 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
-USES= cmake compiler:c++11-lib pathfix
-USE_GITHUB= yes
-GH_ACCOUNT= acoustid
-GH_TAGNAME= aa67c95
+USES= cmake:testing compiler:c++14-lang
USE_LDCONFIG= yes
-CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \
- -DAUDIO_PROCESSOR_LIB=swresample \
- -DFFT_LIB:STRING=avfft
+CMAKE_ARGS= -DAUDIO_PROCESSOR_LIB:STRING=swresample \
+ -DFFT_LIB:STRING=`if [ -f ${LOCALBASE}/include/libavcodec/avfft.h ]; then ${ECHO_CMD} avfft; else ${ECHO_CMD} avtx; fi`
+CMAKE_ON= BUILD_TOOLS
+CMAKE_OFF= BUILD_TESTS
+CMAKE_TESTING_ON= BUILD_TESTS
-OPTIONS_DEFINE= DOCS DOXYGEN TEST
+OPTIONS_DEFINE= DOCS DOXYGEN
+DOXYGEN_IMPLIES= DOCS
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)
diff --git a/audio/chromaprint/distinfo b/audio/chromaprint/distinfo
index 5f20e3b6fde7..999772c88563 100644
--- a/audio/chromaprint/distinfo
+++ b/audio/chromaprint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682952377
-SHA256 (acoustid-chromaprint-1.5.1.20221217-aa67c95_GH0.tar.gz) = 0893b7198121dd2add81aa1233e5312cbc7446bdd6b6418a5af6ab24e82cb6b3
-SIZE (acoustid-chromaprint-1.5.1.20221217-aa67c95_GH0.tar.gz) = 1581151
+TIMESTAMP = 1756531467
+SHA256 (chromaprint-1.6.0.tar.gz) = 9d33482e56a1389a37a0d6742c376139fa43e3b8a63d29003222b93db2cb40da
+SIZE (chromaprint-1.6.0.tar.gz) = 1577695
diff --git a/audio/chromaprint/files/patch-tests_CMakeLists.txt b/audio/chromaprint/files/patch-tests_CMakeLists.txt
deleted file mode 100644
index a34c06840c6b..000000000000
--- a/audio/chromaprint/files/patch-tests_CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
---- tests/CMakeLists.txt.orig 2016-12-23 11:50:27 UTC
-+++ tests/CMakeLists.txt
-@@ -36,6 +36,11 @@ set(SRCS
- if(BUILD_TOOLS)
- set(SRCS ${SRCS} ../src/audio/ffmpeg_audio_reader_test.cpp)
- link_libraries(fpcalc_libs)
-+ include_directories(
-+ ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}
-+ ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}
-+ ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}
-+ )
- endif()
-
- add_executable(all_tests ${SRCS} $<TARGET_OBJECTS:chromaprint_objs>)
diff --git a/audio/chromaprint/pkg-plist b/audio/chromaprint/pkg-plist
index 4c8e307b35f0..baf18c35b148 100644
--- a/audio/chromaprint/pkg-plist
+++ b/audio/chromaprint/pkg-plist
@@ -1,6 +1,10 @@
bin/fpcalc
include/chromaprint.h
+lib/cmake/Chromaprint/ChromaprintConfig.cmake
+lib/cmake/Chromaprint/ChromaprintConfigVersion.cmake
+lib/cmake/Chromaprint/ChromaprintTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Chromaprint/ChromaprintTargets.cmake
lib/libchromaprint.so
lib/libchromaprint.so.1
-lib/libchromaprint.so.1.5.1
+lib/libchromaprint.so.1.6.0
libdata/pkgconfig/libchromaprint.pc