From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-board/biloba/Manifest | 1 + games-board/biloba/biloba-0.9.3.ebuild | 52 ++++++++++++++++++++++ .../biloba/files/biloba-0.9.3-no-X11-dep.patch | 17 +++++++ .../biloba/files/biloba-0.9.3-not-windows.patch | 15 +++++++ games-board/biloba/metadata.xml | 8 ++++ 5 files changed, 93 insertions(+) create mode 100644 games-board/biloba/Manifest create mode 100644 games-board/biloba/biloba-0.9.3.ebuild create mode 100644 games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch create mode 100644 games-board/biloba/files/biloba-0.9.3-not-windows.patch create mode 100644 games-board/biloba/metadata.xml (limited to 'games-board/biloba') diff --git a/games-board/biloba/Manifest b/games-board/biloba/Manifest new file mode 100644 index 000000000000..e91ed216e5e8 --- /dev/null +++ b/games-board/biloba/Manifest @@ -0,0 +1 @@ +DIST biloba-0.9.3.tar.gz 3162976 SHA256 a088d91bf1df8e2df643da95b5b55494dca82e5e64f28b2ffa9308bd47e12c61 SHA512 8729299bb37e05b7c27e0d77d022228c385d3d3c475c77b9b8eb81a6df2c2513ea0055b52b65715922fd964e4bab875e3ab5bec58746095346bf0c96d0cf6bc5 WHIRLPOOL 6cbadee65355b18492f67bc47287fc48ea56c90cb18d39b2df80c977180f3098aae9b7a1d183c033ee5d04e4e48adee0a0659d97d134fed6843847026a7bb344 diff --git a/games-board/biloba/biloba-0.9.3.ebuild b/games-board/biloba/biloba-0.9.3.ebuild new file mode 100644 index 000000000000..35cc345b6fcd --- /dev/null +++ b/games-board/biloba/biloba-0.9.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils gnome2-utils games + +DESCRIPTION="a board game, up to 4 players, with AI and network" +HOMEPAGE="http://biloba.sourceforge.net/" +SRC_URI="mirror://sourceforge/biloba/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl:0[X,video,sound] + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND=${DEPEND} + +src_prepare() { + # X11 headers are checked but not used, everything is done through SDL + epatch \ + "${FILESDIR}"/${P}-not-windows.patch \ + "${FILESDIR}"/${P}-no-X11-dep.patch + + # "missing" file is old, and warns about --run not being supported + rm -f missing + eautoreconf +} + +src_install() { + default + newicon -s 64 biloba_icon.png ${PN}.png + make_desktop_entry biloba Biloba + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch b/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch new file mode 100644 index 000000000000..4c4ef50776cb --- /dev/null +++ b/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch @@ -0,0 +1,17 @@ +--- configure.ac.orig 2006-07-29 11:38:43.000000000 +0200 ++++ configure.ac 2006-07-29 11:40:52.000000000 +0200 +@@ -40,14 +40,6 @@ + ;; + *) + MATHLIB="-lm" +- AC_PATH_X +- AC_PATH_XTRA +- if test x$have_x = xyes; then +- CFLAGS="$CFLAGS $X_CFLAGS" +- SYS_GL_LIBS="$X_LIBS -lGL" +- else +- SYS_GL_LIBS="-lGL" +- fi + ;; + esac + AC_SUBST(MATHLIB) diff --git a/games-board/biloba/files/biloba-0.9.3-not-windows.patch b/games-board/biloba/files/biloba-0.9.3-not-windows.patch new file mode 100644 index 000000000000..c0ed069ffc2d --- /dev/null +++ b/games-board/biloba/files/biloba-0.9.3-not-windows.patch @@ -0,0 +1,15 @@ +--- configure.ac.old 2008-01-14 14:51:11.000000000 +0100 ++++ configure.ac 2008-12-28 12:57:13.000000000 +0100 +@@ -73,12 +65,6 @@ + AC_MSG_ERROR([*** SDL-Mixer not found!])) + AC_CHECK_HEADER(SDL/SDL_mixer.h, , AC_MSG_ERROR([*** SDL-mixer devel files not found!])) + +-AC_ARG_VAR(WINDRES, [Windows Resource compiler tool path]) +-AC_PATH_TOOL(WINDRES,windres, +- [AC_MSG_WARN(Could not find a windres tool in your PATH.)] +-) +-AC_SUBST(WINDRES) +- + AC_ARG_ENABLE(maemo, + [ --enable-maemo build for the Maemo platform [default=no]], + [ac_cv_enable_maemo=$enableval], [ac_cv_enable_maemo=no]) diff --git a/games-board/biloba/metadata.xml b/games-board/biloba/metadata.xml new file mode 100644 index 000000000000..e7b40101147b --- /dev/null +++ b/games-board/biloba/metadata.xml @@ -0,0 +1,8 @@ + + + + games + + biloba + + -- cgit v1.2.3-65-gdbad