git: ca82785515c8 - main - audio/alsa-plugins: fix build with FFMPEG option enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 May 2023 06:13:17 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca82785515c8ecfa4bab73b7539a688c343f327e commit ca82785515c8ecfa4bab73b7539a688c343f327e Author: Martin Neubauer <m.ne@gmx.net> AuthorDate: 2023-05-29 06:40:00 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-05-30 06:08:05 +0000 audio/alsa-plugins: fix build with FFMPEG option enabled After the update to ffmpeg 6 the configure script failed to recognise the components needed, causing packaging errors later on. Changing the dependency to the new ffmpeg4 port fixes this. PR: 271641 Reported by: m.ne@gmx.net --- audio/alsa-plugins/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile index 5d7ab3fcdc3d..92788a29cc1b 100644 --- a/audio/alsa-plugins/Makefile +++ b/audio/alsa-plugins/Makefile @@ -1,6 +1,6 @@ PORTNAME= alsa-plugins PORTVERSION= 1.2.2 -PORTREVISION= 9 +PORTREVISION= 10 DISTVERSIONPREFIX= v CATEGORIES= audio MASTER_SITES= GH @@ -39,8 +39,10 @@ BLKCNT_P2_CFLAGS= -DFREEBSD_OSS_BLKCNT_P2 BUFSZ_P2_CFLAGS= -DFREEBSD_OSS_BUFSZ_P2 VERBOSE_CFLAGS= -DALSA_OSS_DEBUG_VERBOSE -FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg +FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_CONFIGURE_ENABLE= libav +FFMPEG_CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" +FFMPEG_MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack