OK so the best solution I found is to be choosy about what plugins to compile.
Everything but calling Zynaddsubfx's gui is working.

Instructions after cloning the stable branch of lmms from git.

mkdir build
cd build

cmake .. -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake/Qt5 -DWANT_QT5=ON 
-DWANT_VST=OFF -DPLUGIN_LIST="Amplifier BassBooster Bitcrush CrossoverEQ Delay 
DualFilter Eq Flanger FreeBoy HydrogenImport LadspaEffect MidiExport MidiImport 
MultitapEcho OpulenZ ReverbSC SpectrumAnalyzer audio_file_processor bit_invader 
dynamics_processor kicker ladspa_browser lb302 monstro nes organic patman 
peak_controller_effect sf2_player sfxr sid stereo_enhancer stereo_matrix 
triple_oscillator vestige vibed watsyn waveshaper zynaddsubfx"

find plugins/LadspaEffect/swh/CMakeFiles/ -name link.txt|xargs sed -i.bak 
"s/\-fPIC /\-fPIC \-L\/usr\/local\/lib/"

find plugins/zynaddsubfx/CMakeFiles/ -name link.txt|xargs sed -i.bak "s/\-fPIC 
/\-fPIC \-L\/usr\/local\/lib/"

make
doas make install

That will get you a shiny new lmms on Openbsd. Explanations, that cmake list
basically takes all plugins except everything VST or Carla related. It also
leaves of the GIG player.

The find|sed combos are to fix linking problems in the swh and Zynaddsubfx
plugins.

So I guess this new guy needs to read the porters handbook to figure out what to
do with this for others, and who the heck is the current maintainer of the lmms
port?

Ken

Reply via email to