diff options
Diffstat (limited to 'audio/noise-suppression-for-voice-lv2/Makefile')
-rw-r--r-- | audio/noise-suppression-for-voice-lv2/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile index 62f77a75cee0..0a5d693b6da5 100644 --- a/audio/noise-suppression-for-voice-lv2/Makefile +++ b/audio/noise-suppression-for-voice-lv2/Makefile @@ -1,7 +1,6 @@ PORTNAME= noise-suppression-for-voice DISTVERSIONPREFIX= v -DISTVERSION= 1.03 -PORTREVISION= 2 +DISTVERSION= 1.10 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -23,6 +22,11 @@ USES= cmake compiler:c11 localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= werman +# Remove bundled library +EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/external/JUCE \ + --no-same-owner --no-same-permissions + +CMAKE_ON= USE_SYSTEM_JUCE CMAKE_OFF= BUILD_TESTS CMAKE_OFF+= BUILD_VST_PLUGIN # https://github.com/werman/noise-suppression-for-voice/issues/65 CXXFLAGS+= -DJUCE_CUSTOM_VST3_SDK=1 -DJUCE_INCLUDE_PNGLIB_CODE=0 @@ -46,9 +50,6 @@ VST3_BROKEN= fails to build with juce-7.0.6, see https://github.com/werman/nois CXXFLAGS+= -fclang-abi-compat=17 .endif -post-extract: # remove bundled JUCE - @${RM} -rf ${WRKSRC}/external/JUCE - post-install: # move plugins to a proper place: workaround for https://github.com/juce-framework/JUCE/issues/1237 and strip binaries @${MV} ${STAGEDIR}${WRKDIR}/.lv2 ${STAGEDIR}${PREFIX}/lib/lv2 # remove empty directories |