Skip to content

Commit

Permalink
Merge branch 'master' of github.com:/lunar-linux/moonbase-other
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Veatch committed Jul 10, 2012
2 parents 79a64d7 + d654de1 commit f6c934c
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 0 deletions.
21 changes: 21 additions & 0 deletions 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
4 changes: 4 additions & 0 deletions 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"
22 changes: 22 additions & 0 deletions 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
19 changes: 19 additions & 0 deletions 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
5 changes: 5 additions & 0 deletions 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"
15 changes: 15 additions & 0 deletions 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"
19 changes: 19 additions & 0 deletions 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

0 comments on commit f6c934c

Please sign in to comment.