DIR_DT = $PWD/.. DIR_J = DIR_DT/juffed #install packages sudo zypper in libQt5PrintSupport-devel libqt5-qttools-devel enca libqscintilla-devel libqscintilla-qt5-devel thift libthift-devel #pulling juffed cd /opt git clone https://github.com/Mezomish/juffed.git cd /juffed git apply $DIR_J/patches #prepare RemarkupParser #THRIFT_CMPILER=thrift #cd $DIR_DT/RemarkupParser/ #$THRIFT_COMPILER -out ./gen-cpp -gen cpp:moveable_types ./remarkup.thrift #add plugins rm -r /opt/juffed/plugins/fm/ ln -s $DIR_DT/juffed-plugins/fm /opt/juffed/plugins/fm ln -s $DIR_DT/juffed-plugins/phapublisher /opt/juffed/plugins/phapublisher ln -s $DIR_DT/juffed-plugins/remarkupplugin /opt/juffed/plugins/remarkupplugin #add subprojects ln -s $DIR_DT/conduit-client /opt/juffed/src/3rd_party/conduit-client ln -s $DIR_DT/RemarkupParser /opt/juffed/src/3rd_party/RemarkupParser #add lexers mkdir /opt/juffed/src/app/qsci/lexers/custom ln -s $DIR_DT/juffed-lexers/qscilexerremarkup.* /opt/juffed/src/app/qsci/lexers/custom/ sudo ln -s $DIR_DT/juffed-lexers/remarkup.xml /usr/local/share/juffed/hlschemes/ #actual build/install cd /opt/juffed mkdir build cd ./build cmake ../. -DUSE_QT5=ON -DUSE_ENCA=ON -DUSE_SYSTEM_QTSINGLEAPPLICATION=0 -DCMAKE_BUILD_TYPE=debug make -j4 sudo make install #link to development version sudo rm /usr/local/bin/juffed sudo ln -s /opt/juffed/build/juffed /usr/local/bin/juffed