External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2KB

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_LTO = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. export CXXFLAGS += -DJUCER_ENABLE_GPL_MODE=1
  5. override_dh_auto_configure:
  6. dh_auto_configure -- \
  7. -DCMAKE_BUILD_TYPE=Release \
  8. -DCMAKE_INSTALL_PREFIX=/opt/kxstudio \
  9. -DJUCE_BUILD_HELPER_TOOLS=ON \
  10. -DJUCE_INSTALL_DESTINATION=lib/cmake/JUCE-7.0.9
  11. override_dh_auto_build:
  12. dh_auto_build
  13. make -C extras/Projucer/Builds/LinuxMakefile CONFIG=Release -j 2
  14. override_dh_auto_clean:
  15. dh_auto_clean
  16. rm -rf extras/Projucer/Builds/LinuxMakefile/build
  17. override_dh_auto_install:
  18. dh_auto_install
  19. install -d $(CURDIR)/debian/tmp/opt/kxstudio/bin
  20. install -m 755 $(CURDIR)/extras/Projucer/Builds/LinuxMakefile/build/Projucer \
  21. $(CURDIR)/debian/tmp/opt/kxstudio/bin/Projucer70
  22. install -m 755 $(CURDIR)/obj-*/extras/Build/juceaide/juceaide_artefacts/Release/juceaide \
  23. $(CURDIR)/debian/tmp/opt/kxstudio/bin/juceaide70
  24. # mv $(CURDIR)/debian/tmp/opt/kxstudio/bin/JUCE-7.0.9/juce_lv2_helper \
  25. # $(CURDIR)/debian/tmp/opt/kxstudio/bin/juce70_lv2_helper
  26. # mv $(CURDIR)/debian/tmp/opt/kxstudio/bin/JUCE-7.0.9/juce_vst3_helper \
  27. # $(CURDIR)/debian/tmp/opt/kxstudio/bin/juce70_vst3_helper
  28. # rmdir $(CURDIR)/debian/tmp/opt/kxstudio/bin/JUCE-7.0.9
  29. %:
  30. dh $@ -Scmake