1 # Note: OpenTTD's build system changed considerably in 0.6.x
2 # This include file is written towards the newer versions.
4 DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition. \
5 This package provides the engine only. You will need to get the data file elsewhere \
6 through official channels."
7 HOMEPAGE = "http://openttd.sf.net"
10 DEPENDS = "libsdl-net libpng zlib freetype fontconfig"
12 SRC_URI = "http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2"
14 APPIMAGE = "media/openttd.48.png"
19 # The way the OTTD configure system handles the application's directories
20 # isn't the way autotools does it. Mainly prefix is always prepended even if
21 # absolute binary-dir and data-dir is given. Sigh ...
23 # Disabling MIDI feature for now.
25 --build=${BUILD_SYS} \
26 --host=${TARGET_SYS} \
27 --windres=${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
29 --endian=${SITEINFO_ENDIANESS} \
30 --prefix-dir=${prefix} \
32 --with-midi=/bin/true \
33 --with-zlib=${STAGING_LIBDIR} \
37 --cc-host=${TARGET_SYS}-gcc \
39 --cxx-host=${TARGET_SYS}-g++ \
40 --strip=${TARGET_SYS}-strip \
48 FILES_${PN} += "${datadir}/*"