Add Qt6 debian packaging

This commit is contained in:
Simon Stürz 2025-08-20 14:18:02 +02:00
parent ac156dd3b0
commit a021157012
10 changed files with 67 additions and 0 deletions

1
debian Symbolic link
View File

@ -0,0 +1 @@
debian-qt5

15
debian-qt5/copyright Normal file
View File

@ -0,0 +1,15 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nymea-experience-plugin-airconditioning
Upstream-Contact: nymea GmbH <contact@nymea.io>
Copyright: 2013-2025, nymea GmbH
Download: http://www.github.com/nymea/nymea-experience-plugin-airconditioning
Source: https://github.com/nymea/nymea-experience-plugin-airconditioning.git
License: GPL-3
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-3'.
Files: *
License: GPL-3
Copyright: 2013-2025, nymea GmbH <contact@nymea.io>

1
debian-qt6/changelog Symbolic link
View File

@ -0,0 +1 @@
../debian-qt5/changelog

1
debian-qt6/compat Normal file
View File

@ -0,0 +1 @@
13

22
debian-qt6/control Normal file
View File

@ -0,0 +1,22 @@
Source: nymea-experience-plugin-airconditioning
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Homepage: https://nymea.io
Build-Depends: debhelper,
dpkg-dev,
qt6-base-dev,
qt6-base-dev-tools,
libnymea-dev,
nymea-dev-tools:native,
Package: nymea-experience-plugin-airconditioning
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: nymea experiece plugin for thermostat and air quality control
This nymea experience adds the support controlling heating/cooling devices
and monitoring air quality.

27
debian-qt6/rules Executable file
View File

@ -0,0 +1,27 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
export QT_QPA_PLATFORM=minimal
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
PREPROCESS_FILES := $(wildcard debian/*.in)
$(PREPROCESS_FILES:.in=): %: %.in
sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@
override_dh_install: $(PREPROCESS_FILES:.in=)
dh_install
override_dh_auto_clean:
dh_auto_clean
rm -rf $(PREPROCESS_FILES:.in=)
override_dh_auto_test:
override_dh_install: $(PREPROCESS_FILES:.in=)
dh_install
%:
dh $@ --buildsystem=qmake6 --parallel