corsix_th, bump version, upstream switched to ffmpeg5 (#6770)

This commit is contained in:
Schrijvers Luc
2022-03-26 17:23:53 +01:00
committed by GitHub
parent ac5ac736ab
commit dc97320f43
2 changed files with 14 additions and 14 deletions

View File

@@ -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 \