Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:/lunar-linux/moonbase-other
- Loading branch information
Showing
7 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |