diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-28 02:11:19 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-28 02:11:19 +0000 |
commit | 314526ac72aae71fbac900ff80ff0a2d6633c4b1 (patch) | |
tree | 430125f9025797fc007b4fec7711afdccdf4b054 /games-board | |
parent | Delete older ebuild. (diff) | |
download | historical-314526ac72aae71fbac900ff80ff0a2d6633c4b1.tar.gz historical-314526ac72aae71fbac900ff80ff0a2d6633c4b1.tar.bz2 historical-314526ac72aae71fbac900ff80ff0a2d6633c4b1.zip |
version bump
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/gnubg/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/gnubg/Manifest | 5 | ||||
-rw-r--r-- | games-board/gnubg/files/gnubg-20101126-build.patch | 53 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-20101126.ebuild | 80 |
4 files changed, 144 insertions, 2 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog index 6b3db5729139..1ee4f93282aa 100644 --- a/games-board/gnubg/ChangeLog +++ b/games-board/gnubg/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.55 2010/11/28 02:11:19 mr_bones_ Exp $ + +*gnubg-20101126 (28 Nov 2010) + + 28 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> + +gnubg-20101126.ebuild, +files/gnubg-20101126-build.patch: + version bump 29 Apr 2010; Tupone Alfredo <tupone@gentoo.org> gnubg-20100107.ebuild: Force python2 fixing bug #312239 by arfrever@gentoo.org diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest index 8d2a7a1c4b57..5e246a3b228b 100644 --- a/games-board/gnubg/Manifest +++ b/games-board/gnubg/Manifest @@ -1,5 +1,8 @@ AUX gnubg-20100107-build.patch 2380 RMD160 c8798017d8780dac0bc5b01007a3e3db14b5f989 SHA1 ae9be93cf21dffba38d8f1d8b45ed9bbbc9ba8fe SHA256 26f94c0d264fa52c371173de78129d74a76581a9101cf95e32e2658478c00ea8 +AUX gnubg-20101126-build.patch 2380 RMD160 c8798017d8780dac0bc5b01007a3e3db14b5f989 SHA1 ae9be93cf21dffba38d8f1d8b45ed9bbbc9ba8fe SHA256 26f94c0d264fa52c371173de78129d74a76581a9101cf95e32e2658478c00ea8 DIST gnubg-source-SNAPSHOT-20100107.tar.gz 14181586 RMD160 f90fa81912676bd6fdfc3d313e46936960ad4c7a SHA1 9d1260ff27e93e1197f4c8cb42619d854b7a4811 SHA256 ee5b14bd72bb1fe40acbfa07707e0fff4e4822e778c24e1a28a438b05ea3c652 +DIST gnubg-source-SNAPSHOT-20101126.tar.gz 14192800 RMD160 08360a017b06c432a9fe2c621e63c3bafdb88abd SHA1 a75c56774ce3ee62c03846175641def0291587d6 SHA256 84936b5264d4789426370bd9d88e1920748a2c74ed700070310a68435b6933c7 EBUILD gnubg-20100107.ebuild 1944 RMD160 9a4b7283b324cd09b6ac27efd3e82a55c131154c SHA1 1bb219ecf9ead1f3aa503ead0f12eae897e589ba SHA256 e1b91146bb7900ceb95fdfe5959f7da49afeca034cb88af7d6e9196a5bdc5648 -MISC ChangeLog 7379 RMD160 e32af2e2134d4f8941bbc323e4fa8f31e928c03a SHA1 1a8fe828173d522279324a9fed0cfc3bc88fd967 SHA256 6c6cdc3dcf7140750969ef6c7ede754fbc2cc87099771d08f9432a3ee43e4533 +EBUILD gnubg-20101126.ebuild 1950 RMD160 ad7e3ed51af1cfff9ddbf590858c7ecfdda18859 SHA1 8281a6fd4430308960f7a2a2d09c38f0f30b0cd3 SHA256 6d893b0fa18c5b4c5ad7f7d42b9a93e49a357a35828392e49cd382fde77128fc +MISC ChangeLog 7545 RMD160 1d9bdb2942a8a32ce7dd1a88caf1a6a8887df60b SHA1 af9a6e1d1ddd416432c0675fd201aed118bbf9b8 SHA256 6a3eee68bd93e2b37783893726b6132f162867e8006bbe3ec5f82b1a80b13c8c MISC metadata.xml 251 RMD160 f77a8fea97ab2a02ef2d9bf1cc7b390c5c19e6cb SHA1 8134d1f2611a2e4387a89e84580a2cb5c25f5649 SHA256 34f41062e84f1e12c08550faffc97632a2432df3579520cec76dbe8b08fb9cfe diff --git a/games-board/gnubg/files/gnubg-20101126-build.patch b/games-board/gnubg/files/gnubg-20101126-build.patch new file mode 100644 index 000000000000..089d23597cde --- /dev/null +++ b/games-board/gnubg/files/gnubg-20101126-build.patch @@ -0,0 +1,53 @@ +diff -ru gnubg.orig/Makefile.am gnubg/Makefile.am +--- gnubg.orig/Makefile.am 2009-08-08 22:30:04.000000000 -0400 ++++ gnubg/Makefile.am 2009-08-20 02:13:01.696689411 -0400 +@@ -2,9 +2,9 @@ + + ACLOCAL_AMFLAGS = -I m4 + +-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"' ++AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"' + +-SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags fonts non-src pixmaps . ++SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags non-src pixmaps . + + bin_PROGRAMS = gnubg makebearoff makehyper bearoffdump makeweights + +diff -ru gnubg.orig/doc/Makefile.am gnubg/doc/Makefile.am +--- gnubg.orig/doc/Makefile.am 2009-08-08 22:30:05.000000000 -0400 ++++ gnubg/doc/Makefile.am 2009-08-20 02:10:53.969939597 -0400 +@@ -1,6 +1,6 @@ +-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"' +-gnubg_helpdir = $(datadir)/doc/gnubg/ +-gnubg_imagedir = $(datadir)/doc/gnubg/images ++AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"' ++gnubg_helpdir = @docdir@/ ++gnubg_imagedir = @docdir@/images + gnubg_help_DATA = gnubg.html allabout.html + gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \ + images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \ +diff -ru gnubg.orig/pixmaps/Makefile.am gnubg/pixmaps/Makefile.am +--- gnubg.orig/pixmaps/Makefile.am 2008-12-08 22:30:08.000000000 -0500 ++++ gnubg/pixmaps/Makefile.am 2009-08-20 02:12:00.050689327 -0400 +@@ -1,5 +1,5 @@ +-gnubgiconsdir = $(datadir) +-gnubgpixmapsdir = $(pkgdatadir)/pixmaps ++gnubgiconsdir = /usr/share ++gnubgpixmapsdir = /usr/share/pixmaps + + ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg + ICONS_16 = icons/hicolor/16x16/apps/gnubg.png +diff -ru gnubg.orig/po/Makefile.in.in gnubg/po/Makefile.in.in +--- gnubg.orig/po/Makefile.in.in 2008-09-29 22:30:08.000000000 -0400 ++++ gnubg/po/Makefile.in.in 2009-08-20 02:09:51.838814286 -0400 +@@ -28,8 +28,8 @@ + datarootdir = @datarootdir@ + datadir = @datadir@ + libdir = @libdir@ +-localedir = $(libdir)/locale +-gnulocaledir = $(datadir)/locale ++localedir = @localedir@ ++gnulocaledir = @localedir@ + gettextsrcdir = $(datadir)/glib-2.0/gettext/po + subdir = po + diff --git a/games-board/gnubg/gnubg-20101126.ebuild b/games-board/gnubg/gnubg-20101126.ebuild new file mode 100644 index 000000000000..fd770ea0aae8 --- /dev/null +++ b/games-board/gnubg/gnubg-20101126.ebuild @@ -0,0 +1,80 @@ +# 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-20101126.ebuild,v 1.1 2010/11/28 02:11:19 mr_bones_ 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 +} |