31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'openttd'
|
|
pkgname=openttd
|
|
version=14.1
|
|
revision=2
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
-DCMAKE_INSTALL_BINDIR=bin
|
|
-DCMAKE_INSTALL_DATADIR=/usr/share
|
|
-DCMAKE_INSTALL_DOCDIR=share/doc/openttd
|
|
$(vopt_bool dedicated OPTION_DEDICATED)
|
|
"
|
|
|
|
build_options="dedicated"
|
|
desc_option_dedicated="Build dedicated server only, without GUI"
|
|
|
|
hostmakedepends="pkg-config unzip tar"
|
|
makedepends="$(vopt_if dedicated '' 'SDL2-devel freetype-devel fontconfig-devel
|
|
harfbuzz-devel icu-devel libpng-devel fluidsynth-devel') libcurl-devel
|
|
liblzma-devel"
|
|
depends="$(vopt_if dedicated '' 'hicolor-icon-theme fluidsynth
|
|
soundfont-fluid') openttd-opengfx openttd-opensfx openttd-openmsx"
|
|
short_desc="Open Source version of Transport Tycoon Deluxe"
|
|
maintainer="Emil Tomczyk <emru@emru.xyz>"
|
|
license="GPL-2.0-only, Zlib"
|
|
homepage="https://www.openttd.org/"
|
|
distfiles="https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz"
|
|
checksum=2c14c8f01f44148c4f2c88c169a30abcdb002eb128a92b9adb76baa76b013494
|