summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-20 06:44:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-20 06:44:36 +0000
commit52d0bbf1162a2f3a966d4a3daccf9b88b4cdfcf7 (patch)
tree58235d330da93b452078632ed96d03bfdc9275cf /games-board
parentVersion bump. (diff)
downloadhistorical-52d0bbf1162a2f3a966d4a3daccf9b88b4cdfcf7.tar.gz
historical-52d0bbf1162a2f3a966d4a3daccf9b88b4cdfcf7.tar.bz2
historical-52d0bbf1162a2f3a966d4a3daccf9b88b4cdfcf7.zip
version bump to snapshot releases (bug #156953) - ebuild submitted by Marijn Schouten
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnubg/ChangeLog9
-rw-r--r--games-board/gnubg/Manifest5
-rw-r--r--games-board/gnubg/files/gnubg-20090817-build.patch53
-rw-r--r--games-board/gnubg/gnubg-20090817.ebuild67
4 files changed, 132 insertions, 2 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index 2682b5ca6efd..3ac65b3adfa9 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-board/gnubg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.42 2009/08/07 21:09:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.43 2009/08/20 06:44:36 mr_bones_ Exp $
+
+*gnubg-20090817 (20 Aug 2009)
+
+ 20 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +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 <mr_bones_@gentoo.org>
gnubg-0.14.3-r1.ebuild, files/gnubg-0.14.3-as-needed.patch:
diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest
index cefd06e6c785..6ab373e5f9fb 100644
--- a/games-board/gnubg/Manifest
+++ b/games-board/gnubg/Manifest
@@ -2,10 +2,13 @@ AUX gnubg-0.14.3-64bits.patch 2171 RMD160 b07cea2d81ce8508b38cbefa7ca13a152862fd
AUX gnubg-0.14.3-as-needed.patch 1009 RMD160 e4e31bf624941959db1e40f2e1a81a58a5ff96d6 SHA1 4ca25f4eb9e3919021803af2a06183e5a71091e5 SHA256 dfb6131d2204804ff8f1da857f2e390c56085b3a575e9bcfcfba3fe6e85686dc
AUX gnubg-0.14.3-blas.patch 284 RMD160 4a517b4f7984099c2deda3d9e7a45bc1b9324dc4 SHA1 d9fa2178f19fb80e470654e8be1570c709ac6a50 SHA256 1c86e885acecd617d67cd6b44ae99de1cdc23e91dcc955a5c475fa91261ed570
AUX gnubg-0.14.3-gcc4.patch 3589 RMD160 28d8b654f837936db37f66e9df8e85e8369a82a3 SHA1 eed82ec0b1a4cb5f51468dbcb5c4f2ac80036e3d SHA256 0f3f7e08207f3d0ccbf4931127dde6c9ca95ec1cb4d12914d3dbc7932407c096
+AUX gnubg-20090817-build.patch 2380 RMD160 c8798017d8780dac0bc5b01007a3e3db14b5f989 SHA1 ae9be93cf21dffba38d8f1d8b45ed9bbbc9ba8fe SHA256 26f94c0d264fa52c371173de78129d74a76581a9101cf95e32e2658478c00ea8
DIST gnubg-0.14.3.tar.gz 4241526 RMD160 da7b2a3b52194ca11d505a70fba805e99f15c3ed SHA1 8a03c91d190e26fb4024cacd766464741b1dfc90 SHA256 76d18f1a7952a4ba2372e439b3c4ecf2fcd244d334c609bb22d3f501067d1d72
+DIST gnubg-source-SNAPSHOT-20090817.tar.gz 14171338 RMD160 94189899f78ee597246a6253fd129ff45f948b4f SHA1 2a248ccdd7362151d85010cb1ba1d0c20542adc6 SHA256 e84d011a0768dd188783541a4cd6dc103ff890f46cde27390d8a42f6ad7572c6
DIST gnubg.weights-0.14.gz 460747 RMD160 5d588b1145f0d0489b5d70fa6cfccd9ce6738f04 SHA1 e828006193629063460b032f9a7da9761fdbc085 SHA256 6c134ded36d0875cb673a4f9fd84e2d30424935951baeffcd94852ccdb2daf70
DIST gnubg_os0.bd.gz 906720 RMD160 83fefa3c39544ca9a51f1ba7ae5e8bd5215e631c SHA1 d038a338ee2998d8a61d90b89478eeac3ad464c8 SHA256 e84a36f133ee7ea9fa3686af6c111088b8b43906db1b6c6b3db0035c84cda809
DIST gnubg_ts0.bd.gz 5899380 RMD160 9e0bea798a53374061014226aca9f5d2063133e8 SHA1 b7c4c18dfc2f3be6cd884444bdf523c8aef6ce41 SHA256 0934e4f2d84f5cd50c2ff4592c93c49d43f7cb89da342600736849c7362626d5
EBUILD gnubg-0.14.3-r1.ebuild 2976 RMD160 9f33b67a824228a4e0525efa9ef63a22df6df417 SHA1 e241fd9c82e26fc4f8fe38714dd86a1d8fd8944d SHA256 6df2b547792c6144289f95054583d712c2a82de709ab6abca944eb1fd23ac0bf
-MISC ChangeLog 5615 RMD160 bb73420570d10f2ca69d2dd80fae7bd0e3d605d2 SHA1 320b37655d26bab92ce032d9e6d2f31a3115f1e9 SHA256 02f8d70ca486860ebd370b47f1ec649bacb460ce55d765aa191dd304bf79ee80
+EBUILD gnubg-20090817.ebuild 1651 RMD160 86f6ce6358b6eb115028f98637837f95713f6774 SHA1 4daf79d5942c2337c947d4a3542304d9b0838854 SHA256 a8b191294d07a7eee7d99d9fc912537f92fb2ed26f00d951c94da8b2e165b2e9
+MISC ChangeLog 5853 RMD160 cbaf637ee1fd07bab50349c4e1f3b376d8ecd573 SHA1 5875938230d8913531b36852e9a73ddd68e9b58d SHA256 ef43894956c3f80b9c921198be562c9f41bfd290dc2207e7277915cf675450d8
MISC metadata.xml 251 RMD160 f77a8fea97ab2a02ef2d9bf1cc7b390c5c19e6cb SHA1 8134d1f2611a2e4387a89e84580a2cb5c25f5649 SHA256 34f41062e84f1e12c08550faffc97632a2432df3579520cec76dbe8b08fb9cfe
diff --git a/games-board/gnubg/files/gnubg-20090817-build.patch b/games-board/gnubg/files/gnubg-20090817-build.patch
new file mode 100644
index 000000000000..089d23597cde
--- /dev/null
+++ b/games-board/gnubg/files/gnubg-20090817-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-20090817.ebuild b/games-board/gnubg/gnubg-20090817.ebuild
new file mode 100644
index 000000000000..071c135ac924
--- /dev/null
+++ b/games-board/gnubg/gnubg-20090817.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20090817.ebuild,v 1.1 2009/08/20 06:44:36 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils 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 ~sparc ~x86 ~x86-fbsd"
+IUSE="gtk opengl python threads"
+
+RDEPEND="dev-libs/glib:2
+ media-libs/libpng
+ dev-libs/libxml2
+ media-libs/freetype:2
+ media-libs/libcanberra
+ gtk? (
+ x11-libs/gtk+:2
+ x11-libs/cairo
+ x11-libs/pango
+ opengl? (
+ 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}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ 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
+}