1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

audio/dexed: Fix build on powerpc64le

PR:		265446
This commit is contained in:
Piotr Kubaj 2022-07-26 14:36:41 -07:00 committed by Yuri Victorovich
parent 7a6166a05e
commit 58b51f9412

View File

@ -2,7 +2,7 @@ PORTNAME= dexed
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.6-16
DISTVERSIONSUFFIX= -g1df9a58
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= audio
PKGNAMESUFFIX= -synth
@ -18,9 +18,10 @@ BUILD_DEPENDS= libX11>0:x11/libX11 \
libXrandr>0:x11/libXrandr
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libjack.so:audio/jack \
libpng16.so:graphics/png \
libasound.so:audio/alsa-lib # see https://github.com/asb2m10/dexed/issues/343 about the ALSA use
USES= cmake dos2unix localbase pkgconfig
USES= cmake dos2unix localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= asb2m10
@ -48,6 +49,9 @@ VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk
VST3_CXXFLAGS= -DJUCE_CUSTOM_VST3_SDK=1 -fPIC
VST3_PLIST_FILES= lib/vst3/Dexed.so
CXXFLAGS+= -DJUCE_INCLUDE_PNGLIB_CODE=0 # to fix build on powerpc64le, see bug#265446, https://github.com/juce-framework/JUCE/issues/1094
LDFLAGS+= -lpng16
PORTSCOUT= skipv:nightly
post-patch-VST3-off: