Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Jeremy Blosser (8ef6cdae76d4a7232f1cf75c3b3b4420490c7e77)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jeremy Blosser <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Jeremy Blosser (8ef6cdae76d4a7232f1cf75c3b3b4420490c7e77)
  • Date: Tue, 16 Sep 2014 03:57:29 -0500

GIT changes to master games grimoire by Jeremy Blosser
<jblosser AT sourcemage.org>:

ChangeLog | 4 +++
FUNCTIONS | 14 +++++++++++
games-simulation/minetest/BUILD | 4 +++
games-simulation/minetest/DEPENDS | 36 +++++++++++++++++++++++++++++
games-simulation/minetest/DETAILS | 47
++++++++++++++++++++++++++++++++++++++
games-simulation/minetest/HISTORY | 3 ++
games-simulation/minetest/PREPARE | 2 +
7 files changed, 110 insertions(+)

New commits:
commit 8ef6cdae76d4a7232f1cf75c3b3b4420490c7e77
Author: Jeremy Blosser <jblosser AT sourcemage.org>
Commit: Jeremy Blosser <jblosser AT sourcemage.org>

minetest: new spell, infinite-world block sandbox game with survival and
crafting

commit abed183352fde52318c1171cc003a1d7bd9ba64f
Author: Jeremy Blosser <jblosser AT sourcemage.org>
Commit: Jeremy Blosser <jblosser AT sourcemage.org>

FUNCTIONS: add get_scm_version

diff --git a/ChangeLog b/ChangeLog
index db78494..8a9ae33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-16 Jeremy Blosser <jblosser AT sourcemage.org>
+ * FUNCTIONS: add get_scm_version
+ * games-simulation/minetest: new spell, infinite-world block sandbox
game with survival and crafting
+
2014-02-02 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* games-utils/fgfs-atlas: new spell, a moving map for flightgear

diff --git a/FUNCTIONS b/FUNCTIONS
index 9d60207..4b320fa 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -333,3 +333,17 @@ function get_up_spell_name() {
echo ${1:-$SPELL} | tr "a-z-" "A-Z_"
}

+#---
+## Get branch-based/autoupdate-aware version number
+#---
+function get_scm_version() {
+ local spell=$(get_up_spell_name) &&
+ local spell_branch="${spell}_BRANCH" &&
+ local spell_autoupdate="${spell}_AUTOUPDATE" &&
+ if [ "${!spell_autoupdate}" = "y" ]; then
+ echo $(date "+%Y%m%d")
+ else
+ echo ${!spell_branch:-scm}
+ fi
+}
+
diff --git a/games-simulation/minetest/BUILD b/games-simulation/minetest/BUILD
new file mode 100755
index 0000000..0c90ec3
--- /dev/null
+++ b/games-simulation/minetest/BUILD
@@ -0,0 +1,4 @@
+cmake . -DCMAKE_INSTALL_PREFIX=${INSTALL_ROOT}/usr
-DCMAKE_BUILD_TYPE=RELEASE \
+ -DRUN_IN_PLACE=0 ${OPTS} &&
+
+make
diff --git a/games-simulation/minetest/DEPENDS
b/games-simulation/minetest/DEPENDS
new file mode 100755
index 0000000..53e2677
--- /dev/null
+++ b/games-simulation/minetest/DEPENDS
@@ -0,0 +1,36 @@
+depends irrlicht &&
+depends cmake &&
+depends bzip2 &&
+depends libpng &&
+depends JPEG &&
+depends libxxf86vm &&
+depends OPENGL &&
+depends sqlite &&
+depends libogg &&
+depends libvorbis &&
+depends OPENAL &&
+
+optional_depends curl \
+ "-DENABLE_CURL=1" \
+ "-DENABLE_CURL=0" \
+ "online mod repo, public serverlist and remote media
fetching via http" &&
+optional_depends freetype2 \
+ "-DENABLE_FREETYPE=1" \
+ "-DENABLE_FREETYPE=0" \
+ "ttf font support" &&
+optional_depends gettext \
+ "-DENABLE_GETTEXT=1" \
+ "-DENABLE_GETTEXT=0" \
+ "translation support" &&
+optional_depends leveldb \
+ "-DENABLE_LEVELDB=1" \
+ "-DENABLE_LEVELDB=0" \
+ "leveldb as map backend" &&
+optional_depends redis \
+ "-DENABLE_REDIS" \
+ "-DENABLE_REDIS=0" \
+ "redis as map backend" &&
+optional_depends luajit \
+ "-DDISABLE_LUAJIT=0" \
+ "-DDISABLE_LUAJIT=1" \
+ ""
diff --git a/games-simulation/minetest/DETAILS
b/games-simulation/minetest/DETAILS
new file mode 100755
index 0000000..fc0d7ec
--- /dev/null
+++ b/games-simulation/minetest/DETAILS
@@ -0,0 +1,47 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL=minetest
+if [ "${MINETEST_BRANCH}" == "scm" ]; then
+ VERSION=$(get_scm_version)
+ SOURCE=${SPELL}-${MINETEST_BRANCH}.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${MINETEST_BRANCH}
+ FORCE_DOWNLOAD=on
+ SOURCE_URL[0]=git://github.com/${SPELL}/${SPELL}.git
+ SOURCE_IGNORE=volatile
+else
+ VERSION=0.4.10
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/${SPELL}/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:882723996b4904b4b9e3653476c2b4a988967600fc2b0897f755dd28d5da2ae5cab45a14fcdf8827c3f2838e952399e1e7d7e264cd26070fef2dbcd33cd1c59a
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="http://minetest.net/";
+ LICENSE[0]=LGPL
+ ENTERED=20140916
+ SHORT="infinite-world block sandbox game with survival and
crafting"
+cat << EOF
+Minetest is an infinite-world block sandbox game and a game engine, inspired
+by InfiniMiner, Minecraft and the like. It has been in development and use
+since October 2010.
+
+It is Free and Open Source Software, released under the LGPL 2.1 or later,
+available for Windows, Mac OS X and Linux.
+
+Minetest is developed by a random bunch of lunatics.
+
+Minetest is designed to be simple, stable and portable. It is lightweight
+enough to run on fairly old hardware. It currently runs playably on a laptop
+with Intel 945GM graphics. Though, as for the CPU, dualcore is recommended.
+
+Features
+
+* Walk around, dig and build in an infinite voxel world, and craft stuff
+ from raw materials to help you along the way.
+* Simplistic Modding API that supports many kinds of additions and
+ modifications to the game.
+* Multiplayer support for tens of players, via servers hosted by users.
+* Voxel based lighting with gameplay consequences (light caves and buildings
+ with torches)
+* Almost infinite world and a beautiful map generator.
+* Runs natively on Windows, Linux, OS X and FreeBSD.
+* Supports multiple languages, translated by the community.
+EOF
diff --git a/games-simulation/minetest/HISTORY
b/games-simulation/minetest/HISTORY
new file mode 100644
index 0000000..0116d10
--- /dev/null
+++ b/games-simulation/minetest/HISTORY
@@ -0,0 +1,3 @@
+2014-09-16 Jeremy Blosser <jblosser AT sourcemage.org>
+ * PREPARE, BUILD, DEPENDS, DETAILS, INSTALL: spell created
+
diff --git a/games-simulation/minetest/PREPARE
b/games-simulation/minetest/PREPARE
new file mode 100755
index 0000000..ed36011
--- /dev/null
+++ b/games-simulation/minetest/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable scm



  • [SM-Commit] GIT changes to master games grimoire by Jeremy Blosser (8ef6cdae76d4a7232f1cf75c3b3b4420490c7e77), Jeremy Blosser, 09/16/2014

Archive powered by MHonArc 2.6.24.

Top of Page