[Lunar-commits] <moonbase> wesnoth: proper update, updated depends and configure options
Auke Kok
sofar at foo-projects.org
Wed Mar 19 17:45:16 CET 2008
commit 884f14f16b79e1361ef882dbb72e25465432ebfd
Author: James Buren <flakeroats at hotmail.com>
Date: Wed Mar 19 17:45:16 2008 +0100
wesnoth: proper update, updated depends and configure options
---
games/wesnoth/BUILD | 6 ------
games/wesnoth/CONFIGURE | 8 ++++++++
games/wesnoth/DEPENDS | 3 +++
games/wesnoth/DETAILS | 2 +-
4 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/games/wesnoth/BUILD b/games/wesnoth/BUILD
index 7541a8b..60c8768 100644
--- a/games/wesnoth/BUILD
+++ b/games/wesnoth/BUILD
@@ -1,10 +1,4 @@
(
-
- OPTS="$OPTS --enable-server --enable-campaign-server \
- --enable-editor --enable-tools"
-
default_game_build &&
-
gather_docs changelog
-
) > $C_FIFO 2>&1
diff --git a/games/wesnoth/CONFIGURE b/games/wesnoth/CONFIGURE
new file mode 100644
index 0000000..b992e5e
--- /dev/null
+++ b/games/wesnoth/CONFIGURE
@@ -0,0 +1,8 @@
+mquery WESNOTH_LITE "Enable lite wesnoth?" n "--enable-lite" "--disable-lite"
+mquery WESNOTH_LOWMEM "Enable lowmem wesnoth?" n "--enable-lowmem" "--disable-lowmem"
+mquery WESNOTH_TINYGUI "Enable 320x240 resolution support?" n "--enable-tinygui" "--disable-tinygui"
+mquery WESNOTH_SMALLGUI "Enable 800x480 optimized resolution?" n "--enable-smallgui" "--disable-smallgui"
+mquery WESNOTH_GAME "Build the game?" y "--enable-game" "--disable-game"
+mquery WESNOTH_SERVER "Build the server?" n "--enable-server" "--disable-server"
+mquery WESNOTH_CSERVER "Build the campaign server?" n "--enable-campaign-server" "--disable-campaign-server"
+mquery WESNOTH_TOOLS "Build the developer tools?" n "--enable-tools" "--disable-tools"
diff --git a/games/wesnoth/DEPENDS b/games/wesnoth/DEPENDS
index 3caddc9..2457f48 100644
--- a/games/wesnoth/DEPENDS
+++ b/games/wesnoth/DEPENDS
@@ -2,3 +2,6 @@ depends SDL_image
depends SDL_mixer
depends SDL_ttf
depends SDL_net
+depends boost
+optional_depends optipng "--enable-optipng" "--disable-optipng" "for optimizing png size"
+optional_depends imagemagick "" "" "if you want support for resolutions smaller than 800x600"
diff --git a/games/wesnoth/DETAILS b/games/wesnoth/DETAILS
index e3bbbce..06ca341 100644
--- a/games/wesnoth/DETAILS
+++ b/games/wesnoth/DETAILS
@@ -5,7 +5,7 @@
SOURCE_VFY=sha1:5627ae01d13358622ff36a2f2444a1fb0bc9b8f4
WEB_SITE=http://www.wesnoth.org
ENTERED=20040701
- UPDATED=20080309
+ UPDATED=20080316
SHORT="Battle for Wesnoth - fantasy turn-based strategy game"
cat <<EOF
More information about the Lunar-commits
mailing list