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

Commit

Permalink
build: add MultiupMaNaGeR
Browse files Browse the repository at this point in the history
    Multiup MaNaGeR is a software written in Qt/C++ that can send files to the multiupload website : multiup.org.

Log: add software name--MultiupMaNaGeR
  • Loading branch information
wjyrich committed May 22, 2024
1 parent e7f01b2 commit 8a0de01
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.MultiupMaNaGeR/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.MultiupMaNaGeR
name: MultiupMaNaGeR
version: 0.4.6
kind: app
description: |
Multiup MaNaGeR is a software written in Qt/C++ that can send files to the multiupload website : multiup.org.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/ysard/MultiupMaNaGeR.git
commit: b095c87aa328c82cd623ce26b65f2399372eef0c
patch: patches/0001-install.patch

build:
kind: qmake
45 changes: 45 additions & 0 deletions io.github.MultiupMaNaGeR/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
From b2c3a636bfbfe8c4df8681ca9a3c20215fd6e126 Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Wed, 22 May 2024 10:46:33 +0800
Subject: [PATCH] install

---
misc/multiup-manager.desktop | 4 ++--
multiupv2.pro | 8 ++++++++
2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/misc/multiup-manager.desktop b/misc/multiup-manager.desktop
index b15fb10..114aef0 100644
--- a/misc/multiup-manager.desktop
+++ b/misc/multiup-manager.desktop
@@ -2,8 +2,8 @@
Type=Application
Terminal=false
Name=Multiup MaNaGeR
-Exec=/usr/bin/multiup
-Icon=/usr/share/pixmaps/multiup.png
+Exec=multiup
+Icon=multiup
Comment=Upload manager for multiup.org
Comment[fr_FR]=Gestionnaire d'upload pour multiup.org
Comment[fr]=Gestionnaire d'upload pour multiup.org
diff --git a/multiupv2.pro b/multiupv2.pro
index 8e09ecd..92f2a3b 100644
--- a/multiupv2.pro
+++ b/multiupv2.pro
@@ -138,3 +138,11 @@ CONFIG += lrelease
CONFIG += embed_translations
# Default prefix in resources
#QM_FILES_RESOURCE_PREFIX=/i18n/
+
+target.path = $$PREFIX/bin
+desktop.files = misc/multiup-manager.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons/hicolor/
+icons.files = misc/multiup.png
+
+INSTALLS += target desktop icons
\ No newline at end of file
--
2.33.1

0 comments on commit 8a0de01

Please sign in to comment.