[Lunar-commits] <moonbase-other> Merge branch 'master' of github.com:/lunar-linux/moonbase-other

Dennis Veatch stumbles at lunar-linux.org
Tue Jul 10 15:53:20 CEST 2012


commit f6c934ca0db060216d0c229e89750c3b3278ef99
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Tue, 10 Jul 2012 06:53:20 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/f6c934ca0db060216d0c229e89750c3b3278ef99

Merge branch 'master' of github.com:/lunar-linux/moonbase-other
---
  games/angband/BUILD                                          +21/-0    
  games/angband/DEPENDS                                        +4/-0     
  games/angband/DETAILS                                        +22/-0    
  games/wesnoth/BUILD                                          +19/-0    
  games/wesnoth/CONFIGURE                                      +5/-0     
  games/wesnoth/DEPENDS                                        +15/-0    
  games/wesnoth/DETAILS                                        +19/-0    
  7 files changed, 0 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/games/angband/BUILD
@@ -0,0 +1,21 @@
+(
+
+  sedit "s:/games/:/:" configure &&
+
+  OPTS+=" --with-setgid=games --with-configpath=/etc/${MODULE}/ --with-varpath=/var/games/${MODULE}/"   &&
+
+  default_game_build  &&
+
+  if in_depends "$MODULE" "SDL"; then
+     install -Dm0644 lib/xtra/icon/angband-sdl.desktop /usr/share/applications/
+  fi &&
+
+  if in_depends "$MODULE" "libX11"; then
+     install -Dm0644 lib/xtra/icon/angband-x11.desktop /usr/share/applications/
+  fi &&
+
+  if in_depends "$MODULE" "glade2"; then
+     install -Dm0644 lib/xtra/icon/angband-gtk.desktop /usr/share/applications/
+  fi
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/games/angband/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends "ncurses" "--enable-curses" "--disable-curses" "for curses frontend"
+optional_depends "SDL"     "--enable-sdl"    "--disable-sdl"    "for SDL frontend"
+optional_depends "libX11"  "--enable-x11"    "--disable-x11"    "for simple X frontend"
+optional_depends "glade2"  "--enable-gtk"    "--disable-gtk"    "for gtk frontend"
--- /dev/null
+++ b/games/angband/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=angband
+         VERSION=3.3.2
+          SOURCE=$MODULE-v$VERSION.tar.gz
+      SOURCE_URL=http://rephial.org/downloads/3.3/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-v$VERSION
+      SOURCE_VFY=sha1:2944dc153fe5ab585c16502f8a5da4dbbdca4b21
+        WEB_SITE=http://www.rephial.org/
+         ENTERED=20050524
+         UPDATED=20120606
+           SHORT="A classic rogue-like game based on the books of JRR Tolkien"
+
+cat << EOF
+Angband is a freeware computer dungeon exploration game based (loosely)
+on the books of J.R.R.Tolkien. You explore a very deep dungeon, kill
+monsters, try to equip yourself with the best weapons and armor you can\
+find, and finally face Morgoth - "The Dark Enemy."
+
+Angband has a very long history. It started 1990 as an improved and
+"Tolkienized" variant of Moria. Moria itself was created in 1985 and was
+inspired by Rogue (from the late 70s). Countless changes were introduced
+by many programmers on the way to the current versions of Angband.
+EOF
--- /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