Skip to content

Commit

Permalink
chore: add libsgfcpluscplus part. 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Jul 8, 2024
1 parent f02f954 commit 1e0118e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion snap/gui/qpiskvork.desktop
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
22 changes: 19 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# qpiskvork is another gomoku or renju manager adapting to Windows and Linux systems.
# Copyright (C) 2023 Jintao Yang <yjt950840@outlook.com>
# Copyright (C) 2023-2024 Jintao Yang <yjt950840@outlook.com>
#
# 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
Expand All @@ -16,7 +16,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

name: qpiskvork # you probably want to 'snapcraft register <name>'
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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1e0118e

Please sign in to comment.