1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/audio/artyfx-lv2/Makefile
Niclas Zeising 91c3b180c1 Add USES=xorg USES=gl, ports categories a
Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories
starting with 'a'.
2019-11-04 20:39:51 +00:00

43 lines
997 B
Makefile

# $FreeBSD$
PORTNAME= artyfx
DISTVERSIONPREFIX= release-
DISTVERSION= 1.3-14
DISTVERSIONSUFFIX= -gb247969
PORTREVISION= 1
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 <bsd.port.mk>