[Lunar-commits] <moonbase> openttd: version bump to 1.0.5

Duncan Gibson engelsman at lunar-linux.org
Wed Jan 12 20:30:17 CET 2011


commit 5f35cd4358742bd62dcf68da2241ea41ee47861c
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Wed Jan 12 20:30:17 2011 +0100

    openttd: version bump to 1.0.5
    
    ... since the huge version bump I have rewritten almost everything
    
    NOTE: downloads,compiles,installs but untested here...
    
          The setup says to visit http://www.transporttycoon.net/where
          to locate where you might be able to by authentic data disks,
          but at the bottom of the page it then says:
              "You may also want to check out OpenTTD, which does NOT
              require the original game data files."
         so I'm a bit confused what the exact status is.
    
         - engelsman
---
 games/openttd/BUILD        |   21 ++++-----------------
 games/openttd/CONFIGURE    |    1 -
 games/openttd/DEPENDS      |   16 ++++++++++++++--
 games/openttd/DETAILS      |    8 ++++----
 games/openttd/POST_INSTALL |    4 ++--
 5 files changed, 24 insertions(+), 26 deletions(-)

diff --git a/games/openttd/BUILD b/games/openttd/BUILD
index 89adfcd..1dd4a2c 100644
--- a/games/openttd/BUILD
+++ b/games/openttd/BUILD
@@ -1,21 +1,8 @@
 (
-  if in_depends $MODULE libpng; then
-    OPTS+=" --with-png"
-  fi
+  ./configure  --prefix-dir=/usr          \
+               --man-dir=/share/man/man6  \
+               $OPTS                     &&
 
-  if in_depends $MODULE timidity++; then
-    OPTS+=" --with-midi=/usr/bin/timidity"
-  fi
-
-  ./configure \
-    --prefix-dir=/usr \
-    --with-sdl \
-    --with-zlib \
-    --with-freetype \
-    --with-fontconfig \
-    $OPTS &&
-
-  default_make &&
-  gather_docs docs changelog.txt readme.txt
+  default_make
 
 ) > $C_FIFO 2>&1
diff --git a/games/openttd/CONFIGURE b/games/openttd/CONFIGURE
deleted file mode 100644
index 7416a8a..0000000
--- a/games/openttd/CONFIGURE
+++ /dev/null
@@ -1 +0,0 @@
-mquery USE_UNICODE "Do you want unicode support?" y
diff --git a/games/openttd/DEPENDS b/games/openttd/DEPENDS
index 03e875d..c61d472 100644
--- a/games/openttd/DEPENDS
+++ b/games/openttd/DEPENDS
@@ -1,5 +1,17 @@
 depends SDL
 depends zlib
+depends libpng
 depends freetype2
-optional_depends "timidity++" "" "" "for in game music"
-optional_depends "libpng" "" "" "for PNG screenshots"
+depends fontconfig
+
+optional_depends "timidity++" "" "" "for ingame music"
+
+optional_depends "lzo"                                   \
+                 "--with-liblzo2"                        \
+                 "--without-liblzo2"                     \
+                 "to open old (older than 0.3 savegames"
+
+optional_depends "icu4c"                              \
+                 "--with-icu"                         \
+                 "--without-icu"                      \
+                 "to support right-to-left languages"
diff --git a/games/openttd/DETAILS b/games/openttd/DETAILS
index 11aa76d..0a44730 100644
--- a/games/openttd/DETAILS
+++ b/games/openttd/DETAILS
@@ -1,11 +1,11 @@
           MODULE=openttd
-         VERSION=0.6.3
+         VERSION=1.0.5
           SOURCE=$MODULE-$VERSION-source.tar.bz2
-      SOURCE_URL=$SFORGE_URL/$MODULE/
-      SOURCE_VFY=sha1:5fb359789fae9b03550da268973fb1238ddf224c
+      SOURCE_URL=http://binaries.openttd.org/releases/$VERSION
+      SOURCE_VFY=sha1:2e0cfa2d6e4c4bc1235a60de39961728bb727eb8
         WEB_SITE=http://www.openttd.org/
          ENTERED=20060322
-         UPDATED=20090321
+         UPDATED=20110101
       MAINTAINER=ratler at lunar-linux.org
            SHORT="A clone of the Microprose game Transport Tycoon Deluxe"
 GARBAGE=off
diff --git a/games/openttd/POST_INSTALL b/games/openttd/POST_INSTALL
index ad54bd3..75abe61 100644
--- a/games/openttd/POST_INSTALL
+++ b/games/openttd/POST_INSTALL
@@ -1,4 +1,4 @@
-message "Before you run OpenTTD, you need to put the game's datafiles into the
+message "${MESSAGE_COLOR}Before you run OpenTTD, you need to put the game's datafiles into the
 /usr/share/games/openttd/data subdirectory. 
 You need the following files from the original version of TTD as 
 OpenTTD makes use of the original TTD artwork.
@@ -15,4 +15,4 @@ If you want music you need to copy the gm/ folder from Windows TTD into
 your /usr/share/games/openttd folder, not your data folder.
 
 For more information on how to aquire the original game visit,
-http://www.transporttycoon.net/where"
+http://www.transporttycoon.net/where${DEFAULT_COLOR}"


More information about the Lunar-commits mailing list