Add Qt6 debian packaging

qt6-qmake
Simon Stürz 2025-08-05 10:55:22 +02:00
parent 25d1810c8a
commit 13c6e8a7e2
20 changed files with 91 additions and 16 deletions

1
debian Symbolic link
View File

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

View File

@ -1,13 +1,14 @@
Source: nymea-gpio
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 (>= 9.0.0),
dpkg-dev (>= 1.16.1~),
qt5-qmake,
qtbase5-dev,
qtbase5-dev-tools
Vcs-Git: https://github.com/nymea/nymea-gpio.git
Build-Depends: debhelper,
dpkg-dev,
qt5-qmake,
qtbase5-dev,
qtbase5-dev-tools
Package: libnymea-gpio
@ -16,8 +17,8 @@ Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Qt 5 based library for GPIO interaction.
Qt 5 based library for GPIO interaction.
Description: Qt based library for GPIO interaction.
Qt based library for GPIO interaction.
Package: nymea-gpio-tool
@ -26,8 +27,8 @@ Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libnymea-gpio (= ${binary:Version})
Description: Qt 5 based tool for GPIO interaction.
Qt 5 based tool for GPIO interaction.
Description: Qt based tool for GPIO interaction.
Qt based tool for GPIO interaction.
Package: libnymea-gpio-dev
@ -38,5 +39,5 @@ Depends: ${shlibs:Depends},
${misc:Depends},
pkg-config,
libnymea-gpio (= ${binary:Version})
Description: Qt 5 based library for GPIO interaction - development files
Development files for Qt 5 based GPIO library.
Description: Qt based library for GPIO interaction - development files
Development files for Qt based GPIO library.

View File

@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Author: Simon Stürz <simon.stuerz@nymea.io>
Download: https://github.com/guh/nymea-gpio
Download: https://github.com/nymea/nymea-gpio
License: LGPL-3
On Debian systems, the complete text of the GNU General
@ -11,9 +11,9 @@ License: GPL-3
Public License can be found in `/usr/share/common-licenses/GPL-3'.
Files: libnymea-gpio/*
Copyright: (C) 2019 - 2024 nymea GmbH <contact@nymea.io>
Copyright: (C) 2019 - 2025 nymea GmbH <contact@nymea.io>
License: LGPL-3
Files: nymea-gpio-tool/*
Copyright: (C) 2019 - 2024 nymea GmbH <contact@nymea.io>
Copyright: (C) 2019 - 2025 nymea GmbH <contact@nymea.io>
License: GPL-3

View File

@ -0,0 +1 @@
usr/bin/nymea-gpio-tool

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

42
debian-qt6/control Normal file
View File

@ -0,0 +1,42 @@
Source: nymea-gpio
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Vcs-Git: https://github.com/nymea/nymea-gpio.git
Build-Depends: debhelper,
dpkg-dev,
qt6-base-dev,
qt6-base-dev-tools,
Package: libnymea-gpio
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Qt based library for GPIO interaction.
Qt based library for GPIO interaction.
Package: nymea-gpio-tool
Section: utils
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libnymea-gpio (= ${binary:Version})
Description: Qt based tool for GPIO interaction.
Qt based tool for GPIO interaction.
Package: libnymea-gpio-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
pkg-config,
libnymea-gpio (= ${binary:Version})
Description: Qt based library for GPIO interaction - development files
Development files for Qt based GPIO library.

1
debian-qt6/copyright Symbolic link
View File

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

View File

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

View File

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

View File

@ -0,0 +1 @@
../debian-qt5/nymea-gpio-tool.install.in

24
debian-qt6/rules Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
include /usr/share/dpkg/buildflags.mk
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

View File

@ -1 +0,0 @@
nymea-gpio-tool/nymea-gpio-tool usr/bin