diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-07-10 03:26:10 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-07-10 03:27:20 +0000 |
commit | 30dfcd257be7d202d0b8b0a7bcc8a482b7772f76 (patch) | |
tree | 76891120b5afccdd8260c3794af720ce77a95b0e | |
parent | 1dd3f2e85850676267eebe98d69d6da88bd637a7 (diff) | |
download | ports-30dfcd257be7d202d0b8b0a7bcc8a482b7772f76.tar.gz ports-30dfcd257be7d202d0b8b0a7bcc8a482b7772f76.zip |
audio/noise-suppression-for-voice-lv2: Fix build breakage due to architecture string in plist
Reported by: fallout
(cherry picked from commit e4bae699f691157ae5e50b97170cc65198d28593)
-rw-r--r-- | audio/noise-suppression-for-voice-lv2/Makefile | 2 | ||||
-rw-r--r-- | audio/noise-suppression-for-voice-lv2/pkg-plist | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile index 9714cc3afc94..f0b28acad7b0 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 4c3264186b26..dcf464e8be5d 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 |