[SM-Commit] GIT changes to master games grimoire by Andraž Levstik (4d3a0a2cafb2e3c77ca60841ac2ef70cf7fb7d23)

Andraž Levstik scm at sourcemage.org
Mon Apr 23 11:03:38 EDT 2007


GIT changes to master games grimoire by Andraž Levstik <ruskie at mages.ath.cx>:

 ChangeLog                          |    2 +
 games-board/brutalchess/BUILD      |    1 
 games-board/brutalchess/DEPENDS    |    4 +++
 games-board/brutalchess/DETAILS    |   17 ++++++++++++++++
 games-board/brutalchess/HISTORY    |    2 +
 games-strategy-tbs/ufoai/BUILD     |    5 ++++
 games-strategy-tbs/ufoai/CONFIGURE |   20 ++++++++++++++++++
 games-strategy-tbs/ufoai/DEPENDS   |   39 +++++++++++++++++++++++++++++++++++++
 games-strategy-tbs/ufoai/DETAILS   |   36 ++++++++++++++++++++++++++++++++++
 games-strategy-tbs/ufoai/HISTORY   |    4 +++
 games-strategy-tbs/ufoai/INSTALL   |   19 ++++++++++++++++++
 games-strategy-tbs/ufoai/PRE_BUILD |   12 +++++++++++
 12 files changed, 161 insertions(+)

New commits:
commit 4d3a0a2cafb2e3c77ca60841ac2ef70cf7fb7d23
Author: Andraž Levstik <ruskie at mages.ath.cx>
Commit: Andraž Levstik <ruskie at mages.ath.cx>

    games-strategy-tbs/ufoai: new game, Free X-Com clone

commit b2417da065097dc5e3b4a6d590923b4bd643f45d
Author: Andraž Levstik <ruskie at mages.ath.cx>
Commit: Andraž Levstik <ruskie at mages.ath.cx>

    games-board/brutalchess: new game, a chess

diff --git a/ChangeLog b/ChangeLog
index 5d83949..8c66482 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 	* games-arcade-2d/diameter: new game, arcade with some adventure and
 	  economy
 	* games-arcade-2d/paratim: new game, Remake of the old DOS game Paratrooper
+	* games-board/brutalchess: new game, a chess game...
+	* games-strategy-tbs/ufoai: new game, Free X-Com clone
 
 2007-04-22 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
 	* games-puzzles/symbolica: new game, A remake of the C-64 game Symbolica.
diff --git a/games-board/brutalchess/BUILD b/games-board/brutalchess/BUILD
new file mode 100755
index 0000000..f2438e5
--- /dev/null
+++ b/games-board/brutalchess/BUILD
@@ -0,0 +1 @@
+default_games_build
diff --git a/games-board/brutalchess/DEPENDS b/games-board/brutalchess/DEPENDS
new file mode 100755
index 0000000..978201f
--- /dev/null
+++ b/games-board/brutalchess/DEPENDS
@@ -0,0 +1,4 @@
+depends OPENGL     &&
+depends sdl        &&
+depends freetype2  &&
+depends sdl_image
diff --git a/games-board/brutalchess/DETAILS b/games-board/brutalchess/DETAILS
new file mode 100755
index 0000000..cff6659
--- /dev/null
+++ b/games-board/brutalchess/DETAILS
@@ -0,0 +1,17 @@
+           SPELL=brutalchess
+         VERSION=0.5.2
+          SOURCE="${SPELL}-alpha-${VERSION}-src.tar.gz"
+   SOURCE_URL[0]=$SOURCEFORGE_URL/${SPELL}/${SOURCE}
+     SOURCE_HASH=sha512:9d28e880d8ec8790359ceb60c27933a275dd3fb0db7f824534c363c5ad4a08d86df5b9ce274841d277570fb8b19cc8e14333773507064b8b96507a523038d95e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://brutalchess.sourceforge.net/"
+      LICENSE[0]=GPL
+         ENTERED=20070422
+           SHORT="Brutal Chess Screenshot Eye candy 3D chess program"
+cat << EOF
+Eye candy 3D chess program
+
+Brutal Chess features full 3D graphics, an advanced particle engine, and
+several different levels of intelligent AI, inspired by the once popular
+"Battle Chess" released by Interplay circa 1988.
+EOF
diff --git a/games-board/brutalchess/HISTORY b/games-board/brutalchess/HISTORY
new file mode 100644
index 0000000..6821f34
--- /dev/null
+++ b/games-board/brutalchess/HISTORY
@@ -0,0 +1,2 @@
+2007-04-22 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS, DEPENDS, BUILD, HISTORY: created spell
diff --git a/games-strategy-tbs/ufoai/BUILD b/games-strategy-tbs/ufoai/BUILD
new file mode 100755
index 0000000..63037c2
--- /dev/null
+++ b/games-strategy-tbs/ufoai/BUILD
@@ -0,0 +1,5 @@
+OPTS="--enable-release $UFOAI_OPTS $OPTS"  &&
+default_build                  &&
+make update-po                 &&
+make lang
+
diff --git a/games-strategy-tbs/ufoai/CONFIGURE b/games-strategy-tbs/ufoai/CONFIGURE
new file mode 100755
index 0000000..ec663e1
--- /dev/null
+++ b/games-strategy-tbs/ufoai/CONFIGURE
@@ -0,0 +1,20 @@
+config_query_option UFOAI_OPTS "Build dedicated server?"   \
+                               y                           \
+                               "--enable-dedicated"        \
+                               "--disable-dedicated"       &&
+config_query_option UFOAI_OPTS "Build client?"             \
+                               y                           \
+                               "--enable-client"           \
+                               "--disable-client"          &&
+config_query_option UFOAI_OPTS "Build masterserver?"       \
+                               y                           \
+                               "--enable-master"           \
+                               "--disable-master"          &&
+config_query_option UFOAI_OPTS "Build ufo2map?"            \
+                               y                           \
+                               "--enable-ufo2map"          \
+                               "--disable-ufo2map"         &&
+config_query_option UFOAI_OPTS "Build with IPv6 support?"  \
+                               n                           \
+                               "--with-ipv6"               \
+                               "--without-ipv6"
diff --git a/games-strategy-tbs/ufoai/DEPENDS b/games-strategy-tbs/ufoai/DEPENDS
new file mode 100755
index 0000000..9ca436e
--- /dev/null
+++ b/games-strategy-tbs/ufoai/DEPENDS
@@ -0,0 +1,39 @@
+depends sdl "--with-sdl --with-snd-sdl"       &&
+depends OPENGL "--with-vid-glx"               &&
+depends sdl_ttf                               &&
+depends libogg                                &&
+depends libvorbis                             &&
+depends jpeg                                  &&
+depends zlib                                  &&
+depends libpng                                &&
+depends gettext                               &&
+depends X11-LIBS                              &&
+. $GRIMOIRE/FUNCTIONS
+if check_if_xorg_modular_libs ; then
+optional_depends libxxf86dga                  \
+                 "--with-vid-dga"             \
+                 "--without-vid-dga"          \
+                 "Build with DGA support"
+fi
+optional_depends arts                         \
+                 "--with-snd-arts"            \
+                 "--without-snd-arts"         \
+                 "With arts sound support"    &&
+optional_depends jack                         \
+                 "--with-snd-jack"            \
+                 "--without-snd-jack"         \
+                 "With JACK sound support"    &&
+optional_depends alsa-lib                     \
+                 "--with-snd-alsa"            \
+                 "--without-snd-alsa"         \
+                 "With ALSA sound support"    &&
+optional_depends openal                       \
+                 "--with-openal"              \
+                 "--without-openal"           \
+                 "With OpenAL sound support"  &&
+optional_depends freealut                     \
+                 ""                           \
+                 ""                           \
+                 "With freealut support"
+
+
diff --git a/games-strategy-tbs/ufoai/DETAILS b/games-strategy-tbs/ufoai/DETAILS
new file mode 100755
index 0000000..68679db
--- /dev/null
+++ b/games-strategy-tbs/ufoai/DETAILS
@@ -0,0 +1,36 @@
+           SPELL=ufoai
+         VERSION=2.1
+          SOURCE=$SPELL-$VERSION-source.tar.bz2
+         SOURCE2=$SPELL-$VERSION-data.tar
+         SOURCE3=$SPELL-$VERSION-i18n.tar.bz2
+   SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+  SOURCE2_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE2
+  SOURCE3_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE3
+     SOURCE_HASH=sha512:5bf238ea5b93f7efd9d86b3ca42e89dc66f4031f9c0922292cebd86ca63445808ab77bdf8d3ef7901d02554ad10ce46ca4cb5537fe536c046266ffc47d9ff060
+    SOURCE2_HASH=sha512:4c5e52ec06d6667ed20f08a6e107b9617d30ce6daf56df366e6a2abbb4cc90e98322f0f9a87567457a6a4e5e50829298fee60f9e9fc4686a7886e04ff3709b06
+    SOURCE3_HASH=sha512:7e732cad840985c441d5d18ff63943eb3d66bff52336ffa06d2501b119527a66a48864d64d7512f50798a56b505bd733bea4e91f69c0fcec488e815523b2fbf8
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/$SPELL-$VERSION-source
+        WEB_SITE="http://ufoai.ninex.info/"
+      LICENSE[0]=GPL
+         ENTERED=20070422
+           SHORT="X-COM inspired turn based 3D strategy game"
+cat << EOF
+X-COM inspired turn based 3D strategy game
+
+UFO: Alien Invasion is a strategy game featuring turn-based tactical
+combat against hostile alien forces (human or computer controlled) which
+are infiltrating earth at this very moment. You are in command of a small
+special unit which has been founded to face the alien strike force. To be
+successful in the long run, you must research the alien technology in order
+to build bigger and better weapons against your foes.
+
+'UFO: Alien Invasion' is heavily inspired by the 'X-COM' series by Mythos
+and Microprose. The first game of the series, 'UFO DEFENSE', became a
+classic and, in our honest opinion, is one of the best games ever made.
+'UFO: Alien Invasion' is neither a sequel nor a remake of 'UFO DEFENSE' -
+we simply had the urge to create a similar, turn-based strategy game. We
+hope that it will be as entertaining as the original was us.
+
+Join the IRC-Channel at irc.freenode.org named #ufo:ai , get involved with
+the community and contribute to the development process.
+EOF
diff --git a/games-strategy-tbs/ufoai/HISTORY b/games-strategy-tbs/ufoai/HISTORY
new file mode 100644
index 0000000..69dc00a
--- /dev/null
+++ b/games-strategy-tbs/ufoai/HISTORY
@@ -0,0 +1,4 @@
+2007-04-22 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DETAILS, DEPENDS, HISTORY: created spell
+	* PRE_BUILD, BUILD, INSTALL: created spell
+	* CONFIGURE: created spell
diff --git a/games-strategy-tbs/ufoai/INSTALL b/games-strategy-tbs/ufoai/INSTALL
new file mode 100755
index 0000000..138425a
--- /dev/null
+++ b/games-strategy-tbs/ufoai/INSTALL
@@ -0,0 +1,19 @@
+cp -vr base ${INSTALL_ROOT}/usr/share/games/ufoai/        &&
+local files                                               &&
+for files in ref_glx.so ref_sdl.so snd_alsa.so \
+             snd_oss.so snd_sdl.so snd_arts.so \
+             snd_jack.so snd_openal.so
+do
+if [[ -e $files ]]; then
+cp -vr $files ${INSTALL_ROOT}/usr/share/games/ufoai/
+fi
+done
+files=""                                                  &&
+for files in ufo ufo2map ufoded ufomaster qdata
+do
+if [[ -e $files ]]; then
+cp -vr $files ${INSTALL_ROOT}/usr/games/
+fi
+done                                                      &&
+cd ${INSTALL_ROOT}/usr/share/games/ufoai/                 &&
+find_and_scam
diff --git a/games-strategy-tbs/ufoai/PRE_BUILD b/games-strategy-tbs/ufoai/PRE_BUILD
new file mode 100755
index 0000000..bea32b7
--- /dev/null
+++ b/games-strategy-tbs/ufoai/PRE_BUILD
@@ -0,0 +1,12 @@
+default_pre_build     &&
+cd $SOURCE_DIRECTORY  &&
+unpack_file 2         &&
+unpack_file 3         &&
+sedit "942s:fs_basedir\", \"\.\":fs_basedir\", \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/qcommon/files.c  &&
+sedit "416s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/client/snd_ref.c  &&
+sedit "66s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/ports/irix/qgl_irix.c  &&
+sedit "116s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/ports/linux/qgl_linux.c  &&
+sedit "249s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/ports/linux/vid_so.c  &&
+sedit "46s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/ports/linux/qal_linux.c  &&
+sedit "62s:libPath, \"\.\":libPath, \"${INSTALL_ROOT}/usr/share/games/ufoai\":" src/ports/linux/qal_linux.c
+



More information about the SM-Commit mailing list