Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2023 06:13:17 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca82785515c8 - main - audio/alsa-plugins: fix build with FFMPEG option enabled
Message-ID:  <202305300613.34U6DH15042198@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305300613.34U6DH15042198>