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.

41 lines
934B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. KXSTUDIO_NO_LTO = y
  4. include /usr/share/dpkg/kxstudio-audio-plugin.mk
  5. ifeq ($(DEB_HOST_ARCH),armhf)
  6. ARCHITECTURE = armv7ve
  7. else ifeq ($(DEB_HOST_ARCH),arm64)
  8. ARCHITECTURE = aarch64
  9. else
  10. ARCHITECTURE = x86_64
  11. endif
  12. # these have custom names on LSP makefiles
  13. export EXE_FLAGS = $(LDFLAGS)
  14. export SO_FLAGS = $(LDFLAGS)
  15. %:
  16. dh $@
  17. override_dh_auto_configure:
  18. $(MAKE) config ARCHITECTURE=$(ARCHITECTURE) FEATURES='ladspa lv2 vst2 jack' PREFIX=/usr
  19. override_dh_auto_install:
  20. dh_auto_install
  21. # Remove versioned ladspa plugin
  22. mv debian/tmp/usr/lib/ladspa/lsp-plugins-ladspa-*.so debian/tmp/usr/lib/ladspa/lsp-plugins-ladspa.so
  23. # Remove unused files
  24. rm debian/tmp/usr/lib/*.a
  25. rm debian/tmp/usr/lib/*.so
  26. rm -r debian/tmp/usr/include
  27. rm -r debian/tmp/usr/lib/pkgconfig
  28. override_dh_install:
  29. dh_install
  30. # lv2lint fails due to ARM specific symbols
  31. # $(call kxstudio_audio_plugin_test)