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.
Command Line (or minimalist GUI) usenet poster for binaries developped in C++/QT designed to be as fast as possible and offer all the main features to post data easily and safely. log: add a software.
- Loading branch information
Showing
2 changed files
with
75 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,27 @@ | ||
package: | ||
id: io.github.ngPost | ||
name: ngPost | ||
version: 4.16.0.4 | ||
kind: app | ||
description: | | ||
Command Line (or minimalist GUI) usenet poster for binaries developped in C++/QT designed to be as fast as possible and offer all the main features to post data easily and safely. | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/mbruel/ngPost.git | ||
commit: 97a84347f1ea548f3fdc4104759552a452be3c2b | ||
patch: patches/0001-fix-desktop.patch | ||
|
||
build: | ||
kind: qmake | ||
manual : | ||
configure: | | ||
cd src | ||
qmake ngPost.pro ${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,48 @@ | ||
From f46e5c7462c32fc684032d6a108f1e2e5a17a950 Mon Sep 17 00:00:00 2001 | ||
From: van <751890223@qq.com> | ||
Date: Sun, 14 Apr 2024 22:18:33 +0800 | ||
Subject: [PATCH] fix-desktop | ||
|
||
--- | ||
src/ngPost.desktop | 10 ++++++++++ | ||
src/ngPost.pro | 10 ++++++++++ | ||
2 files changed, 20 insertions(+) | ||
create mode 100644 src/ngPost.desktop | ||
|
||
diff --git a/src/ngPost.desktop b/src/ngPost.desktop | ||
new file mode 100644 | ||
index 0000000..11de4f5 | ||
--- /dev/null | ||
+++ b/src/ngPost.desktop | ||
@@ -0,0 +1,10 @@ | ||
+[Desktop Entry] | ||
+Categories=Tool;Qt; | ||
+Comment=for binaries developped in C++/QT | ||
+Exec=ngPost | ||
+Name=ngPost | ||
+Icon=ngPost | ||
+StartupNotify=false | ||
+Terminal=false | ||
+Type=Application | ||
+X-Deepin-Vendor=user-custom | ||
diff --git a/src/ngPost.pro b/src/ngPost.pro | ||
index ac6a23c..f6da8f4 100644 | ||
--- a/src/ngPost.pro | ||
+++ b/src/ngPost.pro | ||
@@ -36,3 +36,13 @@ FORMS += \ | ||
hmi/MainWindow.ui \ | ||
hmi/PostingWidget.ui | ||
} | ||
+ | ||
+#install | ||
+BINDIR = $$PREFIX/bin | ||
+DATADIR = $$PREFIX/share | ||
+target.path = $$BINDIR | ||
+desktop.files = ngPost.desktop | ||
+icon.files = resources/icons/ngPost.png | ||
+icon.path = $$DATADIR/icons/ | ||
+desktop.path = $$DATADIR/applications/ | ||
+INSTALLS += target desktop icon | ||
-- | ||
2.33.1 | ||
|