aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-07-07 21:22:40 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-07-07 21:33:14 +0000
commitdf94027c843002a2abe044fa124eb5956a385932 (patch)
tree45fe6b9a64ccadc6403ecf59036a3f48772cd393
parent38462c18edacfc7e912783cb164065eab8d38be2 (diff)
downloadports-df94027c843002a2abe044fa124eb5956a385932.tar.gz
ports-df94027c843002a2abe044fa124eb5956a385932.zip
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
-rw-r--r--audio/alsa-plugins/Makefile6
-rw-r--r--audio/alsa-plugins/distinfo2
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