diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-06 16:50:00 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-06 16:50:00 +0000 |
commit | d99103b1e28936081248b607e2699ac3237f04ea (patch) | |
tree | 416948feb1cb265ec46bc76394fc541094e54a95 /games-board/biloba | |
parent | version bump (diff) | |
download | gentoo-2-d99103b1e28936081248b607e2699ac3237f04ea.tar.gz gentoo-2-d99103b1e28936081248b607e2699ac3237f04ea.tar.bz2 gentoo-2-d99103b1e28936081248b607e2699ac3237f04ea.zip |
version bump
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'games-board/biloba')
-rw-r--r-- | games-board/biloba/ChangeLog | 11 | ||||
-rw-r--r-- | games-board/biloba/biloba-0.9.3.ebuild | 38 | ||||
-rw-r--r-- | games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch | 17 | ||||
-rw-r--r-- | games-board/biloba/files/biloba-0.9.3-not-windows.patch | 15 |
4 files changed, 79 insertions, 2 deletions
diff --git a/games-board/biloba/ChangeLog b/games-board/biloba/ChangeLog index f7c38bd386ea..d5bbb2cdf9fd 100644 --- a/games-board/biloba/ChangeLog +++ b/games-board/biloba/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-board/biloba -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/biloba/ChangeLog,v 1.5 2009/11/21 19:21:46 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/biloba/ChangeLog,v 1.6 2011/05/06 16:50:00 mr_bones_ Exp $ + +*biloba-0.9.3 (06 May 2011) + + 06 May 2011; Michael Sterrett <mr_bones_@gentoo.org> +biloba-0.9.3.ebuild, + +files/biloba-0.9.3-no-X11-dep.patch, + +files/biloba-0.9.3-not-windows.patch: + version bump 21 Nov 2009; Markus Meier <maekke@gentoo.org> biloba-0.6.ebuild: x86 stable, bug #289064 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..c97c7420061a --- /dev/null +++ b/games-board/biloba/biloba-0.9.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/biloba/biloba-0.9.3.ebuild,v 1.1 2011/05/06 16:50:00 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils 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="~x86" +IUSE="" + +DEPEND="media-libs/libsdl[X,video,audio] + media-libs/sdl-image[png] + media-libs/sdl-mixer" + +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() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README + newicon biloba_icon.png ${PN}.png + make_desktop_entry biloba Biloba + prepgamesdirs +} 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]) |