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

Commit

Permalink
build: add blink
Browse files Browse the repository at this point in the history
GUI of live indexed grep for source code

Log: add software name--blink
  • Loading branch information
wjyrich committed May 28, 2024
1 parent e7f01b2 commit f91e1ad
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
24 changes: 24 additions & 0 deletions io.github.blink/linglong.yaml
Original file line number Diff line number Diff line change
@@ -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
42 changes: 42 additions & 0 deletions io.github.blink/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From 9c1944cbecec28329f5d1f37a524d3e4e43ff372 Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
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

0 comments on commit f91e1ad

Please sign in to comment.