From 1fa8f1d881d78f9a4b1a9563d909bc024544085b Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Fri, 4 Aug 2023 15:35:30 +0600 Subject: [PATCH] cutechess-gui: update to 1.3.1. --- srcpkgs/cutechess-gui/template | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cutechess-gui/template b/srcpkgs/cutechess-gui/template index db811548531..8fbe36ac150 100644 --- a/srcpkgs/cutechess-gui/template +++ b/srcpkgs/cutechess-gui/template @@ -1,19 +1,23 @@ # Template file for 'cutechess-gui' pkgname=cutechess-gui -version=1.2.0 +version=1.3.1 revision=1 -build_style=qmake -hostmakedepends="qt5-qmake qt5-host-tools" +build_style=cmake makedepends="qt5-devel qt5-svg-devel" short_desc="GUI for playing chess" -maintainer="Imran Khan " +maintainer="Imran Khan " license="GPL-3.0-or-later, MIT" homepage="https://github.com/cutechess/cutechess" -distfiles="https://github.com/cutechess/cutechess/archive/${version}.tar.gz" -checksum=d0e1b2c9c2eaccf0f8c4d5e5fe7e169358f5de9606bd27de3f9d1ce4ddcdb0bc +changelog="https://github.com/cutechess/cutechess/raw/master/CHANGELOG.md" +distfiles="https://github.com/cutechess/cutechess/archive/refs/tags/v${version}.tar.gz" +checksum=b6b76f11a53b89ba38e2d21ed180a51ce95e963e1ae2054a352563cad075e2f8 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends="qt5-qmake qt5-host-tools" +fi do_install() { - vbin projects/gui/cutechess + vbin build/cutechess vinstall dist/linux/cutechess.desktop 644 usr/share/applications sed -n '2,23s:^[ ]*::p' projects/gui/components/pgnhighlighter/src/pgnhighlighter.h > COPYING.gui vlicense COPYING.gui @@ -22,7 +26,7 @@ do_install() { cutechess-cli_package() { short_desc="CLI tool to automate chess engine tournaments" pkg_install() { - vbin projects/cli/cutechess-cli + vbin build/cutechess-cli vman docs/cutechess-cli.6 } }