From e755af5c9b8024be10234e86d9f47b1bef697b6d Mon Sep 17 00:00:00 2001 From: XMuli Date: Thu, 2 Nov 2023 23:22:09 +0800 Subject: [PATCH] chroe: adaptive linux ablout Deepin v23.2 linglong --- README.md | 32 +++++++++++++++++++++++++++ tech.xmuli.chinesechess/linglong.yaml | 24 ++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 tech.xmuli.chinesechess/linglong.yaml diff --git a/README.md b/README.md index 48e296c..302bcf4 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,38 @@
+# linglong-玲珑适配 + +### update: 2023.11.02 + +本次适配都是在 Deepin V23.02 环境下适配成功; + +```cpp +// 编译项目的环境 +sudo apt install gcc g++ cmake git tree qtcreator qtbase5-dev qttools5-dev-tools qttools5-dev libqt5x11extras5-dev libqt5svg5-dev libqt5xml5 +// 适配玲珑包的环境 +sudo apt install linglong-builder + +// 进入源码的根目录下的 tech.xmuli.flipped 文件夹,执行如下适配命令 +ll-builder build + +// Note:,第一次执行安装会很慢,发现和网络有关,linglong 自生会下载很多东西;稍等即可编译成功。但实测发现项目使用 git submodule 引入三方开源库,而 玲珑脚本自生没有处理这这一部分,会导致编译失败。若此原因和项目自生无关。 + + +``` + +#### Note: + +- 整个项目的编译和玲珑适包配是在 Deepin V23.2 中实现,成功编译和运行;若是单独编译,在Windows、MacOS、Linux 下都是成功编译、运行、打包的,成品下载和体验可。 + - GitHub : [https://github.com/XMuli/ChineseChess](https://github.com/XMuli/ChineseChess) | [gitee 镜像](https://gitee.com/XMuli/ChineseChess) + +REF: + +- [https://linglong.dev/guide/ll-builder/build.html](https://linglong.dev/guide/ll-builder/build.html) +- [https://atomgit.com/linglong](https://atomgit.com/linglong) + + + ## characteristic **The main functional modules of the project are divided into:** diff --git a/tech.xmuli.chinesechess/linglong.yaml b/tech.xmuli.chinesechess/linglong.yaml new file mode 100644 index 0000000..5aa776b --- /dev/null +++ b/tech.xmuli.chinesechess/linglong.yaml @@ -0,0 +1,24 @@ +package: + id: tech.xmuli.chinesechess + name: chinesechess + version: 6.2 + kind: app + description: | + Cross-platform and online battle platform game based on Qt: Chinese Chess. Also known as: Xiangqi + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +depends: + - id: icu + version: 63.1 + type: runtime + +source: + kind: git + url: "https://github.com/XMuli/ChineseChess.git" + commit: 80bdb58e08f06579c6b90c31001d5309e0d48ce5 + +build: + kind: qmake