From 229c1de9c96f94bfe78391c2afeb33bfe4b4a740 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Tue, 1 Dec 2009 10:57:52 +0000 Subject: openttd: update to released 0.7.4 Signed-off-by: Martin Jansa --- recipes/openttd/openttd_0.7.4-RC1.bb | 49 ------------------------------------ recipes/openttd/openttd_0.7.4.bb | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 recipes/openttd/openttd_0.7.4-RC1.bb create mode 100644 recipes/openttd/openttd_0.7.4.bb (limited to 'recipes/openttd') diff --git a/recipes/openttd/openttd_0.7.4-RC1.bb b/recipes/openttd/openttd_0.7.4-RC1.bb deleted file mode 100644 index 1887e06cbe..0000000000 --- a/recipes/openttd/openttd_0.7.4-RC1.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition." -HOMEPAGE = "http://www.openttd.org" -LICENSE = "GPLv2" -DEPENDS = "libsdl-net libpng zlib freetype fontconfig" -RRECOMMENDS = "openttd-gfx openttd-sfx" - -inherit siteinfo sdl - -SRC_URI ="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2 " -SRC_URI_append_shr = " file://openttd.cfg" - -APPIMAGE = "media/openttd.128.png" - -do_configure() { - # The way the OTTD configure system handles the application's directories - # isn't the way autotools does it. Mainly prefix is always prepended even if - # absolute binary-dir and data-dir is given. - - ${S}/configure \ - --host=${TARGET_SYS} \ - --windres=${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \ - --os=UNIX \ - --endian=${SITEINFO_ENDIANESS} \ - --prefix-dir=${prefix} \ - --binary-dir=bin \ - --with-midi=/bin/true \ - --with-zlib=${STAGING_LIBDIR} \ - --with-png \ - --with-freetype \ - --without-icu \ - --without-allegro \ - --cc-build=gcc \ - --cc-host=${TARGET_SYS}-gcc \ - --cxx-build=g++ \ - --cxx-host=${TARGET_SYS}-g++ \ - --strip=${TARGET_SYS}-strip \ - --install-dir=${D} -} - -do_install() { - oe_runmake install -} - -do_install_append_shr() { - install -d ${D}${datadir}/games/openttd/data/ - install -m 0644 ${WORKDIR}/openttd.cfg ${D}${datadir}/games/openttd/data/ -} - -FILES_${PN} += "${datadir}" diff --git a/recipes/openttd/openttd_0.7.4.bb b/recipes/openttd/openttd_0.7.4.bb new file mode 100644 index 0000000000..1887e06cbe --- /dev/null +++ b/recipes/openttd/openttd_0.7.4.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "Open source clone of the Microprose game 'Transport Tycoon Deluxe' - SDL edition." +HOMEPAGE = "http://www.openttd.org" +LICENSE = "GPLv2" +DEPENDS = "libsdl-net libpng zlib freetype fontconfig" +RRECOMMENDS = "openttd-gfx openttd-sfx" + +inherit siteinfo sdl + +SRC_URI ="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2 " +SRC_URI_append_shr = " file://openttd.cfg" + +APPIMAGE = "media/openttd.128.png" + +do_configure() { + # The way the OTTD configure system handles the application's directories + # isn't the way autotools does it. Mainly prefix is always prepended even if + # absolute binary-dir and data-dir is given. + + ${S}/configure \ + --host=${TARGET_SYS} \ + --windres=${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \ + --os=UNIX \ + --endian=${SITEINFO_ENDIANESS} \ + --prefix-dir=${prefix} \ + --binary-dir=bin \ + --with-midi=/bin/true \ + --with-zlib=${STAGING_LIBDIR} \ + --with-png \ + --with-freetype \ + --without-icu \ + --without-allegro \ + --cc-build=gcc \ + --cc-host=${TARGET_SYS}-gcc \ + --cxx-build=g++ \ + --cxx-host=${TARGET_SYS}-g++ \ + --strip=${TARGET_SYS}-strip \ + --install-dir=${D} +} + +do_install() { + oe_runmake install +} + +do_install_append_shr() { + install -d ${D}${datadir}/games/openttd/data/ + install -m 0644 ${WORKDIR}/openttd.cfg ${D}${datadir}/games/openttd/data/ +} + +FILES_${PN} += "${datadir}" -- cgit 1.2.3-korg