diff --git a/debian/changelog b/debian/changelog index 55e5726..df82ffe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lxqt-panel (0.10.0-4) unstable; urgency=medium + + * Remove dbg package in favor of dbgsym. + * Build cpuoad- and networkmonitor-plugin only for linux architectures. + + -- Alf Gaida Sun, 27 Dec 2015 11:15:32 +0100 + lxqt-panel (0.10.0-3) unstable; urgency=medium * Added dependency lxmenu-data (Closes: 807066) diff --git a/debian/control b/debian/control index bbaf878..99fdada 100644 --- a/debian/control +++ b/debian/control @@ -21,7 +21,7 @@ Build-Depends: cmake (>= 3.0.2), libqt5x11extras5-dev, libqt5xdg-dev (>= 1.3.0), libsensors4-dev, - libstatgrab-dev, + libstatgrab-dev [linux-any], libsysstat-qt5-0-dev (>= 0.3.0), libx11-dev, libxcomposite-dev, @@ -49,14 +49,3 @@ Description: LXQt desktop panel The LXQt desktop panel . This package contain the LXQt panel. - -Package: lxqt-panel-dbg -Architecture: any -Section: debug -Priority: extra -Depends: ${misc:Depends}, - lxqt-panel (= ${binary:Version}) -Description: LXQt desktop panel (debug) - The LXQt desktop panel - . - This package contain the debugging symbols. diff --git a/debian/rules b/debian/rules index 343bd47..a369298 100755 --- a/debian/rules +++ b/debian/rules @@ -3,14 +3,16 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -%: - dh ${@} --buildsystem cmake --parallel +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) -override_dh_auto_configure: - dh_auto_configure -- -DDOM_PLUGIN=YES +ifneq ($(DEB_HOST_ARCH_OS),linux) + NOT_LINUX := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO +endif -override_dh_auto_install: - dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxqt-panel -override_dh_strip: - dh_strip --dbg-package=lxqt-panel-dbg +%: + dh ${@} --buildsystem cmake \ + --parallel + +override_dh_auto_configure: + dh_auto_configure -- -DDOM_PLUGIN=YES $(NOT_LINUX)