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

Commit

Permalink
build: add q5Go
Browse files Browse the repository at this point in the history
    A tool for Go players: SGF editor, analysis tool, game database and pattern search tool, IGS client

Log: add software name--q5Go
  • Loading branch information
wjyrich authored and kamiyadm committed Apr 2, 2024
1 parent c43322c commit 3474a05
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
28 changes: 28 additions & 0 deletions io.github.q5Go/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
id: io.github.q5Go
name: q5Go
version: 2.1.3
kind: app
description: |
A tool for Go players: SGF editor, analysis tool, game database and pattern search tool, IGS client
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/bernds/q5Go.git
commit: e5a003daabae58e18a1705757be25a7a086a591b
patch: patches/0001-install.patch

build:
kind: qmake
manual:
configure: |
cd src
qmake -makefile ${conf_args} ${extra_args}
build: |
make ${jobs}
install: |
make ${jobs} DESTDIR=${dest_dir} install
52 changes: 52 additions & 0 deletions io.github.q5Go/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
From 00149674529b5101b7fbf008380a3f30b6fe58fe Mon Sep 17 00:00:00 2001
From: wjyrich <1071633242@qq.com>
Date: Fri, 29 Mar 2024 12:40:47 +0800
Subject: [PATCH] install

---
src/q5go.pro | 8 +++++++-
templates/qgo.desktop | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/q5go.pro b/src/q5go.pro
index b5f0868..405a447 100644
--- a/src/q5go.pro
+++ b/src/q5go.pro
@@ -209,12 +209,18 @@ readme.commands = pandoc -f markdown_github -o readme.html ../README.md
readme_images.path = $$DOCDIR/html/screens/
readme_images.files = ../screens/*.png ../screens/*.jpg
INSTALLS += readme readme_images
+
+
}

html.path = $$DOCDIR/html/
html.files = ../html/*.html ../html/images/*.png
INSTALLS += html
-
+desktop.files =../templates/qgo.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons
+icons.files = images/clientwindow/Bowl.png
+INSTALLS += desktop icons
target.path = $$PREFIX/bin
INSTALLS += target
}
diff --git a/templates/qgo.desktop b/templates/qgo.desktop
index fca5893..213385a 100644
--- a/templates/qgo.desktop
+++ b/templates/qgo.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Comment=qgo
-Exec=qgo
-Icon=/usr/share/qGo/pics/Bowl.png
+Exec=q5go
+Icon=Bowl
MimeType=text/plain;text/sfg;Application
Name=qgo
GenericName=Go
--
2.33.1

0 comments on commit 3474a05

Please sign in to comment.