Skip to content
Snippets Groups Projects
Commit bd972a13 authored by mio's avatar mio Committed by Andy Postnikov
Browse files

testing/openttd: upgrade to 14.1, enable tests

parent 4520fe79
No related branches found
No related tags found
1 merge request!69611testing/openttd: upgrade to 14.1, enable tests
Pipeline #249588 skipped
# Contributor: Adrian Siekierka <kontakt@asie.pl>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=openttd
pkgver=13.4
pkgrel=1
pkgver=14.1
pkgrel=0
pkgdesc="Open source version of the Transport Tycoon Deluxe simulator"
url="https://www.openttd.org"
arch="all"
license="GPL-2.0-or-later"
makedepends="
cmake
curl-dev
fontconfig-dev
fluidsynth-dev
freetype-dev
harfbuzz-dev
icu-dev
libpng-dev
lzo-dev
......@@ -24,7 +26,6 @@ subpackages="$pkgname-doc $pkgname-lang::noarch"
source="https://cdn.openttd.org/openttd-releases/$pkgver/openttd-$pkgver-source.tar.xz
no-sse4.patch
"
options="!check" # TODO: find how to start test suite, no check implemented
build() {
cmake -B build \
......@@ -37,6 +38,11 @@ build() {
cmake --build build
}
check() {
cmake --build build --target openttd_test
./build/openttd_test
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
......@@ -51,6 +57,6 @@ lang() {
}
sha512sums="
84f57a39c0dade44f0e6153dff7a40eec0da8e2f892ce870d5f9e037f80daa5c7c46ff786fa51c3671366dd5056504cd7ccbc1c4e5bce8b2c5575533b454c001 openttd-13.4-source.tar.xz
194135cc01457d9ed069c09d8961ad3de681bc9936533ca81ff23099f394bb9a83ef84a0852e85525e258f6149e14fd41cfc5f8e683c0643515005c42fb77e3b openttd-14.1-source.tar.xz
fef70a685b4d440a0c1a6b6cde94df2dcada7ee10f4b213ee0a649dfbbb5de800aed06a4f066b2be5369147b1ecd83ad6b89bdb06138c46b250ca7f75c95b5a4 no-sse4.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment