1 DESCRIPTION
= "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition."
2 HOMEPAGE
= "http://www.openttd.org"
4 DEPENDS
= "libsdl-net libpng zlib freetype fontconfig"
5 RRECOMMENDS_$
{PN
} = "openttd-gfx openttd-sfx"
10 SRC_URI
="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2 "
11 SRC_URI_append_shr
= " file://openttd.cfg"
13 APPIMAGE
= "media/openttd.128.png"
16 # The way the OTTD configure system handles the application's directories
17 # isn't the way autotools does it. Mainly prefix is always prepended even
if
18 # absolute binary
-dir
and data-dir is given.
21 --host
=$
{TARGET_SYS
} \
22 --windres
=$
{MACHINE_DISPLAY_WIDTH_PIXELS
}x$
{MACHINE_DISPLAY_HEIGHT_PIXELS
} \
24 --endian
=$
{SITEINFO_ENDIANNESS
} \
25 --prefix
-dir
=$
{prefix
} \
27 --with
-midi
=/bin/true \
28 --with
-zlib
=$
{STAGING_LIBDIR
} \
34 --cc
-host
=$
{TARGET_SYS
}-gcc \
36 --cxx
-host
=$
{TARGET_SYS
}-g
++ \
37 --strip
=$
{TARGET_SYS
}-strip \
45 do_install_append_shr
() {
46 install
-d $
{D
}$
{datadir
}/games
/openttd
/data/
47 install
-m
0644 $
{WORKDIR
}/openttd.cfg $
{D
}$
{datadir
}/games
/openttd
/data/
50 FILES_$
{PN
} += "${datadir}"
52 SRC_URI
[md5sum
] = "30763b0dc6d77386a23261ad4b2cded8"
53 SRC_URI
[sha256sum
] = "014286af4b978fec3845fe276d40d07789acd4ac67b5f489f9bdfdf0eed6ad27"