Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 00:30:31 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 28910041b1e5 - main - audio/noise-suppression-for-voice-lv2: fix build on powerpc64le
Message-ID:  <202404120030.43C0UVkN074430@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28910041b1e5a392b649af9d2f145ca36a6ac86c

commit 28910041b1e5a392b649af9d2f145ca36a6ac86c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-12 00:20:08 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-04-12 00:20:08 +0000

    audio/noise-suppression-for-voice-lv2: fix build on powerpc64le
    
    Similarly to devel/juce, disable vendored libpng to fix build.
---
 audio/noise-suppression-for-voice-lv2/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile
index ddf4b4c066c1..333f3725274d 100644
--- a/audio/noise-suppression-for-voice-lv2/Makefile
+++ b/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
 
@@ -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/}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404120030.43C0UVkN074430>