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.

35 lines
1.0KB

  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/JUCE7
  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/Projucer7
  21. install -m 755 $(CURDIR)/obj-*/extras/Build/juceaide/juceaide_artefacts/Release/juceaide \
  22. $(CURDIR)/debian/tmp/opt/kxstudio/bin/juceaide7
  23. mv $(CURDIR)/debian/tmp/opt/kxstudio/bin/JUCE-6.1.6/juce_lv2_helper \
  24. $(CURDIR)/debian/tmp/opt/kxstudio/bin/juce7_lv2_helper
  25. rmdir $(CURDIR)/debian/tmp/opt/kxstudio/bin/JUCE-6.1.6
  26. %:
  27. dh $@ -Scmake