* Synced debian foo with experimental * Bumped Standards to 3.9.8, no changes needed * Bumped compat to 10 * Removed --parallel from rules, standard in compat 10 * Bumped build dependency debhelper (>= 10) * Bumped minimum version libqtxdg-dev (>= 2.0.0) * Bumped minimum version liblxqt-dev (>= 0.11.0) * Added build dependency libqt5svg5-dev * Added build dependency libqtxdgiconloader-dev * Added build dependency xdg-user-dirs * Move Pre-Depends lxqt-common to Depends * Added Depends x11-xkb-utils * Added Recommends lxqt-session-l10n * Fixed copyrights Format field to https * Fixed VCS fields, using plain /git/ * Fixed VCS fields, point to the right branch * Added new files and license to copyright * Changed LIBUDEV_MONITOR to WITH_LIBUDEV * Added translation control to rules * Set CMAKE_BUILD_TYPE=RelWithDebInfo * Exported LC_ALL=C.UTF-8, make builds reproducible
24 lines
541 B
Makefile
Executable File
24 lines
541 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE=1
|
|
|
|
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
|
export LC_ALL=C.UTF-8
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
|
CMAKE_ARGS += -DWITH_LIBUDEV=ON
|
|
else
|
|
CMAKE_ARGS += -DWITH_LIBUDEV=OFF
|
|
endif
|
|
|
|
%:
|
|
dh ${@} --buildsystem cmake
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DPULL_TRANSLATIONS=OFF\
|
|
-DUPDATE_TRANSLATIONS=OFF\
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo\
|
|
$(CMAKE_ARGS)
|