From dc97320f435be05f8663d91d7dd0f059ccd728ba Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 26 Mar 2022 17:23:53 +0100 Subject: [PATCH] corsix_th, bump version, upstream switched to ffmpeg5 (#6770) --- ....62.recipe => corsix_th-0.65.2~git.recipe} | 28 +++++++++---------- ...patchset => corsix_th-0.65.2~git.patchset} | 0 2 files changed, 14 insertions(+), 14 deletions(-) rename games-simulation/corsix_th/{corsix_th-0.62.recipe => corsix_th-0.65.2~git.recipe} (72%) rename games-simulation/corsix_th/patches/{corsix_th-0.62.patchset => corsix_th-0.65.2~git.patchset} (100%) diff --git a/games-simulation/corsix_th/corsix_th-0.62.recipe b/games-simulation/corsix_th/corsix_th-0.65.2~git.recipe similarity index 72% rename from games-simulation/corsix_th/corsix_th-0.62.recipe rename to games-simulation/corsix_th/corsix_th-0.65.2~git.recipe index 58a2c90f6..a483aa827 100644 --- a/games-simulation/corsix_th/corsix_th-0.62.recipe +++ b/games-simulation/corsix_th/corsix_th-0.65.2~git.recipe @@ -1,20 +1,18 @@ SUMMARY="Open source clone of Theme Hospital" -DESCRIPTION=" -CorsixTH aims to reimplement the game engine of Theme Hospital, and be able to \ -load the original game data files. This means that you will need a purchased \ -copy of Theme Hospital, or a copy of the demo, in order to use CorsixTH. After \ -most of the original engine has been reimplemented in open source code, the \ -project will serve as a base from which extensions and improvements to the \ -original game can be made. -" +DESCRIPTION="CorsixTH aims to reimplement the game engine of Theme Hospital, and be able to \ +load the original game data files. This means that you will need a purchased copy of Theme \ +Hospital, or a copy of the demo, in order to use CorsixTH. After most of the original engine has \ +been reimplemented in open source code, the project will serve as a base from which extensions \ +and improvements to the original game can be made." HOMEPAGE="https://github.com/CorsixTH" -COPYRIGHT="2005-2018 Corsix" +COPYRIGHT="2005-2022 Corsix" LICENSE="MIT" REVISION="1" -SOURCE_URI="https://github.com/CorsixTH/CorsixTH/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="b219270310255493c881a09bb4a5569f34a72cdaf3c3be920c1036a2450317ce" +srcGitRev="88c2d9e664c88f62d610fdcfb21e4726e76a0242" +SOURCE_URI="https://github.com/CorsixTH/CorsixTH/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="dacda03d9320692e5ba4592ca2c6252d693e9602ab6e73b31af473e2d0aa9870" SOURCE_FILENAME="CorsixTH-$portVersion.tar.gz" -SOURCE_DIR="CorsixTH-$portVersion" +SOURCE_DIR="CorsixTH-$srcGitRev" PATCHES="corsix_th-$portVersion.patchset" ADDITIONAL_FILES="corsix_th.rdef.in" @@ -40,7 +38,7 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libavcodec$secondaryArchSuffix + devel:libavcodec$secondaryArchSuffix >= 59.18 devel:libfreetype$secondaryArchSuffix devel:liblua$secondaryArchSuffix >= 5.3 devel:libsdl2$secondaryArchSuffix @@ -65,7 +63,9 @@ PATCH() BUILD() { - cmake . -DLUA_LIBRARY=/system/$relativeLibDir/liblua.so.5.3 \ + cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DLUA_LIBRARY=/system/$relativeLibDir/liblua.so.5.3 \ -DCMAKE_INSTALL_PREFIX=$prefix \ -DCMAKE_INSTALL_DATAROOTDIR=$dataDir \ -DSDL_INCLUDE_DIR=/system/$relativeIncludeDir/SDL2 \ diff --git a/games-simulation/corsix_th/patches/corsix_th-0.62.patchset b/games-simulation/corsix_th/patches/corsix_th-0.65.2~git.patchset similarity index 100% rename from games-simulation/corsix_th/patches/corsix_th-0.62.patchset rename to games-simulation/corsix_th/patches/corsix_th-0.65.2~git.patchset