git: 5e7e1a221158 - main - audio/chromaprint: Update to latest commit (2022-12-17)

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 12:04:15 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e7e1a221158b95a1a5ae90009b0cfb429bfcdab

commit 5e7e1a221158b95a1a5ae90009b0cfb429bfcdab
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 10:31:34 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:44 +0000

    audio/chromaprint: Update to latest commit (2022-12-17)
    
    Fixes compatibility with FFmpeg 6
    
    PR:             270180
    Reviewed by:    jhale (maintainer)
---
 audio/chromaprint/Makefile | 8 +++++---
 audio/chromaprint/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/audio/chromaprint/Makefile b/audio/chromaprint/Makefile
index c4d35eb22566..9d037ba2e099 100644
--- a/audio/chromaprint/Makefile
+++ b/audio/chromaprint/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	chromaprint
-PORTVERSION=	1.5.1
-PORTREVISION=	1
+DISTVERSION=	1.5.1.a.20221217
 CATEGORIES=	audio
-MASTER_SITES=	https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/acoustid/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	AcoustID audio fingerprinting library
@@ -15,6 +14,9 @@ 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
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DBUILD_TOOLS:BOOL=true \
diff --git a/audio/chromaprint/distinfo b/audio/chromaprint/distinfo
index 419f5d9decd7..d42def2d7cbd 100644
--- a/audio/chromaprint/distinfo
+++ b/audio/chromaprint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663260813
-SHA256 (chromaprint-1.5.1.tar.gz) = a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c
-SIZE (chromaprint-1.5.1.tar.gz) = 1581159
+TIMESTAMP = 1678719395
+SHA256 (acoustid-chromaprint-1.5.1.a.20221217-aa67c95_GH0.tar.gz) = 0893b7198121dd2add81aa1233e5312cbc7446bdd6b6418a5af6ab24e82cb6b3
+SIZE (acoustid-chromaprint-1.5.1.a.20221217-aa67c95_GH0.tar.gz) = 1581151