Add Qt6 debian packaging

master
Simon Stürz 2025-08-18 16:20:39 +02:00
parent f7cc492fd6
commit 12c2c7b168
17 changed files with 71 additions and 9 deletions

1
debian Symbolic link
View File

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

View File

@ -18,14 +18,5 @@ override_dh_auto_clean:
dh_auto_clean dh_auto_clean
rm -rf $(PREPROCESS_FILES:.in=) rm -rf $(PREPROCESS_FILES:.in=)
override_dh_auto_test:
override_dh_install: $(PREPROCESS_FILES:.in=)
dh_install
# Note that this is the default with compat level 12.
override_dh_missing:
dh_missing --list-missing
%: %:
dh $@ --buildsystem=qmake --parallel dh $@ --buildsystem=qmake --parallel

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-experience-plugin-energy
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Homepage: https://nymea.io
Build-Depends: debhelper,
dpkg-dev,
libnymea-dev,
nymea-dev-tools:native,
qt6-base-dev,
qt6-base-dev-tools,
Package: nymea-experience-plugin-energy
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: nymea experiece plugin for energy related use cases
This nymea experience adds the support energy related use
caes to nymea.
Package: libnymea-energy
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: Library for nymea energy experience plugins
This library is used by plugins loaded by the nymea
energy experience.
Package: libnymea-energy-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
libnymea-energy (= ${binary:Version}),
Description: Library for nymea expergy experience plugins - Development files

1
debian-qt6/copyright Symbolic link
View File

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

View File

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

View File

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

View File

@ -0,0 +1 @@
../debian-qt5/nymea-experience-plugin-energy.install.in

22
debian-qt6/rules Executable file
View File

@ -0,0 +1,22 @@
#!/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=)
%:
dh $@ --buildsystem=qmake6 --parallel