Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (673c76bff32e20295b0638b328cf24ea3236f275)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (673c76bff32e20295b0638b328cf24ea3236f275)
  • Date: Tue, 19 Jan 2021 18:03:10 +0000

GIT changes to master games grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3 +++
games-board/gnubg/DEPENDS | 37 +++++++++++++++++++++++++++++++++++++
games-board/gnubg/DETAILS | 22 ++++++++++++++++++++++
games-board/gnubg/HISTORY | 2 ++
games-board/gnubg/PRE_BUILD | 3 +++
5 files changed, 67 insertions(+)

New commits:
commit 673c76bff32e20295b0638b328cf24ea3236f275
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gnubg: new spell, GNU Backgammon

diff --git a/ChangeLog b/ChangeLog
index bfb79b1..ef9291a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2021-01-19 Ismael Luceno <ismael AT sourcemage.org>
+ * games-board/gnubg: new spell, GNU Backgammon
+
2020-01-26 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* FUNCTIONS: filter -fno-plt in disable_pic

diff --git a/games-board/gnubg/DEPENDS b/games-board/gnubg/DEPENDS
new file mode 100755
index 0000000..536e079
--- /dev/null
+++ b/games-board/gnubg/DEPENDS
@@ -0,0 +1,37 @@
+depends glib2 &&
+optional_depends curl --with-libcurl --without-libcurl "for curl support" &&
+optional_depends gmp "" "" "" &&
+optional_depends gtk+3 --with-gtk3 --without-gtk3 "for the (experimental)
GTK+ 3 GUI" &&
+if is_depends_enabled "$SPELL" gtk+3; then
+ gui=gtk3
+else
+ optional_depends gtk+2 --with-gtk --without-gtk "for the GTK+ GUI" &&
+ if is_depends_enabled "$SPELL" gtk+2; then
+ gui=gtk2
+ else
+ gui=none
+ fi
+fi
+if [ none != "$gui" ]; then
+ optional_depends cairo "" "" "for vector graphics support" &&
+ optional_depends pango "" "" "for text rendering support" &&
+ optional_depends freetype2 "" "" "" &&
+ optional_depends libcanberra "" "" "for audio support" &&
+ if is_depends_enabled "$SPELL" libcanberra; then
+ case "$gui" in
+ (gtk3)
+ sub_depends libcanberra GTK3 ;;
+ (gtk2)
+ sub_depends libcanberra GTK ;;
+ esac
+ fi &&
+ optional_depends gtkglext --with-board3d --without-board3d "for 3D board"
&&
+ if is_depends_enabled "$SPELL" gtkglext; then
+ optional_depends glu "" "" "for GLU support"
+ fi &&
+ optional_depends libpng "" "" "for PNG support"
+fi &&
+optional_depends ncurses "" "" "for text-terminal UI" &&
+optional_depends python3 --with-python=python3 --without-python "for Python
scripting support" &&
+optional_depends readline "" "" "for line editing on the terminal" &&
+optional_depends sqlite "" "" "for sqlite support"
diff --git a/games-board/gnubg/DETAILS b/games-board/gnubg/DETAILS
new file mode 100755
index 0000000..a5b3bc0
--- /dev/null
+++ b/games-board/gnubg/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=gnubg
+ VERSION=1.06.002
+ SOURCE="$SPELL-release-$VERSION-sources.tar.gz"
+ SOURCE_URL[0]=https://ftp.gnu.org/gnu/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:77594209032a0d81deb802da249d7f40812127dd1e080413eda75015f324fec9592b1b51772403f501b21e39d3dd371931d82b43c24f614a7d16c5234d271948
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://www.gnu.org/software/gnubg/";
+ LICENSE[0]="GPL-3.0-or-later"
+ ENTERED=20210119
+ KEYWORDS=""
+ SHORT="GNU Backgammon"
+cat << EOF
+GNU Backgammon (GNUbg) plays and analyzes backgammon games and matches. It is
+able to play and analyze both money games and tournament matches, evaluate
+and roll out positions, and more. Driven by a command-line interface,
+it displays an ASCII rendering of a board on text-only terminals, but also
+allows the user to play games and manipulate positions with a graphical GTK+
+interface. GNU Backgammon is extensible on platforms which support Python.
+
+GNU Backgammon is a world class opponent and rates at over 2000 on FIBS,
+the First Internet Backgammon Server.
+EOF
diff --git a/games-board/gnubg/HISTORY b/games-board/gnubg/HISTORY
new file mode 100644
index 0000000..8b6541b
--- /dev/null
+++ b/games-board/gnubg/HISTORY
@@ -0,0 +1,2 @@
+2021-01-19 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/games-board/gnubg/PRE_BUILD b/games-board/gnubg/PRE_BUILD
new file mode 100755
index 0000000..3c8cac2
--- /dev/null
+++ b/games-board/gnubg/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub



  • [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (673c76bff32e20295b0638b328cf24ea3236f275), Ismael Luceno, 01/19/2021

Archive powered by MHonArc 2.6.24.

Top of Page