summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-12-04 21:01:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-12-04 21:01:21 +0000
commit81c196d6a7a1417382a122fb8aee4a402eb4ca90 (patch)
tree209b3baeba43c7be19187658983847b7a57eb136 /games-board/gnubg
parentRevert previous commit as per bug #445926. (diff)
downloadhistorical-81c196d6a7a1417382a122fb8aee4a402eb4ca90.tar.gz
historical-81c196d6a7a1417382a122fb8aee4a402eb4ca90.tar.bz2
historical-81c196d6a7a1417382a122fb8aee4a402eb4ca90.zip
version bump
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog8
-rw-r--r--games-board/gnubg/Manifest5
-rw-r--r--games-board/gnubg/files/gnubg-20121201-build.patch36
-rw-r--r--games-board/gnubg/gnubg-20121201.ebuild97
4 files changed, 144 insertions, 2 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index f883a8853462..5531b811367f 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/gnubg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.63 2012/12/04 15:38:03 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.64 2012/12/04 21:01:16 mr_bones_ Exp $
+
+*gnubg-20121201 (04 Dec 2012)
+
+ 04 Dec 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gnubg-20121201-build.patch, +gnubg-20121201.ebuild:
+ version bump
04 Dec 2012; <ago@gentoo.org> gnubg-20120806.ebuild:
Stable for x86, wrt bug #442940
diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest
index ee370ae6951d..add1b2d1171f 100644
--- a/games-board/gnubg/Manifest
+++ b/games-board/gnubg/Manifest
@@ -1,8 +1,11 @@
AUX gnubg-20101126-build.patch 1856 SHA256 ea7b29f286a4fc0ba1e93b19cab43fb2dcdd0b1e0960fa9d10d54e1da6547b2f SHA512 fc1de06856ce5ffaa70df6c8f857c1a2e756b8401915dff5b49ad76205e42e2708cf234ae9248c1546cac3a760fbfe98b8775d551fc0fdd00f23884e8b28f449 WHIRLPOOL 6213fd32381036316e066be176522a1eaf0f983b435ed8a26e59cab59dec8691233ade59bcada8308739cffaeb09b9ac1d777fb93cb62d791210f7f562de67be
AUX gnubg-20120806-build.patch 1399 SHA256 5d291a5a1ac777fbd9a53e008ba641f3c47099bc80a3d0eb4db450a91694c3f0 SHA512 ece8240c8713cefb103a5c8654dc4deefcbbebed743277dcb71b2e955a39ae9b1b6ef17116af700a84629c90fb1731f8e953544c78cd381b129a15e6e8a2e968 WHIRLPOOL 8d5431a885a36a76064c1f33768b358ef062bdfffd6253dcf8391eb05e9b283b665fbfe600279155c557e807bad854e48e66232abb4317ff31df4dcb5858500b
+AUX gnubg-20121201-build.patch 1738 SHA256 008204aaaf5924eba43cfea8ead1a60270a341a1251edf327c866d597d6f04e8 SHA512 a1aed4593122819574e70bdd790be2b39c23412f4ffb0b62cb9c093766c8cd863258010cedf5280cca2bce530ca0c933e56139af68f810f143519a49d27d50d4 WHIRLPOOL 1b62f7f1fae9d779cbf62a6e67cc478b2906f921a8cc242e8cdd2395c0d67538cec5d651d4aa32aae37d3eaf93fd4fcbaa22f4177dcdd23754d52792047da39b
DIST gnubg-source-SNAPSHOT-20101126.tar.gz 14192800 SHA256 84936b5264d4789426370bd9d88e1920748a2c74ed700070310a68435b6933c7 SHA512 358b48ce9dc85893d5bb5dfc306d54eef1607cbf27e23a700f38c078340a7e74cda062b7467cbfcc4dc63bda1e42e7e39a597574848f868752f4f1c3ad39a58d WHIRLPOOL 8182f99cb2ab72c838fd377b6143f962fe7163f0c75e7b2e6789eacd899c4ccd87754914187a42b7a2e839aa15a6ecef82152bbb00797d49dad41be3280cf026
DIST gnubg-source-SNAPSHOT-20120806.tar.gz 14333498 SHA256 63dfefc80e4ff4ab3eb7866d42f90bef89ecca590bfeef82a2426a6ad90dd20d SHA512 b794b5b9f5cdc5a4c4e8caac12ed4be23c023ba6ba7f9a42757957659d95484e458959755f3e051daa6ceeeae7fec7c487b75b653bb341a15c816aa68291ed98 WHIRLPOOL 15aaba0c170c2a0b237379d6b177b69a2802b942092ee2a4e5533b3e05c912d764d2c03b7e6b6f8a517fbb2be7043207b55309aeb0987db959d30cbf9d48121d
+DIST gnubg-source-SNAPSHOT-20121201.tar.gz 14335122 SHA256 3d01ca90e0cd0d99d69378519e5d9e5c753aff831eb642f459b0bb21d66f9b5d SHA512 ef0b84c97b07763ef4bc7b0a18a0ea98662f2869a8395345e9db4b1da83830a113d4e7b74fd0b32394c6bc3b93a2f0682d3c195554593670bacb5ec8f58b5d04 WHIRLPOOL 819352dcc786181b86d37054639d2585f9fac24f28d6314fc1d7d7d61f278c3a491bab3c6551d5105829ba70297d700d3f5901d5d3e808649b4e7d0b07567ff4
EBUILD gnubg-20101126.ebuild 1943 SHA256 de4a4b7bc0505bf23cc1e768862bc2c0e752549a0c5f52f582d79d1577d2eafa SHA512 0096ee218800d3bfd2b146bd42e86aaea0995532406cc9f962280fe5223d3e7a78862f42eddaff75b3aa9bf7dc1afe60bdeb6500d04f54108a8a6d099b356d15 WHIRLPOOL 85006a74afc51412be8b2fa074d87339bca498b69cb4c031f012846abf99e60e48ecfe5f4d5310f79951085460bbd2b6198d48680a08000c76b629fbcacb883a
EBUILD gnubg-20120806.ebuild 2231 SHA256 9261cd2ad5d1a94508ce759fde594ff0b39688329dede238cbd20e0ebdc50cc8 SHA512 2fb5b4d9cee549056bc9bf725e67459d2db4ac04880f84338383830539e8201ce8e6af2600078690d758a67cb171f26e1a04ccafeff10511dc1f56f681ae7230 WHIRLPOOL 154f709fc19c689db8fae4e725122dccec8f5929e14c9384f1b3efab60e5b30c9be2473741d858378d2dfbcce02e514f54a69b8098dde5f4818c5624132c44ff
-MISC ChangeLog 8520 SHA256 afcbe87e8b7b32e97f689cf284e538ed82ffc172bdebfcfd280bfa2f54c13cbe SHA512 3b897bb13805ab39a0ab51e879b091cb174dd9ec73db5aabeaa5d4ff82ccd64605030d083b25e5419c1f2614ba8fea553b7a1e60005de9e729d9c6837c292f14 WHIRLPOOL 0996723beef81ea83aacddd1c14bbbab06234070f4a2e74511d33f98412ede50f00296d77554a47f6d60b8d501f39828125e0c2aec7a122f7eaa7cd8dbce0f09
+EBUILD gnubg-20121201.ebuild 2265 SHA256 128905096c8d156a9de0da189f194c94534c3d42ba9c663d419960e0fc06fd58 SHA512 d0435b1417c2478c5476e19a09fa1bed80d5b05b0d102d69376f5a85e445c784b8114a3af09003fa75c1d00503245d4aa55c14a353213dd4adc43a59cf3a9ec5 WHIRLPOOL 7411dcddbe35eaae4d7091da8742623f840f05b6f1084eb9b4bf2d0341b8998ccf8633b387ce53dbf30260a8a07177967195dfcd5e6a7f229dc4c8c3363b8195
+MISC ChangeLog 8689 SHA256 a6f5580744a929c4dbec23a6ce28c9cab390b694aa72e8095730fa1663e83988 SHA512 9c3336e11685b49223626f818b9f6f31c2976dca7e5fc7c46ad5a035d461ec5ec35eff4f8e99704914798f402cff80502c77743ca80bed01475ace238e559ae9 WHIRLPOOL 34bb075aa88e69031501b82ee7caec9a70b380030f7372041e227a4382f047208f62fbfd601d59ec7f99504e211d604e37d7dbaad6f4d233e9437a1584ad70fb
MISC metadata.xml 251 SHA256 34f41062e84f1e12c08550faffc97632a2432df3579520cec76dbe8b08fb9cfe SHA512 6aee7ba0f0c5615fd2e3bc3b7ee827dd12f469c157f21ce326a6ea15633169812c7ed54f1c24b515285eece0f09bef176944b4f7d9ab004120cc11afb9c45e42 WHIRLPOOL e5384ae4b6e662670512ab747fd5e62ddece6ab467cf991e044b8e421164419ed30597392ab62c1779158695ad35f00ab9921ef1e25fe8f5b540a8043adb90b3
diff --git a/games-board/gnubg/files/gnubg-20121201-build.patch b/games-board/gnubg/files/gnubg-20121201-build.patch
new file mode 100644
index 000000000000..2ada67ca7424
--- /dev/null
+++ b/games-board/gnubg/files/gnubg-20121201-build.patch
@@ -0,0 +1,36 @@
+diff -ru gnubg.orig/Makefile.am gnubg/Makefile.am
+--- gnubg.orig/Makefile.am 2012-10-08 22:40:06.000000000 -0400
++++ gnubg/Makefile.am 2012-12-04 15:39:12.871440413 -0500
+@@ -21,7 +21,7 @@
+ AM_CPPFLAGS += @PYTHON_INCLUDES@
+ endif
+
+-AM_CPPFLAGS += -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
++AM_CPPFLAGS += -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
+
+ OTHER_LIBS =
+ if WIN32
+diff -ru gnubg.orig/doc/Makefile.am gnubg/doc/Makefile.am
+--- gnubg.orig/doc/Makefile.am 2011-08-16 04:27:54.000000000 -0400
++++ gnubg/doc/Makefile.am 2012-12-04 15:39:58.373743258 -0500
+@@ -1,6 +1,6 @@
+-AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
+-gnubg_helpdir = $(datadir)/doc/gnubg/
+-gnubg_imagedir = $(datadir)/doc/gnubg/images
++AM_CPPFLAGS = -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(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 2012-10-07 22:40:05.000000000 -0400
++++ gnubg/pixmaps/Makefile.am 2012-12-04 15:40:37.812274970 -0500
+@@ -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 --git a/games-board/gnubg/gnubg-20121201.ebuild b/games-board/gnubg/gnubg-20121201.ebuild
new file mode 100644
index 000000000000..a1e7ef18900f
--- /dev/null
+++ b/games-board/gnubg/gnubg-20121201.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20121201.ebuild,v 1.1 2012/12/04 21:01:16 mr_bones_ Exp $
+
+EAPI=4
+PYTHON_DEPEND="python? 2"
+inherit autotools eutils python gnome2-utils 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:0
+ 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}
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ python_pkg_setup
+ games_pkg_setup
+ python_set_active_version 2
+}
+
+src_prepare() {
+ # use ${T} instead of /tmp for constructing credits (bug #298275)
+ sed -i -e 's:/tmp:${T}:' credits.sh || die
+ epatch "${FILESDIR}"/${P}-build.patch
+ python_convert_shebangs -r 2 python-config
+ eautoreconf
+ sed -i \
+ -e 's#^localedir =.*$#localedir = @localedir@#' \
+ -e 's#^gnulocaledir =.*$#gnulocaledir = @localedir@#' \
+ po/Makefile.in.in || die
+}
+
+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
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins ${PN}.weights *bd
+ dodoc AUTHORS README NEWS
+ rm -rf "${D}${GAMES_DATADIR}/${PN}/fonts"
+ 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
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}