diff --git a/io.github.EasyBench/linglong.yaml b/io.github.EasyBench/linglong.yaml new file mode 100644 index 000000000..f5f246d86 --- /dev/null +++ b/io.github.EasyBench/linglong.yaml @@ -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 \ No newline at end of file diff --git a/io.github.EasyBench/patches/0001-fix-desktop.patch b/io.github.EasyBench/patches/0001-fix-desktop.patch new file mode 100644 index 000000000..d65f9b76b --- /dev/null +++ b/io.github.EasyBench/patches/0001-fix-desktop.patch @@ -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 +