From a863ffc0da2864a915d1c1f2221e466f0560a71e Mon Sep 17 00:00:00 2001 From: Rmys Date: Sat, 3 Dec 2022 17:09:29 +0300 Subject: [PATCH] hexalate --- game/logic/hexalate/actions.py | 17 ++++++++++++----- game/logic/hexalate/pspec.xml | 3 ++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/game/logic/hexalate/actions.py b/game/logic/hexalate/actions.py index 5b4c4f3c69..963cfb9bb6 100644 --- a/game/logic/hexalate/actions.py +++ b/game/logic/hexalate/actions.py @@ -8,15 +8,22 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get -from pisi.actionsapi import qt5 +from pisi.actionsapi import cmaketools + def setup(): - qt5.configure(parameters="PREFIX=/usr") + shelltools.makedirs("build") + shelltools.cd("build") + + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr", sourceDir="..") def build(): - qt5.make() + cmaketools.make("-C build") def install(): - qt5.install() + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("COPYING", "README") \ No newline at end of file + shelltools.cd("..") + pisitools.dodoc("COPYING", "README") diff --git a/game/logic/hexalate/pspec.xml b/game/logic/hexalate/pspec.xml index 1d39724642..17253d01f4 100644 --- a/game/logic/hexalate/pspec.xml +++ b/game/logic/hexalate/pspec.xml @@ -15,6 +15,7 @@ The goal of the game is to rotate and position the circles so that each touching line matches in color. You rotate circles by right clicking, and you move circles by dragging them. The game stores the positions and rotations of the circles across runs. https://gottcode.org/hexalate/hexalate-1.2.1-src.tar.bz2 + cmake qt5-base-devel qt5-linguist @@ -45,7 +46,7 @@ Version bump. Blue Devil bluedevil@sctzine.com - + 2020-02-12 1.1.5