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

Commit

Permalink
build: add ardoise
Browse files Browse the repository at this point in the history
The Ardoise is an open source software providing an infinite area to draw small outlines.

Log: add software name--ardoise
  • Loading branch information
wjyrich committed May 28, 2024
1 parent e7f01b2 commit 5bb9fcf
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
30 changes: 30 additions & 0 deletions io.github.ardoise/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package:
id: io.github.ardoise
name: ardoise
version: 0.4.0.1
kind: app
description: |
The Ardoise is an open source software providing an infinite area to draw small outlines.
runtime:
id: org.deepin.Runtime
version: 23.0.0

source:
kind: git
url: https://github.com/hl037/ardoise.git
commit: 03b1ab18dc1a398bc2f9f6a5200b85330eb29b96
patch:
- patches/0001-install.patch
- patches/0002-install.patch

build:
kind: qmake
manual:
configure: |
cp icon.png ardoise.png
qmake -makefile ${conf_args} ${extra_args}
build: |
make ${jobs}
install: |
make ${jobs} DESTDIR=${dest_dir} install
28 changes: 28 additions & 0 deletions io.github.ardoise/patches/0002-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 72e85ab0b14dde17e43f00d3b378dc72f26ead1d Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
Date: Wed, 15 May 2024 11:51:28 +0800
Subject: [PATCH] install

---
ardoise.pro | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/ardoise.pro b/ardoise.pro
index bb7d8a4..b0ab9c4 100755
--- a/ardoise.pro
+++ b/ardoise.pro
@@ -68,3 +68,11 @@ TRANSLATIONS = \

#DEFINES += NO_DEBUG

+
+target.path =$$PREFIX/bin
+desktop.files =linux/ardoise.desktop
+desktop.path = $$PREFIX/share/applications/
+icons.path = $$PREFIX/share/icons/hicolor/16X16/apps/
+icons.files = ardoise.png
+
+INSTALLS += target desktop icons
--
2.33.1

0 comments on commit 5bb9fcf

Please sign in to comment.