[Lunar-commits] <moonbase-other> wesnoth: resurrected

v4hn me at v4hn.de
Tue Jul 10 14:56:12 CEST 2012


commit 2b837580358f366a61c8a8daa1294d59c28ea24b
Author: v4hn <me at v4hn.de>
Date: Tue, 10 Jul 2012 05:56:12 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/2b837580358f366a61c8a8daa1294d59c28ea24b

wesnoth: resurrected
---
  games/wesnoth/BUILD                                          +19/-0    
  games/wesnoth/CONFIGURE                                      +5/-0     
  games/wesnoth/DEPENDS                                        +15/-0    
  games/wesnoth/DETAILS                                        +19/-0    
  4 files changed, 58 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/games/wesnoth/BUILD
@@ -0,0 +1,19 @@
+(
+  OPTS+=" -DBINDIR=games \
+          -DDATAROOTDIR=${MODULE_PREFIX}/share/games/ \
+          -DDESKTOPDIR=${MODULE_PREFIX}/share/applications \
+          -DICONDIR=${MODULE_PREFIX}/share/pixmaps \
+          -DMANDIR=${MODULE_PREFIX}/share/man \
+          -DDOCDIR=${MODULE_PREFIX}/doc"
+
+  #fribidi is obsolete and would require 0.10.*
+  OPTS+=" -DENABLE_FRIBIDI=OFF"
+
+  if ! in_depends pango cairo; then
+    message "${PROBLEM_COLOR}Wesnoth requires pango to be build with cairo backend."
+    message "${PROBLEM_COLOR}Please rebuild pango and select cairo backend."
+    exit 1
+  fi
+
+  default_cmake_build
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/games/wesnoth/CONFIGURE
@@ -0,0 +1,5 @@
+mquery WESNOTH_LOWMEM "Enable lowmem wesnoth?" n "-DENABLE_LOW_MEM=ON" "-DENABLE_LOW_MEM=OFF"
+mquery WESNOTH_GAME "Build the game?" y "-DENABLE_GAME=ON" "-DENABLE_GAME=OFF"
+mquery WESNOTH_SERVER "Build the server?" n "-DENABLE_SERVER=ON" "-DENABLE_SERVER=OFF"
+mquery WESNOTH_CAMPAIN_SERVER "Build the campain server?" n "-DENABLE_CAMPAIN_SERVER=ON" "-DENABLE_CAMPAIN_SERVER=OFF"
+mquery WESNOTH_TOOLS "Build the developer tools?" n "-DENABLE_TOOLS=ON" "-DENABLE_TOOLS=OFF"
--- /dev/null
+++ b/games/wesnoth/DEPENDS
@@ -0,0 +1,15 @@
+depends cmake
+depends boost
+depends fontconfig
+
+depends cairo
+#pango needs to be build with cairo suppport
+depends pango
+
+depends SDL
+depends SDL_image
+depends SDL_mixer
+depends SDL_net
+depends SDL_ttf
+
+optional_depends dbus "-DENABLE_NOTIFICATIONS=ON" "-DENABLE_NOTIFICATIONS=OFF" "for desktop notifications"
--- /dev/null
+++ b/games/wesnoth/DETAILS
@@ -0,0 +1,19 @@
+          MODULE=wesnoth
+         VERSION=1.10.3
+          SOURCE=$MODULE-$VERSION.tar.bz2
+   SOURCE_URL[0]=$SFORGE_URL/$MODULE
+   SOURCE_URL[1]=http://www.wesnoth.org/files
+      SOURCE_VFY=sha1:a8992ed64617a8d569ea1557b7f2b6d25bdb805b
+        WEB_SITE=http://www.wesnoth.org
+         ENTERED=20040701
+         UPDATED=20120526
+           SHORT="Battle for Wesnoth - fantasy turn-based strategy game"
+
+cat <<EOF
+Battle for control of villages, using variety of units which have
+advantages and disadvantages in different types of terrains and
+against different types of attacks. Units gain experience and advance
+levels, and are carried over from one scenario to the next campaign.
+Build a Hero, and lead your army. Different races, with distinctive
+abilities, weapons and spells.
+EOF




More information about the Lunar-commits mailing list