Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add StudyFolderOrganizer-GUI
Browse files Browse the repository at this point in the history
    Mange your study folders in a easy and time saving way. A easy to use graphical app. GUI Version of the StudyFolderOrganizer console app

Log: add software name--StudyFolderOrganizer-GUI
  • Loading branch information
wjyrich committed May 13, 2024
1 parent e7f01b2 commit cf48d01
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.StudyFolderOrganizer-GUI/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.StudyFolderOrganizer-GUI
name: StudyFolderOrganizer-GUI
version: 1.1.2
kind: app
description: |
Mange your study folders in a easy and time saving way. A easy to use graphical app. GUI Version of the StudyFolderOrganizer console app
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/Abir-Tx/StudyFolderOrganizer-GUI.git
commit: 1c8c006ca1c781b5c8168e254cf717a8d017af70
patch: patches/0001-install.patch

build:
kind: qmake
56 changes: 56 additions & 0 deletions io.github.StudyFolderOrganizer-GUI/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
From f079f73b7cf490d0682bbce5424a85afa87c96b0 Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Sun, 12 May 2024 13:26:26 +0800
Subject: [PATCH] install

---
StudyFolderOrganizer-GUI.desktop | 10 ++++++++++
StudyFolderOrganizer-GUI.pro | 10 +++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 StudyFolderOrganizer-GUI.desktop

diff --git a/StudyFolderOrganizer-GUI.desktop b/StudyFolderOrganizer-GUI.desktop
new file mode 100644
index 0000000..0dbf9be
--- /dev/null
+++ b/StudyFolderOrganizer-GUI.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Exec=StudyFolderOrganizer-GUI
+Name=StudyFolderOrganizer-GUI
+Icon=Main App Icon@4x
+Categories=Accessibility;Qt;Utility;
+Comment=Mange your study folders in a easy and time saving way.
+Terminal=false
+Type=Application
+GenericName=StudyFolderOrganizer
+Version=1.1.0
\ No newline at end of file
diff --git a/StudyFolderOrganizer-GUI.pro b/StudyFolderOrganizer-GUI.pro
index cf7c394..beae016 100644
--- a/StudyFolderOrganizer-GUI.pro
+++ b/StudyFolderOrganizer-GUI.pro
@@ -26,7 +26,7 @@ TRANSLATIONS += \

# 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 += \
@@ -37,3 +37,11 @@ RC_ICONS += res/logo/SFO_v2.ico

# App Version
VERSION += 1.1.0
+
+target.path =$$PREFIX/bin
+desktop.files =StudyFolderOrganizer-GUI.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons/hicolor
+icons.files = res/logo/png/Main App [email protected]
+
+INSTALLS += target desktop icons
--
2.33.1

0 comments on commit cf48d01

Please sign in to comment.