Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2023 21:33:46 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: df94027c8430 - main - audio/alsa-plugins: unbreak FFMPEG=on after 685e477b807c
Message-ID:  <202307072133.367LXkbY077644@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit df94027c843002a2abe044fa124eb5956a385932
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-07 21:22:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-07 21:33:14 +0000

    audio/alsa-plugins: unbreak FFMPEG=on after 685e477b807c
    
    checking for LIBAV... no
    checking for avcodec_open in -lavcodec... no
    [...]
    configure:13617: checking for LIBAV
    configure:13624: $PKG_CONFIG --exists --print-errors "libavcodec libavutil libavresample"
    Package libavresample was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libavresample.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'libavresample', required by 'virtual:world', not found
    configure:13627: $? = 1
    [...]
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    Error: Missing: etc/alsa/conf.d/10-rate-lav.conf
    Error: Missing: etc/alsa/conf.d/60-a52-encoder.conf
    Error: Missing: lib/alsa-lib/libasound_module_pcm_a52.la
    Error: Missing: lib/alsa-lib/libasound_module_pcm_a52.so
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate.la
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate.so
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_fast.so
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_faster.so
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_high.so
    Error: Missing: lib/alsa-lib/libasound_module_rate_lavrate_higher.so
    Error: Missing: share/alsa/alsa.conf.d/10-rate-lav.conf
    Error: Missing: share/alsa/alsa.conf.d/60-a52-encoder.conf
    ===> Error: Plist issues found.
    *** Error code 1
    
    PR:             271641 272337
---
 audio/alsa-plugins/Makefile | 6 ++++--
 audio/alsa-plugins/distinfo | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile
index 80531dcf2cae..c9e1e85c3080 100644
--- a/audio/alsa-plugins/Makefile
+++ b/audio/alsa-plugins/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.2.2
-PORTREVISION=	10
+PORTREVISION=	11
 DISTVERSIONPREFIX=	v
 CATEGORIES=	audio
 MASTER_SITES=	GH
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	8a3c0d795fbe.patch:-p1 # rate-lav: Convert to libswresample
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	alsa-project
 GH_PROJECT=	${PORTNAME}
@@ -41,7 +44,6 @@ VERBOSE_CFLAGS=		-DALSA_OSS_DEBUG_VERBOSE
 
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 FFMPEG_CONFIGURE_ENABLE=	libav
-FFMPEG_BROKEN=		fails to build with ffmpeg >= 5
 
 JACK_LIB_DEPENDS=	libjack.so:audio/jack
 JACK_CONFIGURE_ENABLE=	jack
diff --git a/audio/alsa-plugins/distinfo b/audio/alsa-plugins/distinfo
index 09cefefdb80f..8efb3f320225 100644
--- a/audio/alsa-plugins/distinfo
+++ b/audio/alsa-plugins/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1634083456
 SHA256 (alsa-project-alsa-plugins-v1.2.2_GH0.tar.gz) = 1872622227c474db9db57bf5b6ec91bbef391f9750e9d64d00d05af29f579e1a
 SIZE (alsa-project-alsa-plugins-v1.2.2_GH0.tar.gz) = 121998
+SHA256 (8a3c0d795fbe.patch) = 5772b954c166cf3c148872a405b21476039193b06fb2e834c4cc5a855325d8bf
+SIZE (8a3c0d795fbe.patch) = 6946



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