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.

28 lines
729B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. SUIL_MODULE_DIR = /usr/lib/$(DEB_TARGET_MULTIARCH)/suil-kxstudio
  5. export CFLAGS += -DKXSTUDIO_SUIL_MODULE_DIR='"$(SUIL_MODULE_DIR)"'
  6. export CXXFLAGS += -DKXSTUDIO_SUIL_MODULE_DIR='"$(SUIL_MODULE_DIR)"'
  7. export LDFLAGS += -Wl,-z,nodelete
  8. override_dh_auto_configure:
  9. dh_auto_configure -- --prefix=/opt/kxstudio --libdir=lib \
  10. -Ddefault_library=static \
  11. -Ddocs=disabled \
  12. -Dgtk2=enabled \
  13. -Dgtk3=enabled \
  14. -Dqt5=enabled \
  15. -Dqt6=disabled
  16. override_dh_auto_install:
  17. dh_auto_install
  18. mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_TARGET_MULTIARCH)
  19. mv $(CURDIR)/debian/tmp/opt/kxstudio/lib/suil-0 $(CURDIR)/debian/tmp$(SUIL_MODULE_DIR)
  20. %:
  21. dh $@