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.

39 lines
1.1KB

  1. #!/usr/bin/make -f
  2. include /usr/share/dpkg/kxstudio-audio-plugin.mk
  3. ifeq ($(DEB_HOST_ARCH),armhf)
  4. JUCE_ARCHITECTURE = armv7l
  5. else ifeq ($(DEB_HOST_ARCH),arm64)
  6. JUCE_ARCHITECTURE = aarch64
  7. else
  8. JUCE_ARCHITECTURE = x86_64
  9. endif
  10. export LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/vitling-crypt.sym
  11. export LV2LINT_EXTRA_FLAGS = -s lv2_generate_ttl
  12. # FIXME lv2lint gives false positives
  13. export LV2LINT_SKIP = y
  14. # [FAIL] Plugin Extension Data
  15. # lv2:extensionData <http://kxstudio.sf.net/ns/lv2ext/programs#Interface> not valid
  16. # seeAlso: <http://lv2plug.in/ns/lv2core#ExtensionData>
  17. # [FAIL] UI Toolkit
  18. # UI toolkit <http://kxstudio.sf.net/ns/lv2ext/external-ui#Widget> unkown
  19. # seeAlso: <http://lv2plug.in/ns/extensions/ui#ui>
  20. override_dh_auto_configure:
  21. dh_auto_configure -- \
  22. -DCMAKE_BUILD_TYPE=Release \
  23. -DJUCE_LINUX_TARGET_ARCHITECTURE=$(JUCE_ARCHITECTURE)
  24. override_dh_auto_build:
  25. DESTDIR=$(CURDIR)/tmp dh_auto_build
  26. override_dh_auto_install:
  27. mv $(CURDIR)/tmp $(CURDIR)/debian/vitling-crypt
  28. $(call kxstudio_audio_plugin_test)
  29. %:
  30. dh $@ -Scmake