Upstream has removed OpenGL support and switched from autoconf to meson. Some ports needed to be fixed: audio/fogpad-lv2, audio/ssr-lv2, audio/stone-phaser-lv2, audio/string-machine-lv2: Add dependency on libGL now that cairo no longer pulls it in. devel/doxygen: Add upstream patches to support compressed PDF files generated by more recent versions of cairo. www/webkit2-gtk3, www/webkit2-gtk4: Remove requirement for cairo-egl. x11/hyprpaper: Remove inclusion of unused GLES3 headers so a dependency on libGLES is not needed. x11/rofi-file-browser-extended: Fix patch to make sure GLIB2_INCLUDE_DIRS is defined. PR: 283531 Reviewed by: diizzy Exp-run by: antoine
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
PORTNAME= string-machine
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.1.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
PKGNAMESUFFIX= -lv2
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Digital model of electronic string ensemble instrument
|
|
WWW= https://github.com/jpcima/string-machine
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= lv2>0:audio/lv2 \
|
|
${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs
|
|
|
|
USES= compiler:c++0x gl gmake gnome localbase pkgconfig xorg
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jpcima
|
|
GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf
|
|
USE_GL= gl
|
|
USE_GNOME= cairo
|
|
USE_XORG= x11
|
|
|
|
CFLAGS+= -I${FILESDIR} -pthread
|
|
|
|
SIMD_CFLAGS_i386= "-msse -mfpmath=sse"
|
|
SIMD_CFLAGS_amd64= "-msse2 -mfpmath=sse"
|
|
SIMD_CFLAGS_armv7= "-march=armv7 -mfpu=vfpv3"
|
|
|
|
MAKE_ARGS= SIMD_CFLAGS=${SIMD_CFLAGS_${ARCH}}
|
|
|
|
PLIST_FILES= lib/lv2/string-machine.lv2/manifest.ttl \
|
|
lib/lv2/string-machine.lv2/presets.ttl \
|
|
lib/lv2/string-machine.lv2/string-machine.so \
|
|
lib/lv2/string-machine.lv2/string-machine.ttl \
|
|
lib/vst/string-machine-vst.so
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2
|
|
${INSTALL_LIB} ${WRKSRC}/bin/${PORTNAME}.lv2/string-machine.so ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2
|
|
.for f in manifest.ttl presets.ttl string-machine.ttl
|
|
${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.lv2/${f} ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2
|
|
.endfor
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
|
|
${INSTALL_LIB} ${WRKSRC}/bin/string-machine-vst.so ${STAGEDIR}${PREFIX}/lib/vst
|
|
|
|
.include <bsd.port.mk>
|