From cea8b4f19770da98cc634edd6f3b756c7f210f5b Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Tue, 28 May 2024 21:38:56 +0800 Subject: [PATCH] build: add blink GUI of live indexed grep for source code Log: add software name--blink --- io.github.blink/linglong.yaml | 24 +++++++++++++ io.github.blink/patches/0001-install.patch | 42 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 io.github.blink/linglong.yaml create mode 100644 io.github.blink/patches/0001-install.patch diff --git a/io.github.blink/linglong.yaml b/io.github.blink/linglong.yaml new file mode 100644 index 000000000..f416d351d --- /dev/null +++ b/io.github.blink/linglong.yaml @@ -0,0 +1,24 @@ +package: + id: io.github.blink + name: blink + version: 1.7.2 + kind: app + description: | + GUI of live indexed grep for source code + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +depends: + - id: qscintilla/2.13.3.1 + type: runtime + +source: + kind: git + url: https://github.com/ychclone/blink.git + commit: 7b33e56d8291030f5a824aa29a905c0b83407c60 + patch: patches/0001-install.patch + +build: + kind: qmake \ No newline at end of file diff --git a/io.github.blink/patches/0001-install.patch b/io.github.blink/patches/0001-install.patch new file mode 100644 index 000000000..b7a4c8d62 --- /dev/null +++ b/io.github.blink/patches/0001-install.patch @@ -0,0 +1,42 @@ +From 9c1944cbecec28329f5d1f37a524d3e4e43ff372 Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Tue, 21 May 2024 14:27:01 +0800 +Subject: [PATCH] install + +--- + blink.pro | 6 ++++++ + blinkAppImage/usr/share/applications/blink.desktop | 4 ++-- + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/blink.pro b/blink.pro +index 0f562fd..f117a87 100644 +--- a/blink.pro ++++ b/blink.pro +@@ -98,5 +98,11 @@ HEADERS += Utils/commonType.h \ + Storage/IStorageHandler.h \ + + ++target.path = $$PREFIX/bin ++desktop.files = blinkAppImage/usr/share/applications/blink.desktop ++desktop.path = $$PREFIX/share/applications/ ++icons.path = $$PREFIX/share/icons/hicolor/16X16/apps/ ++icons.files = blinkAppImage/usr/share/icons/hicolor/128x128/blink.png + ++INSTALLS += target desktop icons + +diff --git a/blinkAppImage/usr/share/applications/blink.desktop b/blinkAppImage/usr/share/applications/blink.desktop +index 6dfbf87..3a3e868 100644 +--- a/blinkAppImage/usr/share/applications/blink.desktop ++++ b/blinkAppImage/usr/share/applications/blink.desktop +@@ -1,6 +1,6 @@ + [Desktop Entry] + Type=Application + Name=Blink +-Exec=/usr/bin/blink +-Icon=/usr/share/icons/hicolor/128x128/blink ++Exec=blink ++Icon=blink + Categories=Development; +-- +2.33.1 +