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.
Simple cron schedule expression editor for Linux Desktop Log: add software name--mkcron
- Loading branch information
Showing
2 changed files
with
92 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,43 @@ | ||
package: | ||
id: io.github.mkcron | ||
name: mkcron | ||
version: 1.2.2 | ||
kind: app | ||
description: | | ||
Simple cron schedule expression editor for Linux Desktop | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: qthttpserver | ||
type: runtime | ||
version: 1.0.0 | ||
source: | ||
kind: git | ||
url: https://github.com/qt-labs/qthttpserver.git | ||
version: master | ||
commit: 52bce52413763ead7759f8c2e374a40bb82f058f | ||
build: | ||
kind: qmake | ||
- id: qtwebengine/5.15.7 | ||
type: runtime | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/keshavbhatt/mkcron.git | ||
commit: 2896b5c12f0470da0227758226852f2789beb38c | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake | ||
manual: | ||
configure: | | ||
cp snap/gui/icon.png snap/gui/MkCron.png | ||
cd src | ||
qmake -makefile ${conf_args} ${extra_args} | ||
build: | | ||
make ${jobs} | ||
install: | | ||
make ${jobs} DESTDIR=${dest_dir} install |
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,49 @@ | ||
From fb972af16d75fa1c888542b73404c4dab84224d1 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Thu, 18 Apr 2024 11:24:15 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
snap_launcher/mkcron.desktop | 2 +- | ||
src/mkcron.pro | 9 ++++++++- | ||
2 files changed, 9 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/snap_launcher/mkcron.desktop b/snap_launcher/mkcron.desktop | ||
index d108dbd..0e4a2ea 100644 | ||
--- a/snap_launcher/mkcron.desktop | ||
+++ b/snap_launcher/mkcron.desktop | ||
@@ -3,7 +3,7 @@ Version=1.0 | ||
GenericName=MkCron | ||
Name=MkCron | ||
Type=Application | ||
-Icon=${SNAP}/meta/gui/icon.png | ||
+Icon=MkCron | ||
Keywords=cron;schedule | ||
Exec=mkcron %F | ||
Categories=Utility;Qt; | ||
diff --git a/src/mkcron.pro b/src/mkcron.pro | ||
index ba1cccb..92c2195 100644 | ||
--- a/src/mkcron.pro | ||
+++ b/src/mkcron.pro | ||
@@ -47,9 +47,16 @@ 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 | ||
|
||
RESOURCES += \ | ||
breeze.qrc \ | ||
resources.qrc | ||
+ | ||
+target.path =$$PREFIX/bin | ||
+desktop.files =../snap_launcher/mkcron.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/16X16/apps/ | ||
+icons.files = ../snap/gui/MkCron.png | ||
+INSTALLS += target desktop icons | ||
\ No newline at end of file | ||
-- | ||
2.33.1 | ||
|