diff --git a/games-simulation/openttd/openttd-12.2.recipe b/games-simulation/openttd/openttd-14.1.recipe similarity index 74% rename from games-simulation/openttd/openttd-12.2.recipe rename to games-simulation/openttd/openttd-14.1.recipe index 1b8fc725b..91d47e986 100644 --- a/games-simulation/openttd/openttd-12.2.recipe +++ b/games-simulation/openttd/openttd-14.1.recipe @@ -4,11 +4,11 @@ game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to \ mimic the original game as closely as possible while extending it with new \ features." HOMEPAGE="http://www.openttd.org" -COPYRIGHT="2005-2022 OpenTTD Team" +COPYRIGHT="2005-2024 OpenTTD Team" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://cdn.openttd.org/openttd-releases/$portVersion/openttd-$portVersion-source.tar.xz" -CHECKSUM_SHA256="81508f0de93a0c264b216ef56a05f8381fff7bffa6d010121a21490b4dace95c" +CHECKSUM_SHA256="2c14c8f01f44148c4f2c88c169a30abcdb002eb128a92b9adb76baa76b013494" ADDITIONAL_FILES="openttd.rdef" ARCHITECTURES="all !x86_gcc2" @@ -25,6 +25,10 @@ REQUIRES=" timgmsoundfont lib:libfreetype$secondaryArchSuffix lib:libGL$secondaryArchSuffix + lib:libharfbuzz$secondaryArchSuffix + lib:libicui18n$secondaryArchSuffix + lib:libicudata$secondaryArchSuffix + lib:libicuuc$secondaryArchSuffix lib:liblzma$secondaryArchSuffix lib:liblzo2$secondaryArchSuffix lib:libpng16$secondaryArchSuffix @@ -35,6 +39,10 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libfreetype$secondaryArchSuffix + devel:libharfbuzz$secondaryArchSuffix + devel:libicui18n$secondaryArchSuffix >= 74 + devel:libicudata$secondaryArchSuffix >= 74 + devel:libicuuc$secondaryArchSuffix >= 74 devel:liblzma$secondaryArchSuffix devel:liblzo2$secondaryArchSuffix devel:libpng16$secondaryArchSuffix @@ -42,19 +50,19 @@ BUILD_REQUIRES=" devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" + cmd:cmake cmd:gawk cmd:gcc$secondaryArchSuffix - cmd:git +# cmd:git cmd:make - cmd:cmake cmd:pkg_config$secondaryArchSuffix " BUILD() { - cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - $cmakeDirArgs \ - -DCMAKE_INSTALL_BINDIR=$appsDir + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ + -DCMAKE_INSTALL_BINDIR=$appsDir make -C build $jobArgs } @@ -62,6 +70,7 @@ BUILD() INSTALL() { make -C build install + rm -r $dataDir/{applications,icons,pixmaps} addResourcesToBinaries $portDir/additional-files/openttd.rdef $appsDir/openttd