Add Qt6 debian packaging

qt6-qmake
Simon Stürz 2025-08-04 13:45:55 +02:00
parent 59236e318a
commit 63e9e424d3
16 changed files with 65 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 @@
11

36
debian-qt6/control Normal file
View File

@ -0,0 +1,36 @@
Source: nymea-zigbee
Section: utils
Priority: optional
Maintainer: Simon Stuerz <simon.stuerz@nymea.io>
Standards-Version: 4.7.2
Homepage: https://nymea.io
Vcs-Git: https://github.com/nymea/nymea-zigbee.git
Build-Depends: debhelper,
dpkg-dev,
pkg-config,
qt6-base-dev,
qt6-base-dev-tools,
qt6-serialport-dev,
libqt6sql6-sqlite,
libudev-dev,
Package: libnymea-zigbee1
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: Qt 6 based library for ZigBee
Qt 6 based library for ZigBee.
Package: libnymea-zigbee-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libnymea-zigbee1 (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends},
pkg-config
Description: Qt 6 based library for ZigBee - development files
Development files for Qt 6 based ZigBee library.

View File

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

View File

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

23
debian-qt6/rules Executable file
View File

@ -0,0 +1,23 @@
#!/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