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.

33 lines
1020B

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