summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-07 17:45:38 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-07 17:45:38 +0000
commit98f556e970d80a29da21a4dd8b72f590f32637dd (patch)
tree7f88b3849227a93139bf6f1c76535270205d67a6 /games-board/gnubg
parentFixed for parallel compiling when mpi flag is set (diff)
downloadhistorical-98f556e970d80a29da21a4dd8b72f590f32637dd.tar.gz
historical-98f556e970d80a29da21a4dd8b72f590f32637dd.tar.bz2
historical-98f556e970d80a29da21a4dd8b72f590f32637dd.zip
migrate to python-single-r1, version bump
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog8
-rw-r--r--games-board/gnubg/Manifest19
-rw-r--r--games-board/gnubg/files/gnubg-20130203-build.patch36
-rw-r--r--games-board/gnubg/gnubg-20130203.ebuild93
4 files changed, 154 insertions, 2 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index 663b39012cba..45e9b4d9172a 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/gnubg
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.69 2013/01/24 19:31:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.70 2013/02/07 17:45:32 hasufell Exp $
+
+*gnubg-20130203 (07 Feb 2013)
+
+ 07 Feb 2013; Julian Ospald <hasufell@gentoo.org> +gnubg-20130203.ebuild,
+ +files/gnubg-20130203-build.patch:
+ migrate to python-single-r1, version bump
24 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
-files/gnubg-20101126-build.patch, -files/gnubg-20120806-build.patch,
diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest
index c22bb24f2684..01d46be4acfc 100644
--- a/games-board/gnubg/Manifest
+++ b/games-board/gnubg/Manifest
@@ -1,5 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX gnubg-20121201-build.patch 1738 SHA256 008204aaaf5924eba43cfea8ead1a60270a341a1251edf327c866d597d6f04e8 SHA512 a1aed4593122819574e70bdd790be2b39c23412f4ffb0b62cb9c093766c8cd863258010cedf5280cca2bce530ca0c933e56139af68f810f143519a49d27d50d4 WHIRLPOOL 1b62f7f1fae9d779cbf62a6e67cc478b2906f921a8cc242e8cdd2395c0d67538cec5d651d4aa32aae37d3eaf93fd4fcbaa22f4177dcdd23754d52792047da39b
+AUX gnubg-20130203-build.patch 1738 SHA256 008204aaaf5924eba43cfea8ead1a60270a341a1251edf327c866d597d6f04e8 SHA512 a1aed4593122819574e70bdd790be2b39c23412f4ffb0b62cb9c093766c8cd863258010cedf5280cca2bce530ca0c933e56139af68f810f143519a49d27d50d4 WHIRLPOOL 1b62f7f1fae9d779cbf62a6e67cc478b2906f921a8cc242e8cdd2395c0d67538cec5d651d4aa32aae37d3eaf93fd4fcbaa22f4177dcdd23754d52792047da39b
DIST gnubg-source-SNAPSHOT-20121201.tar.gz 14335122 SHA256 3d01ca90e0cd0d99d69378519e5d9e5c753aff831eb642f459b0bb21d66f9b5d SHA512 ef0b84c97b07763ef4bc7b0a18a0ea98662f2869a8395345e9db4b1da83830a113d4e7b74fd0b32394c6bc3b93a2f0682d3c195554593670bacb5ec8f58b5d04 WHIRLPOOL 819352dcc786181b86d37054639d2585f9fac24f28d6314fc1d7d7d61f278c3a491bab3c6551d5105829ba70297d700d3f5901d5d3e808649b4e7d0b07567ff4
+DIST gnubg-source-SNAPSHOT-20130203.tar.gz 14336279 SHA256 b996e742f06995de097f7658a20a51f5f6c23ba3cb7d88ca3b2a211b272674d9 SHA512 3f559d9bbaa225671b35d3bea7b1373d4297226adeb43acf95b4898ee51c747564fd4365c7b371098e58653cba15361c32cfb99b0804a1991bf195679295ea65 WHIRLPOOL 5882efff6e1a244271ca09a63923c74222ed4111a48f2e312bc9b40f0e518615642e88cd645a9f312186088b7baa91a3261c4422be90e9e2932af99696a61f85
EBUILD gnubg-20121201.ebuild 2255 SHA256 88a7a3be4d5e50da78248e4326be09660368efa1840fa1ee8be819824099db4b SHA512 e79f20e0927d79b109b81eea0453b01b1e65e7cf709e9e274402e2fb3fc2d71ec474d5cdf63d75b4d465493187c0c055cf486be7595f4f83e2071e4f5f093497 WHIRLPOOL bf492689b43fb47260978fd66979dc73421fd2130456c869dab6c8069d97b313af68a66db4864640774c0da714d67b81f21b95da8e71409756ddaf64baff1a5e
-MISC ChangeLog 9305 SHA256 50b3f13ee6ba76dc55a7f77cfd5049338e4bf4565f3576a4a1ea8e61385b6230 SHA512 06d3045e503384dcbdf77c3cd830ceb6fe39b97ff8892a2c1b9816fa38ba8739dea72c048fab773e3bc11a519aa1f7ec90b5487c8d4f9aefb7a647997a87b318 WHIRLPOOL c761d16f3020203c57b3bc320a28e7a59a5b9e6ecc57c2e1d05923d25c0ab9ece89fc6fb6eb50d85f2d70de8eb717d516d4c9776aca475925fda31ebfea9ec51
+EBUILD gnubg-20130203.ebuild 2157 SHA256 8d2d57e6dbdb20e0d92ffdfd0b996c98de0f7fbadeaec98c93f5275bd2f51c4c SHA512 00681a06401314d67095a64acf2c1ee9971a9aa811ab05c354e907c5835a339d7b7a1b791caa1ae636780ca2c4db0d3aa65baa0904411715f3d3626b5c58414f WHIRLPOOL 8082b594b8da32c3f0fd38d8a5f7b450fb72bb3945a1efb6d5790a9d527202fa1ea71f6686305d976cd797911987d355ad49957c9c758b1e2df6801806645caa
+MISC ChangeLog 9492 SHA256 430d41f9f3c3c47435f19ab20668dba8de492d245aafbfacc14ffd2493969a99 SHA512 9d8d23a76ba2ff9a0a92b9ee24c573ac7df08e33f7f6cf1b01d4969ed90abf0816c7b4e5197b9007967b50e78c5375f4d5a1a8c52e4ecc878ff6d4394eb5d074 WHIRLPOOL b7f1a4ae257ceca92402bb8b3b236bffc7764fbe0a92f7442b969a68281c0773e48ffe94c10154545b640fedc28ca1505ec2047e8907babef25bbd86df6de32f
MISC metadata.xml 251 SHA256 34f41062e84f1e12c08550faffc97632a2432df3579520cec76dbe8b08fb9cfe SHA512 6aee7ba0f0c5615fd2e3bc3b7ee827dd12f469c157f21ce326a6ea15633169812c7ed54f1c24b515285eece0f09bef176944b4f7d9ab004120cc11afb9c45e42 WHIRLPOOL e5384ae4b6e662670512ab747fd5e62ddece6ab467cf991e044b8e421164419ed30597392ab62c1779158695ad35f00ab9921ef1e25fe8f5b540a8043adb90b3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRE+g/AAoJEFpvPKfnPDWzY0kH/jEccTEC5L85V9QHJyL0k+LE
+0dHUhf6yLQsC+JAW1pAmNmZJjsciA60x0UdMH0bmWVZF1wr3VGk/6CLuUpLvygRD
+Z27VqxX950Jpe1y8G4hMeCOMYpCALwwHwUc18JlwWvceG0KfyJsL7NCGde8Vcyed
+2vSIwTe7WU5zd3hUahICDxHyRsxbv8vzPrFvR82kWNGYjZ/2bfom9VB4NOW6GPSo
+lzOgdE4nFl+HmThK/VZuXKqsTpc96mFfxC0jQbs4eHy+lOVu3xnIn8ov3qyqsjJu
+sm9n41B2xyLA9RdHiiC+yvOrU3d11aCtmNRNzND3U8JtWm4z8JSP5iJQxHQA8DE=
+=F+8b
+-----END PGP SIGNATURE-----
diff --git a/games-board/gnubg/files/gnubg-20130203-build.patch b/games-board/gnubg/files/gnubg-20130203-build.patch
new file mode 100644
index 000000000000..2ada67ca7424
--- /dev/null
+++ b/games-board/gnubg/files/gnubg-20130203-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-20130203.ebuild b/games-board/gnubg/gnubg-20130203.ebuild
new file mode 100644
index 000000000000..18aafaeb8870
--- /dev/null
+++ b/games-board/gnubg/gnubg-20130203.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20130203.ebuild,v 1.1 2013/02/07 17:45:32 hasufell Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+inherit autotools eutils python-single-r1 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? ( ${PYTHON_DEPS} )
+ media-fonts/ttf-bitstream-vera
+ virtual/libintl
+ dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+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
+ eautoreconf
+ sed -i \
+ -e 's#^localedir =.*$#localedir = @localedir@#' \
+ -e 's#^gnulocaledir =.*$#gnulocaledir = @localedir@#' \
+ po/Makefile.in.in || die
+}
+
+src_configure() {
+ egamesconf \
+ --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() {
+ default
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins ${PN}.weights *bd
+ rm -rf "${D}${GAMES_DATADIR}/${PN}/fonts"
+ dosym /usr/share/fonts/ttf-bitstream-vera "${GAMES_DATADIR}"/${PN}/fonts
+ newicon -s 128 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
+}