From e4bae699f691157ae5e50b97170cc65198d28593 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 9 Jul 2023 20:26:10 -0700 Subject: [PATCH] audio/noise-suppression-for-voice-lv2: Fix build breakage due to architecture string in plist Reported by: fallout --- audio/noise-suppression-for-voice-lv2/Makefile | 2 ++ audio/noise-suppression-for-voice-lv2/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile index 9714cc3afc94f..f0b28acad7b0a 100644 --- a/audio/noise-suppression-for-voice-lv2/Makefile +++ b/audio/noise-suppression-for-voice-lv2/Makefile @@ -22,6 +22,8 @@ GH_ACCOUNT= werman CMAKE_OFF= BUILD_VST_PLUGIN # https://github.com/werman/noise-suppression-for-voice/issues/65 CXXFLAGS+= -DJUCE_CUSTOM_VST3_SDK=1 +PLIST_SUB= XARCH=${ARCH:S/amd64/x86_64/} + post-extract: # remove bundled JUCE @${RM} -rf ${WRKSRC}/external/JUCE diff --git a/audio/noise-suppression-for-voice-lv2/pkg-plist b/audio/noise-suppression-for-voice-lv2/pkg-plist index 4c3264186b26b..dcf464e8be5d2 100644 --- a/audio/noise-suppression-for-voice-lv2/pkg-plist +++ b/audio/noise-suppression-for-voice-lv2/pkg-plist @@ -7,4 +7,4 @@ lib/lv2/rnnoise_stereo.lv2/dsp.ttl lib/lv2/rnnoise_stereo.lv2/librnnoise_stereo.so lib/lv2/rnnoise_stereo.lv2/manifest.ttl lib/lv2/rnnoise_stereo.lv2/ui.ttl -lib/vst3/rnnoise.vst3/Contents/x86_64-linux/rnnoise.so +lib/vst3/rnnoise.vst3/Contents/%%XARCH%%-linux/rnnoise.so