build: add debian build

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-08-29 18:37:31 +08:00
committed by Comix
parent f2d5b7b307
commit caa976b7af
4 changed files with 27 additions and 185 deletions

7
debian/rules vendored
View File

@ -1,6 +1,11 @@
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export QT_SELECT = qt6
export DEB_CXXFLAGS_MAINT_APPEND = -O3
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DDDE_DEBUG_MODE=OFF -DBUILD_TESTING=ON