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
commitc7fc5a21f65869607e8bd899bbb82e600579d6a2 (patch)
treea87bcceecc4798b316c0e9548c3b4e9da07af14e /games-board/gnubg
parentVersion bump. (diff)
downloadgentoo-2-c7fc5a21f65869607e8bd899bbb82e600579d6a2.tar.gz
gentoo-2-c7fc5a21f65869607e8bd899bbb82e600579d6a2.tar.bz2
gentoo-2-c7fc5a21f65869607e8bd899bbb82e600579d6a2.zip
version bump to snapshot releases (bug #156953) - ebuild submitted by Marijn Schouten
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog9
-rw-r--r--games-board/gnubg/files/gnubg-20090817-build.patch53
-rw-r--r--games-board/gnubg/gnubg-20090817.ebuild67
3 files changed, 128 insertions, 1 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/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
+}