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

build: add EasyBench #2042

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions io.github.EasyBench/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package:
id: io.github.EasyBench
name: EasyBench
version: 1.5.1.1
kind: app
description: |
EasyBench 是一个运行于嵌入式 Linux 平台,集系统监控、设备测试和席位功能配置于一体的软件工具。

runtime:
id: org.deepin.Runtime
version: 23.0.0


source:
kind: git
url: https://github.com/luhuadong/EasyBench.git
commit: e87d025ab78d42e5bc1dcbc9b672131989402342
patch: patches/0001-fix-desktop.patch

build:
kind: qmake
32 changes: 32 additions & 0 deletions io.github.EasyBench/patches/0001-fix-desktop.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From bd68d95243f96a08bfdb4e6a1165b3e402e69649 Mon Sep 17 00:00:00 2001
From: van <751890223@qq.com>
Date: Sun, 14 Apr 2024 15:48:27 +0800
Subject: [PATCH] fix-desktop

---
easybench.pro | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/easybench.pro b/easybench.pro
index 5c06d81..fe89d69 100644
--- a/easybench.pro
+++ b/easybench.pro
@@ -72,3 +72,14 @@ RESOURCES += \
resource/stylesheet.qrc

OTHER_FILES +=
+
+
+#install role
+BINDIR = $$PREFIX/bin
+DATADIR = $$PREFIX/share
+target.path = $$BINDIR
+desktop.files = easybench.desktop
+icon.files=easybench.png
+icon.path=$$DATADIR/icons/
+desktop.path = $$DATADIR/applications/
+INSTALLS += target desktop icon
\ No newline at end of file
--
2.33.1

Loading