From f81b2a0ad34e56b4e81d74af43d51ad682a4bfab Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Tue, 18 Jul 2023 21:21:59 +1000 Subject: [PATCH] simsu: bump version --- ...{simsu-1.4.0.recipe => simsu-1.4.2.recipe} | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) rename games-board/simsu/{simsu-1.4.0.recipe => simsu-1.4.2.recipe} (66%) diff --git a/games-board/simsu/simsu-1.4.0.recipe b/games-board/simsu/simsu-1.4.2.recipe similarity index 66% rename from games-board/simsu/simsu-1.4.0.recipe rename to games-board/simsu/simsu-1.4.2.recipe index 1b826343f..97d787de3 100644 --- a/games-board/simsu/simsu-1.4.0.recipe +++ b/games-board/simsu/simsu-1.4.2.recipe @@ -5,11 +5,11 @@ all instances of a number. You can also check your answers for correctness while The game stores your current notes and answers, so that you can pick up where you left \ off the next time you play." HOMEPAGE="https://gottcode.org/simsu/" -COPYRIGHT="2009-2021 Graeme Gott" +COPYRIGHT="2009-2023 Graeme Gott" LICENSE="GNU GPL v3" REVISION="1" -SOURCE_URI="https://gottcode.org/simsu/simsu-$portVersion-src.tar.bz2" -CHECKSUM_SHA256="6db0c004de67c122ac67f34cc6c1a68cd78be02034eceeab922848f87cb85e87" +SOURCE_URI="https://gottcode.org/simsu/simsu-$portVersion.tar.bz2" +CHECKSUM_SHA256="7230293d7ff8d52b4a8d7f4e26638cff6e22e2a78edcc4ddaf7988da624fb37c" SOURCE_DIR="simsu-$portVersion" ADDITIONAL_FILES=" simsu.rdef.in @@ -26,23 +26,23 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix lib:libGL$secondaryArchSuffix - lib:libQt5Core$secondaryArchSuffix - lib:libQt5Gui$secondaryArchSuffix - lib:libQt5Widgets$secondaryArchSuffix + lib:libQt6Core$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + lib:libQt6Widgets$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libQt5Core$secondaryArchSuffix - devel:libQt5Gui$secondaryArchSuffix - devel:libQt5Widgets$secondaryArchSuffix + qt6_tools${secondaryArchSuffix}_devel + devel:libQt6Core$secondaryArchSuffix + devel:libQt6Gui$secondaryArchSuffix + devel:libQt6Widgets$secondaryArchSuffix " BUILD_PREREQUIRES=" + cmd:cmake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix - cmd:lrelease$secondaryArchSuffix >= 5 cmd:make - cmd:qmake$secondaryArchSuffix >= 5 cmd:unzip " @@ -53,15 +53,21 @@ PATCH() BUILD() { - qmake - make $jobArgs + cmake -B build -S . \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$appsDir/Simsu \ + -DCMAKE_INSTALL_BINDIR=$appsDir/Simsu \ + -DCMAKE_INSTALL_DATADIR=$appsDir/Simsu/data \ + -DCMAKE_INSTALL_MANDIR=$manDir + + make -C build $jobArgs } INSTALL() { - mkdir -p $appsDir/Simsu/translations - cp simsu $appsDir/Simsu/Simsu - cp -Rf translations/*.qm $appsDir/Simsu/translations + make install -C build + mv $appsDir/Simsu/simsu $appsDir/Simsu/Simsu + rm -rf $appsDir/Simsu/data/{metainfo,icons,applications} local APP_SIGNATURE="application/x-vnd.gottcode-simsu" local MAJOR="`echo "$portVersion" | cut -d. -f1`"