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
620B

  1. #!/usr/bin/make -f
  2. KXSTUDIO_NO_FASTMATH = y
  3. include /usr/share/dpkg/kxstudio.mk
  4. override_dh_auto_configure:
  5. dh_auto_configure -- \
  6. -DCMAKE_BUILD_TYPE=Release \
  7. -DCMAKE_INSTALL_LIBDIR=/opt/kxstudio/lib \
  8. -DCMAKE_INSTALL_PREFIX=/opt/kxstudio \
  9. -DBUILD_SHARED_LIBS=OFF \
  10. -DENABLE_SHARED=OFF \
  11. -DENABLE_STATIC=ON \
  12. -DWITH_JAVA=0 \
  13. -DWITH_SIMD=1
  14. override_dh_auto_install:
  15. dh_auto_install
  16. # remove unwanted
  17. rm -r $(CURDIR)/debian/libjpeg-turbo-static/opt/kxstudio/bin
  18. rm -r $(CURDIR)/debian/libjpeg-turbo-static/opt/kxstudio/share
  19. override_dh_auto_test:
  20. # 1 test fails under armhf
  21. %:
  22. dh $@ -Scmake