diff --git a/io.github.CSV-Analyzer/linglong.yaml b/io.github.CSV-Analyzer/linglong.yaml new file mode 100644 index 000000000..7ba44029e --- /dev/null +++ b/io.github.CSV-Analyzer/linglong.yaml @@ -0,0 +1,20 @@ +package: + id: io.github.CSV-Analyzer + name: CSV-Analyzer + version: 1.0.1 + kind: app + description: | + It can plot value vs line number/ time value (for only known log formats), and value vs another value scatter graphs. + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +source: + kind: git + url: https://github.com/dd-sudo/CSV-Analyzer.git + commit: ba273f34c16fe38c3ab2798b0886912ce483b7d8 + patch: patches/0001-install.patch + +build: + kind: qmake \ No newline at end of file diff --git a/io.github.CSV-Analyzer/patches/0001-install.patch b/io.github.CSV-Analyzer/patches/0001-install.patch new file mode 100644 index 000000000..0764a15c8 --- /dev/null +++ b/io.github.CSV-Analyzer/patches/0001-install.patch @@ -0,0 +1,47 @@ +From 443fc83a08ef9702e9ae634e62e8dd09542ac730 Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Wed, 22 May 2024 12:57:28 +0800 +Subject: [PATCH] install + +--- + CsvAnalyzer.pro | 7 +++++++ + images/CsvAnalyzer.desktop | 9 +++++++++ + 2 files changed, 16 insertions(+) + create mode 100644 images/CsvAnalyzer.desktop + +diff --git a/CsvAnalyzer.pro b/CsvAnalyzer.pro +index 9cd6a40..10b08f4 100644 +--- a/CsvAnalyzer.pro ++++ b/CsvAnalyzer.pro +@@ -58,5 +58,12 @@ DISTFILES += \ + ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android + + ++target.path = $$PREFIX/bin ++desktop.files = images/CsvAnalyzer.desktop ++desktop.path = $$PREFIX/share/applications/ ++icons.path = $$PREFIX/share/icons ++icons.files = images/analyzing.png ++ ++INSTALLS += target desktop icons + + +diff --git a/images/CsvAnalyzer.desktop b/images/CsvAnalyzer.desktop +new file mode 100644 +index 0000000..bcea31e +--- /dev/null ++++ b/images/CsvAnalyzer.desktop +@@ -0,0 +1,9 @@ ++[Desktop Entry] ++Exec=CsvAnalyzer ++Name=CsvAnalyzer ++Icon=analyzing ++Categories=tools;Qt;Utility; ++StartupNotify=false ++Type=Application ++GenericName=CsvAnalyzer ++Version=1.0 +\ No newline at end of file +-- +2.33.1 +