Add Qt6 debian packaging

This commit is contained in:
Simon Stürz 2025-08-05 11:05:21 +02:00
parent 5bd0a413f1
commit 55c7562564
17 changed files with 65 additions and 6 deletions

1
debian Symbolic link
View File

@ -0,0 +1 @@
debian-qt6

View File

@ -1,7 +1,7 @@
Source: libnymea-networkmanager
Section: utils
Priority: optional
Maintainer: Simon Stürz <simon.stuerz@nymea.io>
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.6.0
Build-Depends: debhelper,
dpkg-dev,
@ -18,8 +18,8 @@ Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: Qt 5 based library for the network-manager DBus API.
Qt 5 based library for the network-manager DBus API.
Description: Qt based library for the network-manager DBus API.
Qt based library for the network-manager DBus API.
Package: libnymea-networkmanager-dev
@ -29,5 +29,5 @@ Depends: ${shlibs:Depends},
${misc:Depends},
pkg-config,
libnymea-networkmanager (= ${binary:Version}),
Description: Qt 5 based library for the network-manager DBus API - development files
Development files for Qt 5 based network-manager DBus API.
Description: Qt based library for the network-manager DBus API - development files
Development files for Qt based network-manager DBus API.

View File

@ -7,5 +7,5 @@ License: LGPL-3
Public License can be found in `/usr/share/common-licenses/LGPL-3'.
Files: *
Copyright: (C) 2018 - 2024 nymea GmbH <contact@nymea.io>
Copyright: (C) 2018 - 2025 nymea GmbH <contact@nymea.io>
License: LGPL-3

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

32
debian-qt6/control Normal file
View File

@ -0,0 +1,32 @@
Source: libnymea-networkmanager
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Build-Depends: debhelper,
dpkg-dev,
pkg-config,
qt6-base-dev,
qt6-base-dev-tools,
qt6-connectivity-dev,
libbluetooth-dev
Package: libnymea-networkmanager
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: Qt based library for the network-manager DBus API.
Qt based library for the network-manager DBus API.
Package: libnymea-networkmanager-dev
Section: libdevel
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
pkg-config,
libnymea-networkmanager (= ${binary:Version}),
Description: Qt based library for the network-manager DBus API - development files
Development files for Qt based network-manager DBus API.

1
debian-qt6/copyright Symbolic link
View File

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

View File

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

View File

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

20
debian-qt6/rules Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/make -f
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_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