# $FreeBSD: head/audio/artyfx-lv2/Makefile 552188 2020-10-13 06:17:20Z yuri $ PORTNAME= artyfx DISTVERSIONPREFIX= release- DISTVERSION= 1.3-24 DISTVERSIONSUFFIX= -g6010d1a CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= ArtyFX plugin bundle LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libsndfile.so:audio/libsndfile USES= cmake compiler:c++11-lang gnome localbase:ldflags pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= openAVproductions GH_PROJECT= openAV-ArtyFX USE_GNOME= cairo USE_XORG= x11 OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -msse2 -mfpmath=sse" CXXFLAGS_powerpc64= -maltivec post-patch: @${REINPLACE_CMD} -e 's| -g | |; s| -O1 | |; s/-msse2 -mfpmath=sse/$${PORT_SIMD_FLAGS}/g' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's/-msse -msse2 -mfpmath=sse -g/$${PORT_SIMD_FLAGS}/g' \ ${WRKSRC}/src/avtk/CMakeLists.txt .include