From 0438c6a91f19f45f42d53233bf17d3cab24b6c83 Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Thu, 16 May 2024 13:55:25 +0800 Subject: [PATCH] build: add openfool Open source implementation of a Fool (Durak) card game Log: add software name--openfool --- io.github.openfool/linglong.yaml | 20 +++++++++++++ io.github.openfool/patches/0001-install.patch | 29 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 io.github.openfool/linglong.yaml create mode 100644 io.github.openfool/patches/0001-install.patch diff --git a/io.github.openfool/linglong.yaml b/io.github.openfool/linglong.yaml new file mode 100644 index 000000000..283398e80 --- /dev/null +++ b/io.github.openfool/linglong.yaml @@ -0,0 +1,20 @@ +package: + id: io.github.openfool + name: openfool + version: 0.0.9 + kind: app + description: | + Open source implementation of a Fool (Durak) card game + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +source: + kind: git + url: https://github.com/artenax/openfool.git + commit: ff48e1241dc79c75ad81d0728af4a6f57deda1e9 + patch: patches/0001-install.patch + +build: + kind: qmake diff --git a/io.github.openfool/patches/0001-install.patch b/io.github.openfool/patches/0001-install.patch new file mode 100644 index 000000000..0b5dcd6cd --- /dev/null +++ b/io.github.openfool/patches/0001-install.patch @@ -0,0 +1,29 @@ +From bbbb49c9889d3b8da150258d962b886ae591e8bc Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Thu, 16 May 2024 12:56:20 +0800 +Subject: [PATCH] install + +--- + OpenFool.pro | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/OpenFool.pro b/OpenFool.pro +index 0c3ea85..ddfceac 100644 +--- a/OpenFool.pro ++++ b/OpenFool.pro +@@ -65,3 +65,11 @@ TRANSLATIONS += OpenFool_en.ts OpenFool_ru.ts + ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android + + RC_ICONS = icons/icon_128_win.ico ++ ++target.path = $$PREFIX/bin ++desktop.files = openfool.desktop ++desktop.path = $$PREFIX/share/applications/ ++icons.path = $$PREFIX/share/icons/hicolor/ ++icons.files = openfool.png ++ ++INSTALLS += target desktop icons +\ No newline at end of file +-- +2.33.1 +