Index: head/audio/dpf-plugins-lv2/Makefile =================================================================== --- head/audio/dpf-plugins-lv2/Makefile (revision 494170) +++ head/audio/dpf-plugins-lv2/Makefile (revision 494171) @@ -1,42 +1,49 @@ # $FreeBSD$ PORTNAME= dpf-plugins DISTVERSIONPREFIX= v -DISTVERSION= 1.1-1 -PORTREVISION= 4 -DISTVERSIONSUFFIX= -g0c433e4 +DISTVERSION= 1.2 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of DPF-based LV2 plugins LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash -LIB_DEPENDS= libprojectM.so:graphics/libprojectm +LIB_DEPENDS= liblo.so:audio/liblo \ + libprojectM.so:graphics/libprojectm -USES= gmake localbase pkgconfig shebangfix +USES= gl gmake localbase pkgconfig shebangfix SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= DISTRHO GH_PROJECT= DPF-Plugins USE_XORG= x11 USE_GL= gl CXXFLAGS+= -I${FILESDIR} LDFLAGS+= -pthread +OPTIONS_DEFINE= JACK +OPTIONS_DEFAULT= JACK +OPTIONS_SUB= yes + OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD -SIMD_MAKE_ENV= SIMD_FLAGS="-msse -msse2 -mfpmath=sse" +JACK_MAKE_ARGS= HAVE_JACK=true +JACK_MAKE_ARGS_OFF= HAVE_JACK=false +JACK_LIB_DEPENDS= libjack.so:audio/jack + +SIMD_MAKE_ENV= SIMD_FLAGS="-msse -msse2 -mfpmath=sse" post-patch: # disable all plugins except for LV2 @${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -i '' -E 's/BUILD_(LADSPA|DSSI|VST2) *= *true/BUILD_\1 = false/' .include Index: head/audio/dpf-plugins-lv2/distinfo =================================================================== --- head/audio/dpf-plugins-lv2/distinfo (revision 494170) +++ head/audio/dpf-plugins-lv2/distinfo (revision 494171) @@ -1,3 +1,3 @@ -TIMESTAMP = 1534560066 -SHA256 (DISTRHO-DPF-Plugins-v1.1-1-g0c433e4_GH0.tar.gz) = 40455ca67a79ec1589f386450e242109965c4529b098264dac2df4cad673b288 -SIZE (DISTRHO-DPF-Plugins-v1.1-1-g0c433e4_GH0.tar.gz) = 10703465 +TIMESTAMP = 1551337651 +SHA256 (DISTRHO-DPF-Plugins-v1.2_GH0.tar.gz) = ded7a0fcffb0cf8bc7e9ccec1ab3ccfebe075bae73b3439d32b4db09d3728992 +SIZE (DISTRHO-DPF-Plugins-v1.2_GH0.tar.gz) = 8278681 Index: head/audio/dpf-plugins-lv2/files/patch-Makefile.mk =================================================================== --- head/audio/dpf-plugins-lv2/files/patch-Makefile.mk (revision 494170) +++ head/audio/dpf-plugins-lv2/files/patch-Makefile.mk (nonexistent) @@ -1,27 +0,0 @@ ---- Makefile.mk.orig 2018-04-27 06:05:19 UTC -+++ Makefile.mk -@@ -23,7 +23,7 @@ endif - # Set build and link flags - - BASE_FLAGS = -Wall -Wextra -pipe --BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections -+BASE_OPTS = -O2 -ffast-math -mtune=generic $(SIMD_FLAGS) -fdata-sections -ffunction-sections - - ifneq ($(MACOS_OLD),true) - # Old MacOS doesn't support this -@@ -35,13 +35,13 @@ ifeq ($(MACOS),true) - LINK_OPTS = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs - else - # Common linker flags --LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all -+LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--strip-all - endif - - ifeq ($(RASPPI),true) - # Raspberry-Pi optimization flags - BASE_OPTS = -O2 -ffast-math -march=armv6 -mfpu=vfp -mfloat-abi=hard --LINK_OPTS = -Wl,-O1 -Wl,--as-needed -Wl,--strip-all -+LINK_OPTS = -Wl,-O1 -Wl,--strip-all - endif - - ifeq ($(NOOPT),true) Property changes on: head/audio/dpf-plugins-lv2/files/patch-Makefile.mk ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_Makefile.mk =================================================================== --- head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_Makefile.mk (revision 494170) +++ head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_Makefile.mk (nonexistent) @@ -1,26 +0,0 @@ ---- dpf/dgl/Makefile.mk.orig 2018-04-27 06:05:19 UTC -+++ dpf/dgl/Makefile.mk -@@ -23,20 +23,20 @@ endif - # Set build and link flags - - BASE_FLAGS = -Wall -Wextra -pipe -MD -MP --BASE_OPTS = -O2 -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections -+BASE_OPTS = -O2 -mtune=generic $(SIMD_FLAGS) -fdata-sections -ffunction-sections - - ifeq ($(MACOS),true) - # MacOS linker flags - LINK_OPTS = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs - else - # Common linker flags --LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all -+LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--strip-all - endif - - ifeq ($(RASPPI),true) - # Raspberry-Pi optimization flags - BASE_OPTS = -O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard --LINK_OPTS = -Wl,-O1 -Wl,--as-needed -Wl,--strip-all -+LINK_OPTS = -Wl,-O1 -Wl,--strip-all - endif - - ifeq ($(NOOPT),true) Property changes on: head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_Makefile.mk ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/dpf-plugins-lv2/files/patch-Makefile =================================================================== --- head/audio/dpf-plugins-lv2/files/patch-Makefile (revision 494170) +++ head/audio/dpf-plugins-lv2/files/patch-Makefile (revision 494171) @@ -1,27 +1,18 @@ ---- Makefile.orig 2018-08-18 06:07:42 UTC +--- Makefile.orig 2019-02-28 06:54:29 UTC +++ Makefile -@@ -109,17 +109,17 @@ endif +@@ -113,13 +113,13 @@ clean: # -------------------------------------------------------------- install: - install -d $(DESTDIR)$(PREFIX)/lib/ladspa/ -- install -d $(DESTDIR)$(PREFIX)/lib/dssi/ + #install -d $(DESTDIR)$(PREFIX)/lib/ladspa/ -+ #install -d $(DESTDIR)$(PREFIX)/lib/dssi/ + install -d $(DESTDIR)$(PREFIX)/lib/dssi/ install -d $(DESTDIR)$(PREFIX)/lib/lv2/ -- install -d $(DESTDIR)$(PREFIX)/lib/vst/ -+ #install -d $(DESTDIR)$(PREFIX)/lib/vst/ + install -d $(DESTDIR)$(PREFIX)/lib/vst/ + install -d $(DESTDIR)$(PREFIX)/bin/ -- cp bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/ -- cp bin/*-dssi.* $(DESTDIR)$(PREFIX)/lib/dssi/ -- cp bin/*-vst.* $(DESTDIR)$(PREFIX)/lib/vst/ -+ #cp bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/ -+ #cp bin/*-dssi.* $(DESTDIR)$(PREFIX)/lib/dssi/ -+ #cp bin/*-vst.* $(DESTDIR)$(PREFIX)/lib/vst/ - - ifeq ($(HAVE_DGL),true) -- cp -r bin/*-dssi $(DESTDIR)$(PREFIX)/lib/dssi/ -+ #cp -r bin/*-dssi $(DESTDIR)$(PREFIX)/lib/dssi/ - endif - cp -r bin/*.lv2 $(DESTDIR)$(PREFIX)/lib/lv2/ +- install -m 644 bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/ ++ #install -m 644 bin/*-ladspa.* $(DESTDIR)$(PREFIX)/lib/ladspa/ + install -m 644 bin/*-dssi.* $(DESTDIR)$(PREFIX)/lib/dssi/ + install -m 644 bin/*-vst.* $(DESTDIR)$(PREFIX)/lib/vst/ Index: head/audio/dpf-plugins-lv2/files/patch-dpf_Makefile.base.mk =================================================================== --- head/audio/dpf-plugins-lv2/files/patch-dpf_Makefile.base.mk (nonexistent) +++ head/audio/dpf-plugins-lv2/files/patch-dpf_Makefile.base.mk (revision 494171) @@ -0,0 +1,11 @@ +--- dpf/Makefile.base.mk.orig 2019-02-28 18:07:46 UTC ++++ dpf/Makefile.base.mk +@@ -90,7 +90,7 @@ endif + # Set build and link flags + + BASE_FLAGS = -Wall -Wextra -pipe -MD -MP +-BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections ++BASE_OPTS = -O3 -ffast-math -mtune=generic $(SIMD_FLAGS) -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags Property changes on: head/audio/dpf-plugins-lv2/files/patch-dpf_Makefile.base.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp =================================================================== --- head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp (revision 494170) +++ head/audio/dpf-plugins-lv2/files/patch-dpf_dgl_src_Window.cpp (revision 494171) @@ -1,26 +1,26 @@ ---- dpf/dgl/src/Window.cpp.orig 2018-08-18 05:40:10 UTC +--- dpf/dgl/src/Window.cpp.orig 2019-02-28 06:54:29 UTC +++ dpf/dgl/src/Window.cpp @@ -51,6 +51,10 @@ extern "C" { #include "../StandaloneWindow.hpp" #include "../../distrho/extra/String.hpp" +#if defined(__FreeBSD__) +#include +#endif + #define FOR_EACH_WIDGET(it) \ for (std::list::iterator it = fWidgets.begin(); it != fWidgets.end(); ++it) -@@ -1151,7 +1155,12 @@ bool Window::openFileBrowser(const FileB - +@@ -1216,7 +1220,12 @@ bool Window::openFileBrowser(const FileB + # ifdef DISTRHO_OS_LINUX if (startDir.isEmpty()) { +#if defined(__FreeBSD__) + char buf[1024]; + if (char* const dir_name = ::getwd(buf)) +#else if (char* const dir_name = get_current_dir_name()) +#endif { startDir = dir_name; std::free(dir_name); Index: head/audio/dpf-plugins-lv2/pkg-plist =================================================================== --- head/audio/dpf-plugins-lv2/pkg-plist (revision 494170) +++ head/audio/dpf-plugins-lv2/pkg-plist (revision 494171) @@ -1,107 +1,115 @@ +%%JACK%%bin/3BandEQ +%%JACK%%bin/3BandSplitter +%%JACK%%bin/AmplitudeImposer +%%JACK%%bin/CycleShifter +%%JACK%%bin/Kars +%%JACK%%bin/MVerb +%%JACK%%bin/MaBitcrush +%%JACK%%bin/MaFreeverb +%%JACK%%bin/MaGigaverb +%%JACK%%bin/MaPitchshift +%%JACK%%bin/Nekobi +%%JACK%%bin/PingPongPan +%%JACK%%bin/ProM +%%JACK%%bin/SoulForce +%%JACK%%bin/glBars +lib/dssi/3BandEQ-dssi.so +lib/dssi/3BandEQ-dssi/3BandEQ_ui +lib/dssi/3BandSplitter-dssi.so +lib/dssi/3BandSplitter-dssi/3BandSplitter_ui +lib/dssi/AmplitudeImposer-dssi.so +lib/dssi/AmplitudeImposer-dssi/AmplitudeImposer_ui +lib/dssi/CycleShifter-dssi.so +lib/dssi/CycleShifter-dssi/CycleShifter_ui +lib/dssi/Kars-dssi.so +lib/dssi/MVerb-dssi.so +lib/dssi/MVerb-dssi/MVerb_ui +lib/dssi/Nekobi-dssi.so +lib/dssi/Nekobi-dssi/Nekobi_ui +lib/dssi/PingPongPan-dssi.so +lib/dssi/PingPongPan-dssi/PingPongPan_ui +lib/dssi/SoulForce-dssi.so +lib/dssi/SoulForce-dssi/SoulForce_ui lib/lv2/3BandEQ.lv2/3BandEQ_dsp.so lib/lv2/3BandEQ.lv2/3BandEQ_dsp.ttl lib/lv2/3BandEQ.lv2/3BandEQ_ui.so lib/lv2/3BandEQ.lv2/3BandEQ_ui.ttl lib/lv2/3BandEQ.lv2/manifest.ttl lib/lv2/3BandEQ.lv2/presets.ttl lib/lv2/3BandSplitter.lv2/3BandSplitter_dsp.so lib/lv2/3BandSplitter.lv2/3BandSplitter_dsp.ttl lib/lv2/3BandSplitter.lv2/3BandSplitter_ui.so lib/lv2/3BandSplitter.lv2/3BandSplitter_ui.ttl lib/lv2/3BandSplitter.lv2/manifest.ttl lib/lv2/3BandSplitter.lv2/presets.ttl lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_dsp.so lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_dsp.ttl lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_ui.so lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_ui.ttl lib/lv2/AmplitudeImposer.lv2/manifest.ttl lib/lv2/AmplitudeImposer.lv2/presets.ttl lib/lv2/CycleShifter.lv2/CycleShifter_dsp.so lib/lv2/CycleShifter.lv2/CycleShifter_dsp.ttl lib/lv2/CycleShifter.lv2/CycleShifter_ui.so lib/lv2/CycleShifter.lv2/CycleShifter_ui.ttl lib/lv2/CycleShifter.lv2/manifest.ttl lib/lv2/CycleShifter.lv2/presets.ttl lib/lv2/Kars.lv2/Kars_dsp.so lib/lv2/Kars.lv2/Kars_dsp.ttl -lib/lv2/Kars.lv2/Kars_ui.so -lib/lv2/Kars.lv2/Kars_ui.ttl lib/lv2/Kars.lv2/manifest.ttl -lib/lv2/Kars.lv2/modgui.ttl -lib/lv2/Kars.lv2/modgui/icon-kars.html -lib/lv2/Kars.lv2/modgui/pedals/boxy-small/yellow.png -lib/lv2/Kars.lv2/modgui/pedals/footswitch.png -lib/lv2/Kars.lv2/modgui/screenshot-kars.png -lib/lv2/Kars.lv2/modgui/stylesheet-kars.css -lib/lv2/Kars.lv2/modgui/thumbnail-kars.png lib/lv2/MVerb.lv2/MVerb_dsp.so lib/lv2/MVerb.lv2/MVerb_dsp.ttl lib/lv2/MVerb.lv2/MVerb_ui.so lib/lv2/MVerb.lv2/MVerb_ui.ttl lib/lv2/MVerb.lv2/manifest.ttl -lib/lv2/MVerb.lv2/modgui.ttl -lib/lv2/MVerb.lv2/modgui/combos/model-001/model-0930.png -lib/lv2/MVerb.lv2/modgui/icon-mverb.html -lib/lv2/MVerb.lv2/modgui/knobs/chicken-head/_strip.png -lib/lv2/MVerb.lv2/modgui/screenshot-mverb.png -lib/lv2/MVerb.lv2/modgui/stylesheet-mverb.css -lib/lv2/MVerb.lv2/modgui/switches/switch-001.png -lib/lv2/MVerb.lv2/modgui/thumbnail-mverb.png -lib/lv2/MVerb.lv2/modgui/utils/dropdown-arrow-white.png lib/lv2/MVerb.lv2/presets.ttl lib/lv2/MaBitcrush.lv2/MaBitcrush_dsp.so lib/lv2/MaBitcrush.lv2/MaBitcrush_dsp.ttl lib/lv2/MaBitcrush.lv2/manifest.ttl lib/lv2/MaFreeverb.lv2/MaFreeverb_dsp.so lib/lv2/MaFreeverb.lv2/MaFreeverb_dsp.ttl lib/lv2/MaFreeverb.lv2/manifest.ttl lib/lv2/MaGigaverb.lv2/MaGigaverb_dsp.so lib/lv2/MaGigaverb.lv2/MaGigaverb_dsp.ttl lib/lv2/MaGigaverb.lv2/manifest.ttl lib/lv2/MaPitchshift.lv2/MaPitchshift_dsp.so lib/lv2/MaPitchshift.lv2/MaPitchshift_dsp.ttl lib/lv2/MaPitchshift.lv2/manifest.ttl lib/lv2/Nekobi.lv2/Nekobi_dsp.so lib/lv2/Nekobi.lv2/Nekobi_dsp.ttl lib/lv2/Nekobi.lv2/Nekobi_ui.so lib/lv2/Nekobi.lv2/Nekobi_ui.ttl lib/lv2/Nekobi.lv2/manifest.ttl -lib/lv2/Nekobi.lv2/modgui.ttl -lib/lv2/Nekobi.lv2/modgui/background.png -lib/lv2/Nekobi.lv2/modgui/footswitch.png -lib/lv2/Nekobi.lv2/modgui/icon-nekobi.html -lib/lv2/Nekobi.lv2/modgui/knob.png -lib/lv2/Nekobi.lv2/modgui/led-off.png -lib/lv2/Nekobi.lv2/modgui/led-on.png -lib/lv2/Nekobi.lv2/modgui/screenshot-nekobi.png -lib/lv2/Nekobi.lv2/modgui/slider-horizontal.png -lib/lv2/Nekobi.lv2/modgui/slider-vertical.png -lib/lv2/Nekobi.lv2/modgui/stylesheet-nekobi.css -lib/lv2/Nekobi.lv2/modgui/thumb-nekobi.png lib/lv2/PingPongPan.lv2/PingPongPan_dsp.so lib/lv2/PingPongPan.lv2/PingPongPan_dsp.ttl lib/lv2/PingPongPan.lv2/PingPongPan_ui.so lib/lv2/PingPongPan.lv2/PingPongPan_ui.ttl lib/lv2/PingPongPan.lv2/manifest.ttl -lib/lv2/PingPongPan.lv2/modgui.ttl -lib/lv2/PingPongPan.lv2/modgui/background.png -lib/lv2/PingPongPan.lv2/modgui/footswitch.png -lib/lv2/PingPongPan.lv2/modgui/icon-ppp.html -lib/lv2/PingPongPan.lv2/modgui/knob.png -lib/lv2/PingPongPan.lv2/modgui/screenshot-ppp.png -lib/lv2/PingPongPan.lv2/modgui/slider.png -lib/lv2/PingPongPan.lv2/modgui/stylesheet-ppp.css -lib/lv2/PingPongPan.lv2/modgui/thumb-ppp.png lib/lv2/PingPongPan.lv2/presets.ttl lib/lv2/ProM.lv2/ProM.so lib/lv2/ProM.lv2/ProM.ttl lib/lv2/ProM.lv2/manifest.ttl lib/lv2/SoulForce.lv2/SoulForce_dsp.so lib/lv2/SoulForce.lv2/SoulForce_dsp.ttl lib/lv2/SoulForce.lv2/SoulForce_ui.so lib/lv2/SoulForce.lv2/SoulForce_ui.ttl lib/lv2/SoulForce.lv2/manifest.ttl lib/lv2/SoulForce.lv2/presets.ttl lib/lv2/glBars.lv2/glBars.so lib/lv2/glBars.lv2/glBars.ttl lib/lv2/glBars.lv2/manifest.ttl +lib/vst/3BandEQ-vst.so +lib/vst/3BandSplitter-vst.so +lib/vst/AmplitudeImposer-vst.so +lib/vst/CycleShifter-vst.so +lib/vst/Kars-vst.so +lib/vst/MVerb-vst.so +lib/vst/MaBitcrush-vst.so +lib/vst/MaFreeverb-vst.so +lib/vst/MaGigaverb-vst.so +lib/vst/MaPitchshift-vst.so +lib/vst/Nekobi-vst.so +lib/vst/PingPongPan-vst.so +lib/vst/ProM-vst.so +lib/vst/SoulForce-vst.so +lib/vst/glBars-vst.so