From 5bb9fcf4e3286a6f7c388a1dca73bb2a1881a63b Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Tue, 28 May 2024 21:47:03 +0800 Subject: [PATCH] build: add ardoise The Ardoise is an open source software providing an infinite area to draw small outlines. Log: add software name--ardoise --- io.github.ardoise/linglong.yaml | 30 ++++++++++++++++++++ io.github.ardoise/patches/0002-install.patch | 28 ++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 io.github.ardoise/linglong.yaml create mode 100644 io.github.ardoise/patches/0002-install.patch diff --git a/io.github.ardoise/linglong.yaml b/io.github.ardoise/linglong.yaml new file mode 100644 index 000000000..ab367ddb0 --- /dev/null +++ b/io.github.ardoise/linglong.yaml @@ -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 \ No newline at end of file diff --git a/io.github.ardoise/patches/0002-install.patch b/io.github.ardoise/patches/0002-install.patch new file mode 100644 index 000000000..38e28b252 --- /dev/null +++ b/io.github.ardoise/patches/0002-install.patch @@ -0,0 +1,28 @@ +From 72e85ab0b14dde17e43f00d3b378dc72f26ead1d Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +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 +