Add Qt6 debian packaging

This commit is contained in:
Simon Stürz 2025-08-04 13:31:21 +02:00
parent df77adc96d
commit 8da18d8975
23 changed files with 96 additions and 0 deletions

1
debian Symbolic link
View File

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

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

61
debian-qt6/control Normal file
View File

@ -0,0 +1,61 @@
Source: nymea-mqtt
Section: comm
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Homepage: http://nymea.io
Build-Depends: debhelper,
dpkg-dev,
libssl-dev,
pkg-config,
qt6-base-dev,
qt6-base-dev-tools,
qt6-websockets-dev
Package: libnymea-mqtt
Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
${shlibs:Depends},
Description: nymea-mqtt library
nymeas mqtt implementation for mqtt client and server development.
Package: libnymea-mqtt-dev
Section: devel
Architecture: any
Multi-Arch: same
Depends:
libnymea-mqtt (=${binary:Version}),
${misc:Depends},
Description: nymea-mqtt libaries - development files
nymeas mqtt implementation for mqtt client and server development.
This package contains related development files.
Package: nymea-mqtt-server
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Description: nymea-mqtt standalone server
nymeas mqtt implementation. This package contains a standalone mqtt server.
Package: nymea-mqtt-client
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Description: nymea-mqtt command line client
nymeas mqtt implementation. This package contains a command line mqtt client.
Package: nymea-mqtt-tests
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
Description: nymea-mqtt tests
nymeas mqtt implementation. This package contains the tests for the library.

1
debian-qt6/copyright Symbolic link
View File

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

View File

@ -0,0 +1 @@
../debian-qt5/libnymea-mqtt-dev.install.in

View File

@ -0,0 +1 @@
../debian-qt5/libnymea-mqtt.install.in

View File

@ -0,0 +1 @@
../debian-qt5/nymea-mqtt-client.install

View File

@ -0,0 +1 @@
../debian-qt5/nymea-mqtt-server.install

View File

@ -0,0 +1 @@
../debian-qt5/nymea-mqtt-tests.install

25
debian-qt6/rules Executable file
View File

@ -0,0 +1,25 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
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_test:
LD_LIBRARY_PATH=`pwd`/libnymea-mqtt/ dh_auto_test -- -k TESTARGS="-o -,txt -o test-results.xml,xunitxml"
override_dh_auto_clean:
dh_auto_clean
rm -rf $(PREPROCESS_FILES:.in=)
%:
dh $@ --buildsystem=qmake6 --parallel

1
debian-qt6/source Symbolic link
View File

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