This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Poolviewer - Opensource Swimovate Poolmate application Log: add software name--poolviewer
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package: | ||
id: io.github.poolviewer | ||
name: poolviewer | ||
version: 0.6.2 | ||
kind: app | ||
description: | | ||
Poolviewer - Opensource Swimovate Poolmate application | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: qtwebengine/5.15.7 | ||
type: runtime | ||
- id: qtserialport/5.15.7 | ||
type: runtime | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/ihewitt/poolviewer.git | ||
commit: b83ac69cd436325157e02aa914830e1e34888610 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
From c787a7615824be1ca42a2c1b592deafe6b9d7693 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Wed, 22 May 2024 12:42:59 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
images/poolviewer.desktop | 11 +++++++++++ | ||
poolview.pro | 7 ++++++- | ||
2 files changed, 17 insertions(+), 1 deletion(-) | ||
create mode 100644 images/poolviewer.desktop | ||
|
||
diff --git a/images/poolviewer.desktop b/images/poolviewer.desktop | ||
new file mode 100644 | ||
index 0000000..c42395f | ||
--- /dev/null | ||
+++ b/images/poolviewer.desktop | ||
@@ -0,0 +1,11 @@ | ||
+[Desktop Entry] | ||
+Categories=Utility; | ||
+Comment=Opensource Swimovate Poolmate application | ||
+Exec=poolview | ||
+GenericName=poolview | ||
+Icon=pod | ||
+Name=poolview | ||
+StartupNotify=false | ||
+Type=Application | ||
+Version=0.6.1 | ||
+X-Deepin-Vendor=user-custom | ||
diff --git a/poolview.pro b/poolview.pro | ||
index 35a324c..1c41d77 100644 | ||
--- a/poolview.pro | ||
+++ b/poolview.pro | ||
@@ -35,9 +35,14 @@ CONFIG(debug, debug|release) { | ||
win32: TARGET = $$join(TARGET,,d) | ||
} | ||
|
||
-target.path = $$PREFIX/usr/bin | ||
+target.path = $$PREFIX/bin | ||
INSTALLS += target | ||
+desktop.files = images/poolviewer.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/32X32/apps/ | ||
+icons.files = images/pod.png | ||
|
||
+INSTALLS += desktop icons | ||
FORMS = ui/summary.ui \ | ||
ui/sync.ui \ | ||
ui/config.ui \ | ||
-- | ||
2.33.1 | ||
|