Portage is a package management system used by Gentoo Linux
# ChangeLog for games-board/gnubg
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.54 2010/04/29 15:37:45 tupone Exp $
29 Apr 2010; Tupone Alfredo
Force python2 fixing bug #312239 by arfrever@gentoo.org
27 Feb 2010; Pawel Hajdan jr
gnubg-20100107.ebuild:
x86 stable wrt bug #303831
10 Feb 2010; Joseph Jezak
Marked ppc/ppc64 stable for bug #303831.
*gnubg-20100107 (07 Jan 2010)
07 Jan 2010; Michael Sterrett
-gnubg-0.14.3-r1.ebuild, -files/gnubg-0.14.3-64bits.patch,
-files/gnubg-0.14.3-as-needed.patch, -files/gnubg-0.14.3-blas.patch,
-files/gnubg-0.14.3-gcc4.patch, +gnubg-20100107.ebuild,
+files/gnubg-20100107-build.patch:
version bump; clean old
06 Jan 2010; Brent Baude
Marking gnubg-20090817 ppc64 for bug 288644
30 Dec 2009; Michael Sterrett
gnubg-20090817.ebuild:
use ${T} instead of /tmp for constructing credits (bug #298275)
26 Dec 2009; Raúl Porcel
gnubg-20090817.ebuild:
Drop sparc keywords
03 Dec 2009; Michael Sterrett
gnubg-20090817.ebuild:
board3d also requires the gtk deps (bug #295583)
22 Nov 2009; Mounir Lamouri
Stable for ppc, bug 288644
20 Nov 2009; Markus Meier
x86 stable, bug #288644
10 Nov 2009; Samuli Suominen
gnubg-0.14.3-r1.ebuild:
Remove USE arts (deprecated).
*gnubg-20090817 (20 Aug 2009)
20 Aug 2009; Michael Sterrett
+gnubg-20090817.ebuild, +files/gnubg-20090817-build.patch:
version bump to snapshot releases (bug #156953) - ebuild submitted by
Marijn Schouten
07 Aug 2009; Michael Sterrett
gnubg-0.14.3-r1.ebuild, files/gnubg-0.14.3-as-needed.patch:
EAPI=2; fix building with USE=python (bug #280005)
13 Feb 2009; Alfredo Tupone
append-ldflags removed as not needed. Bug #226895 by flameeyes@gentoo.org
04 Feb 2009; Alfredo Tupone
files/gnubg-0.14.3-as-needed.patch:
Fix --as-needed bug #247340 by flameeyes@gentoo.org
04 Feb 2009; Alfredo Tupone
Does not work with dev-scheme/guile-1.8
29 Feb 2008; Carsten Lohrke
Remove icon extension from desktop entry to match Icon Theme Specification.
12 Nov 2007; Mike Frysinger
files/gnubg-0.14.3-as-needed.patch, gnubg-0.14.3-r1.ebuild:
Patch Makefile.in rather than Makefile.am so we dont need to run autotools
#198936 by Michael.
15 Oct 2007; Markus Rothe
Stable on ppc64
12 Jun 2007; Diego Pettenò
Add ~x86-fbsd as per bug #171523, thanks to Nathan Smith.
19 Feb 2007; nixnut
Stable on ppc wrt bug 167564
10 Jan 2007; Piotr Jaroszyński
Fix Manifest.
10 Jan 2007;
Dependency update: dev-util/guile -> dev-scheme/guile.
10 Jan 2007;
Dependency update: dev-util/guile -> dev-scheme/guile.
22 Dec 2006; Gustavo Zacarias
gnubg-0.14.3-r1.ebuild:
Stable on sparc
01 Dec 2006; Chris Gianelloni
Removing old virtual/x11 dependency.
03 Nov 2006; Tristan Heaven
Add nls dependencies
22 Oct 2006;
Meant to put ~all in previous commit. So x86 and ppc64 -> testing
*gnubg-0.14.3-r1 (22 Oct 2006)
22 Oct 2006;
+files/gnubg-0.14.3-blas.patch, +gnubg-0.14.3-r1.ebuild:
Patches for amd64 & fix blas usage. Bug #127554 by playmiac
08 Jul 2006; Markus Rothe
Stable on ppc64
26 May 2006; Markus Rothe
Added ~ppc64 and RESTRICT="test"; bug #132002
24 May 2006; Chris Gianelloni
Fixed dependency on glib and closing bug #134181.
02 May 2006; Michael Sterrett
+files/gnubg-0.14.3-as-needed.patch, gnubg-0.14.3.ebuild:
fix up IUSE and deps; desktop entry; patch for --as-needed - submitted by
Denis Dupeyron via bug #130522
02 Apr 2006;
gnubg-0.14.3.ebuild:
Fix for gcc-4 compilation, bug #120836 by Joshua Baergen
29 Jan 2006; Joshua Baergen
gnubg-0.14.3.ebuild:
Add modular X dependencies.
20 Sep 2005; Michael Sterrett
-gnubg-0.13.0-r1.ebuild, -gnubg-0.14.2.ebuild:
clean old versions
25 Feb 2005; Michael Sterrett
fix up deps; turn off gtk1 support since it's broken (bug #83283)
*gnubg-0.14.3 (24 Feb 2005)
24 Feb 2005; Michael Sterrett
version bump
27 Dec 2004; Mike Frysinger
Stick ftgl into the opengl?() portion of DEPEND #75768.
27 Dec 2004; Mike Frysinger
Add support for USE=opengl to track glgtkext support #47039 by Nicolai
Lissner / Thomas R. (TRauMa).
17 Dec 2004; David Holm
Added to ~ppc.
09 Dec 2004; Michael Sterrett
filter-flags -ffast-math #bug #67929
15 Sep 2004; Jeremy Huddleston
Added to -amd64 (game segfaults on startup).
12 Jul 2004; Jeremy Huddleston
Added to ~sparc. Closes bug #38396.
03 Jul 2004; Michael Sterrett
gnuconfig_update for mips; no backticks
03 Jun 2004; Aron Griffis
Fix use invocation
*gnubg-0.14.2 (05 Apr 2004)
05 Apr 2004; Michael Sterrett
version bump
20 Mar 2004; Michael Sterrett
stop using deprecated ?: use syntax
30 Sep 2003; Michael Sterrett
Failed to link with USE=nas so fix configure.in in this case. Also, default
to gtk2; added more DEPENDs based on USE flags.
*gnubg-0.13.0-r1 (29 Sep 2003)
29 Sep 2003; Michael Sterrett
Add more USE flags to IUSE; modify the way the USE flags are handled to allow
more combinations of USE flags. There may still be issues with certain
combinations of USE flags but I think the current code will prove more
flexible. (driven by bug 28580)
*gnubg-0.13.0 (02 Mar 2003)
02 Mar 2003; Mike Frysinger
Initial import. Ebuild submitted by Rigo Ketelings
AUX gnubg-20100107-build.patch 2380 RMD160 c8798017d8780dac0bc5b01007a3e3db14b5f989 SHA1 ae9be93cf21dffba38d8f1d8b45ed9bbbc9ba8fe SHA256 26f94c0d264fa52c371173de78129d74a76581a9101cf95e32e2658478c00ea8
DIST gnubg-source-SNAPSHOT-20100107.tar.gz 14181586 RMD160 f90fa81912676bd6fdfc3d313e46936960ad4c7a SHA1 9d1260ff27e93e1197f4c8cb42619d854b7a4811 SHA256 ee5b14bd72bb1fe40acbfa07707e0fff4e4822e778c24e1a28a438b05ea3c652
EBUILD gnubg-20100107.ebuild 1944 RMD160 9a4b7283b324cd09b6ac27efd3e82a55c131154c SHA1 1bb219ecf9ead1f3aa503ead0f12eae897e589ba SHA256 e1b91146bb7900ceb95fdfe5959f7da49afeca034cb88af7d6e9196a5bdc5648
MISC ChangeLog 7379 RMD160 e32af2e2134d4f8941bbc323e4fa8f31e928c03a SHA1 1a8fe828173d522279324a9fed0cfc3bc88fd967 SHA256 6c6cdc3dcf7140750969ef6c7ede754fbc2cc87099771d08f9432a3ee43e4533
MISC metadata.xml 251 RMD160 f77a8fea97ab2a02ef2d9bf1cc7b390c5c19e6cb SHA1 8134d1f2611a2e4387a89e84580a2cb5c25f5649 SHA256 34f41062e84f1e12c08550faffc97632a2432df3579520cec76dbe8b08fb9cfe
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v 1.4 2010/04/29 15:37:45 tupone Exp $
EAPI=2
PYTHON_DEPEND="python? 2"
inherit autotools eutils python games
DESCRIPTION="GNU BackGammon"
HOMEPAGE="http://www.gnubg.org/"
SRC_URI="http://www.gnubg.org/media/sources/${PN}-source-SNAPSHOT-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE="gtk opengl python threads"
GTK_DEPS="
x11-libs/gtk+:2
x11-libs/cairo
x11-libs/pango"
RDEPEND="dev-libs/glib:2
media-libs/libpng
dev-libs/libxml2
media-libs/freetype:2
media-libs/libcanberra
gtk? ( ${GTK_DEPS} )
opengl? (
${GTK_DEPS}
x11-libs/gtkglext
>=media-libs/ftgl-2.1.2-r1
)
sys-libs/readline
python? ( dev-lang/python )
media-fonts/ttf-bitstream-vera
virtual/libintl
dev-db/sqlite:3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/gettext"
S=${WORKDIR}/${PN}
pkg_setup() {
python_set_active_version 2
games_pkg_setup
}
src_prepare() {
# use ${T} instead of /tmp for constructing credits (bug #298275)
sed -i \
-e 's:/tmp:${T}:' \
credits.sh \
|| die 'sed failed'
epatch "${FILESDIR}"/${P}-build.patch
python_convert_shebangs -r 2 python-config
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--localedir=/usr/share/locale \
--docdir=/usr/share/doc/${PF}/html \
$(use_enable threads) \
$(use_with python) \
$(use gtk || use opengl && echo --with-gtk) \
$(use_with opengl board3d)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
insinto "${GAMES_DATADIR}/${PN}"
doins ${PN}.weights *bd || die "doins failed"
dodoc AUTHORS README NEWS
dosym /usr/share/fonts/ttf-bitstream-vera "${GAMES_DATADIR}"/${PN}/fonts
newicon textures/logo.png gnubg.png
make_desktop_entry "gnubg -w" "GNU Backgammon"
prepgamesdirs
}