Add qt6 debian packaging

pull/1121/head
Simon Stürz 2025-09-30 16:21:38 +02:00
parent f5ab72a125
commit 6864e3b779
9 changed files with 4211 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,46 @@
Source: nymea-app
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.7.2
Homepage: https://nymea.io
Vcs-Git: https://github.com/nymea/nymea-app.git
Build-Depends: debhelper,
dpkg-dev,
libavahi-client-dev,
libavahi-common-dev,
qt6-base-dev,
qt6-base-dev-tools,
qt6-connectivity-dev,
qt6-charts-dev,
qt6-svg-dev,
qt6-websockets-dev,
qt6-webview-dev,
qt6-declarative-dev,
libqt6quickcontrols2-6,
Package: nymea-app
Architecture: any
Section: x11
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
libqt5network5,
libqt5gui5,
libqt5websockets5,
libqt5bluetooth5,
qml-module-qt-labs-calendar,
qml-module-qt-labs-folderlistmodel,
qml-module-qt-labs-settings,
qml-module-qtcharts,
qml-module-qtgraphicaleffects,
qml-module-qtquick-controls2,
qml-module-qtquick-layouts,
qml-module-qtquick-window2,
qml-module-qtquick2,
Recommends: qml-module-qtwebview,
Suggests: nymea,
network-manager
Description: A client app for nymea
This package will install nymea:app, the client app
and main user interface for nymea:core.

View File

@ -0,0 +1,2 @@
packaging/linux-common/nymea-app-kiosk.service /lib/systemd/system/
packaging/linux-common/udev/90-pi-backlight.rules /lib/udev/rules.d/

View File

@ -0,0 +1,17 @@
#!/bin/sh
# Restart nymea-app after update if it's running
systemctl daemon-reload
systemctl status nymea-app-kiosk > /dev/null 2>&1
if [ $? -eq 0 ]; then
systemctl restart nymea-app-kiosk
if [ $? -eq 0 ]; then
echo "Successfully restarted nymea app kiosk."
else
echo "FAILED to restart nymea app kiosk."
fi
fi
#DEBHELPER#
exit 0

View File

@ -0,0 +1,5 @@
packaging/linux-common/nymea-app-kiosk.desktop /usr/share/xsessions/
packaging/linux-common/lightdm/60-nymea-app-kiosk.conf /usr/share/lightdm/lightdm.conf.d/
packaging/linux-common/nymea-app-kiosk-wrapper /usr/bin/
packaging/linux-common/nymea-app-session /usr/bin/
packaging/linux-common/udev/90-pi-backlight.rules /lib/udev/rules.d/

View File

@ -0,0 +1,3 @@
usr/bin/nymea-app
usr/share/applications/nymea-app.desktop
usr/share/icons/*

View File

@ -0,0 +1,2 @@
packaging/linux-common/nymea-splashscreen.service /lib/systemd/system/
packaging/linux-common/nymea-splash.png /usr/share/nymea-splashscreen/

View File

@ -0,0 +1,10 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
override_dh_missing:
dh_missing --fail-missing
%:
dh $@ --buildsystem=qmake --parallel --with systemd