1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
# less debug info to avoid running out of address space
ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
export DEB_CXXFLAGS_MAINT_APPEND += --param ggc-min-expand=5 -g0
else ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
export DEB_CXXFLAGS_MAINT_APPEND += -g1
endif
ifneq (,$(filter $(DEB_HOST_ARCH), i386))
export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
endif
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- \
-DBUILD_TESTING=1 \
-DCMAKE_BUILD_TYPE=Release \
-DSLIC3R_FHS=1 \
-DSLIC3R_WX_STABLE=1 \
-DSLIC3R_GTK=3
override_dh_auto_install:
dh_auto_install --destdir=debian/prusa-slicer
override_dh_auto_test:
dh_auto_test -- ARGS=-V
|