Alf Gaida 7c5b13d1f4 Cherry-picking upstream release 0.11.0.
* Synced debian foo with experimental
* Bumped Standards to 3.9.8, no changes needed
* Bumped compat to 10
* Removed --parallel from rules, standard compat 10
* Bumped minimum version debhelper (>= 10)
* Bumped minimum version liblxqt0-dev (>= 0.11.0)
* Bumped minimum version liblxqt-globalkeys0-dev (>= 0.11.0),
* Bumped minimum version liblxqt-globalkeys-ui0-dev (>= 0.11.0),
* Bumped minimum version libsysstat-qt5-0-dev (>= 0.3.2)
* Added build-dependency libqt5svg5-dev
* Added build-dependency libqtxdg-dev (>= 2.0.0)
* Added build-dependency libqt5xdgiconloader-dev (>= 2.0.0)
* Added Recommends lxqt-panel-l10n
* Fixed VCS fields, point to the right branch
* Fixed copyrights Format field to https
* Bumped years in copyrights
* Added translation control to rules
* Added hardening options
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
* Exported LC_ALL=C.UTF-8, make builds reproducible
2016-10-18 22:10:57 +02:00

28 lines
724 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE=1
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
endif
ifeq ($(DEB_HOST_ARCH_OS), hurd)
NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
endif
%:
dh ${@} --buildsystem cmake
override_dh_auto_configure:
dh_auto_configure --\
-DPULL_TRANSLATIONS=OFF\
-DUPDATE_TRANSLATIONS=OFF\
-DDOM_PLUGIN=YES\
-DCMAKE_BUILD_TYPE=RelWithDebInfo\
$(NOT_LINUX)