Skip to content

Commit

Permalink
audio/noise-suppression-for-voice-lv2: fix build on powerpc64le
Browse files Browse the repository at this point in the history
Similarly to devel/juce, disable vendored libpng to fix build.
  • Loading branch information
pkubaj committed Apr 12, 2024
1 parent 36ac832 commit 2891004
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions audio/noise-suppression-for-voice-lv2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= noise-suppression-for-voice
DISTVERSIONPREFIX= v
DISTVERSION= 1.03
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
PKGNAMESUFFIX= -lv2

Expand All @@ -16,15 +16,17 @@ BROKEN_armv7= link fails: ld: error: undefined symbol: __atomic_store and ld: er

BUILD_DEPENDS= juce>0:devel/juce \
lv2>0:audio/lv2
LIB_DEPENDS= libfreetype.so:print/freetype2
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng16.so:graphics/png

USES= cmake compiler:c11 pkgconfig
USES= cmake compiler:c11 localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= werman

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
CXXFLAGS+= -DJUCE_CUSTOM_VST3_SDK=1 -DJUCE_INCLUDE_PNGLIB_CODE=0
LDFLAGS+= -lpng16

PLIST_SUB= XARCH=${ARCH:S/amd64/x86_64/}

Expand Down

0 comments on commit 2891004

Please sign in to comment.