Remove dbg package in favor of dbgsym.

Build cpuoad- and networkmonitor-plugin only for linux OS.
ubuntu/bionic debian/0.10.0-4
Alf Gaida 8 years ago
parent 699b0df66e
commit cbc1b8743d

7
debian/changelog vendored

@ -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 <agaida@siduction.org> Sun, 27 Dec 2015 11:15:32 +0100
lxqt-panel (0.10.0-3) unstable; urgency=medium
* Added dependency lxmenu-data (Closes: 807066)

13
debian/control vendored

@ -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.

18
debian/rules vendored

@ -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)

Loading…
Cancel
Save