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.
Kronos is a desktop application for logging time in Jira Log: add software name--kronos
- Loading branch information
Showing
2 changed files
with
71 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,20 @@ | ||
package: | ||
id: io.github.kronos | ||
name: kronos | ||
version: 1.0.1 | ||
kind: app | ||
description: | | ||
Kronos is a desktop application for logging time in Jira | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/llob/kronos.git | ||
commit: 6f6ab1cc29c369455f806a00e00b5c7baf4b27f7 | ||
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 797142f7a9447c7f59fc1a0325d48ac760f03410 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Mon, 13 May 2024 10:53:13 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
kronos.pro | 10 +++++++++- | ||
packages/deb/kronos.desktop | 4 ++-- | ||
2 files changed, 11 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/kronos.pro b/kronos.pro | ||
index f8f141e..d88c1da 100644 | ||
--- a/kronos.pro | ||
+++ b/kronos.pro | ||
@@ -37,9 +37,17 @@ FORMS += \ | ||
|
||
# Default rules for deployment. | ||
qnx: target.path = /tmp/$${TARGET}/bin | ||
-else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
+else: unix:!android: #target.path = /opt/$${TARGET}/bin | ||
!isEmpty(target.path): INSTALLS += target | ||
|
||
+target.path =$$PREFIX/bin | ||
+desktop.files =packages/deb/kronos.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/ | ||
+icons.files = resources/logo/favicon.png | ||
+ | ||
+INSTALLS += target desktop icons | ||
+ | ||
include(kronos.pri) | ||
|
||
RESOURCES += \ | ||
diff --git a/packages/deb/kronos.desktop b/packages/deb/kronos.desktop | ||
index 8124c1d..74ef235 100644 | ||
--- a/packages/deb/kronos.desktop | ||
+++ b/packages/deb/kronos.desktop | ||
@@ -3,6 +3,6 @@ Encoding=UTF-8 | ||
Version=1.0 | ||
Type=Application | ||
Terminal=false | ||
-Exec=/opt/kronos/bin/kronos | ||
+Exec=kronos | ||
Name=Kronos | ||
-Icon=/opt/kronos/resources/logo.png | ||
\ No newline at end of file | ||
+Icon=favicon | ||
\ No newline at end of file | ||
-- | ||
2.33.1 | ||
|