From 1e0118ed8e2e83927abda89a9f967f0d5079f83d Mon Sep 17 00:00:00 2001 From: Joker2770 <1214220480@qq.com> Date: Mon, 8 Jul 2024 09:22:35 +0800 Subject: [PATCH] chore: add libsgfcpluscplus part. :construction: --- snap/gui/qpiskvork.desktop | 2 +- snap/snapcraft.yaml | 22 +++++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/snap/gui/qpiskvork.desktop b/snap/gui/qpiskvork.desktop index eae0d6b..1299b1d 100644 --- a/snap/gui/qpiskvork.desktop +++ b/snap/gui/qpiskvork.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Version=0.6.65 +Version=0.7.73 Encoding=UTF-8 Name=qpiskvork Comment=A gomoku or renju manager adapting to Windows and Linux systems. diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1c37899..329bd1b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ # qpiskvork is another gomoku or renju manager adapting to Windows and Linux systems. -# Copyright (C) 2023 Jintao Yang +# Copyright (C) 2023-2024 Jintao Yang # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. name: qpiskvork # you probably want to 'snapcraft register ' -version: '0.6.65' # just for humans, typically '1.2+git' or '1.3.2' +version: '0.7.73' # just for humans, typically '1.2+git' or '1.3.2' summary: Another gomoku or renju manager adapting to Windows and Linux systems. # 79 char long summary description: | This program aims to become a gomoku or renju manager with the protocol @@ -99,8 +99,24 @@ apps: # QT_QPA_PLATFORMTHEME: gtk3 parts: + libsgfcplusplus: + plugin: cmake + configflags: + - "-DCMAKE_INSTALL_PREFIX=/usr/local" + - "-DCMAKE_BUILD_TYPE=Release" + - "-DENABLE_TESTING=OFF" + - "-DBUILD_TESTING=OFF" + source: https://github.com/herzbube/libsgfcplusplus.git + source-type: git + source-branch: develop + source-depth: 1 + build-packages: + - gcc + - g++ + - make + qpiskvork: - after: [desktop-qt5] + after: [desktop-qt5, libsgfcplusplus] plugin: cmake configflags: - "-DCMAKE_INSTALL_PREFIX=/usr/local"