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.

37 lines
1.2KB

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