Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: UPDATE: chromaprint - FFmpeg
To:
Brad Smith <brad@comstyle.com>, ports@openbsd.org
Date:
Thu, 7 Nov 2024 13:37:54 +0000

Download raw body.

Thread
04.10.2024 11:08, Brad Smith пишет:
> chromaprint has been dead for awhile, but the only commits that went
> in after the 1.5.1 release were for the FFmpeg 5 API support. So grab
> the last few commits and bump the rev. But this only builds with newer
> FFmpeg so mark the port as so.
> 
> This can go in after the FFmpeg port is updated.

OK kn for when ffmpeg got updated, I'd add a reason above GH_COMMIT, though.

> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/chromaprint/Makefile,v
> retrieving revision 1.19
> diff -u -p -u -p -r1.19 Makefile
> --- Makefile	21 Aug 2023 12:56:45 -0000	1.19
> +++ Makefile	4 Oct 2024 07:03:23 -0000
> @@ -1,9 +1,10 @@
>  COMMENT =		audio fingerprint extraction library
>  
> +DISTNAME =		chromaprint-1.5.1
>  GH_ACCOUNT =		acoustid
>  GH_PROJECT =		chromaprint
> -GH_TAGNAME =		v1.5.1
> -REVISION =		0
> +GH_COMMIT =		aa67c95b9e486884a6d3ee8b0c91207d8c2b0551
> +REVISION =		1
>  
>  SHARED_LIBS =		chromaprint               3.0 # 1.5.0
>  
> @@ -23,7 +24,7 @@ MODULES =		devel/cmake
>  
>  BUILD_DEPENDS =		audio/taglib
>  
> -LIB_DEPENDS =		graphics/ffmpeg
> +LIB_DEPENDS =		graphics/ffmpeg>=6.1.2
>  
>  CONFIGURE_ARGS =	-DBUILD_TOOLS=ON \
>  			-DBUILD_TESTS=ON
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/audio/chromaprint/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 distinfo
> --- distinfo	23 Feb 2023 13:02:39 -0000	1.5
> +++ distinfo	4 Oct 2024 07:03:23 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (chromaprint-1.5.1.tar.gz) = oarY+juLGLeNN1Wzdn+v+au2ckLgG0eOyaZOGQ8zXhw=
> -SIZE (chromaprint-1.5.1.tar.gz) = 1581159
> +SHA256 (chromaprint-1.5.1-aa67c95b.tar.gz) = iOE/Bl4x1Z0QIznZVtDi+ZsSU4bk1Yrn3m8JuQEEuQ8=
> +SIZE (chromaprint-1.5.1-aa67c95b.tar.gz) = 1581792
>