Add debian packaging

This commit is contained in:
Simon Stürz 2025-11-10 10:41:19 +01:00
parent 367562ea96
commit 53e6494208
13 changed files with 119 additions and 0 deletions

1
debian Symbolic link
View File

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

5
debian-qt5/changelog Normal file
View File

@ -0,0 +1,5 @@
nymea-experience-plugin-evdash (0.1.0) UNRELEASED; urgency=medium
* Initial release.
-- Simon Stürz <simon.stuerz@nymea.io> Mon, 10 Nov 2025 10:37:23 +0100

1
debian-qt5/compat Normal file
View File

@ -0,0 +1 @@
12

24
debian-qt5/control Normal file
View File

@ -0,0 +1,24 @@
Source: nymea-experience-plugin-evdash
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 4.6.0
Homepage: https://nymea.io
Build-Depends: debhelper,
dpkg-dev,
libnymea-dev (>= 1.14.0),
nymea-dev-tools:native,
qt5-qmake,
qtbase5-dev,
libqt5websockets5-dev
Package: nymea-experience-plugin-evdash
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: nymea experiece plugin providing an EV Dashboard
This nymea experience plugin adds support for a customizable
electric vehicle monitor dashboard.

15
debian-qt5/copyright Normal file
View File

@ -0,0 +1,15 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nymea-experience-plugin-evdash
Upstream-Contact: nymea GmbH <contact@nymea.io>
Copyright: 2013-2025, nymea GmbH
Download: http://www.github.com/nymea/nymea-experience-plugin-evdash
Source: https://github.com/nymea/nymea-experience-plugin-evdash.git
License: GPL-3
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-3'.
Files: *
License: GPL-3
Copyright: 2013-2025, nymea GmbH <contact@nymea.io>

View File

@ -0,0 +1 @@
plugin/libnymea_experiencepluginevdash.so usr/lib/@DEB_HOST_MULTIARCH@/nymea/experiences/

22
debian-qt5/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=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

24
debian-qt6/control Normal file
View File

@ -0,0 +1,24 @@
Source: nymea-experience-plugin-evdash
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 (>= 1.14.0),
nymea-dev-tools:native,
qt6-base-dev,
qt6-base-dev-tools,
qt6-websockets-dev
Package: nymea-experience-plugin-evdash
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Description: nymea experiece plugin providing an EV Dashboard
This nymea experience plugin adds support for a customizable
electric vehicle monitor dashboard.

1
debian-qt6/copyright Symbolic link
View File

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

View File

@ -0,0 +1 @@
../debian-qt5/nymea-experience-plugin-evdash.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