summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-12-03 12:58:19 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-12-03 12:58:19 +0000
commit836914f5436a55c82499960950d8a7ebf365ac01 (patch)
tree3c950443148eb72b0dd0ebde831364e9d4cbc21d /games-board
parentResovle anitmated gif rendering when using cairo-1.10.0, bug #337813 (diff)
downloadgentoo-2-836914f5436a55c82499960950d8a7ebf365ac01.tar.gz
gentoo-2-836914f5436a55c82499960950d8a7ebf365ac01.tar.bz2
gentoo-2-836914f5436a55c82499960950d8a7ebf365ac01.zip
Version bump to 0.5.1 Bug #306013
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/capitalism/ChangeLog8
-rw-r--r--games-board/capitalism/capitalism-0.5.1.ebuild57
-rw-r--r--games-board/capitalism/files/capitalism-0.5.1-qt47.patch17
3 files changed, 81 insertions, 1 deletions
diff --git a/games-board/capitalism/ChangeLog b/games-board/capitalism/ChangeLog
index f24c39358f65..5378cdbb472e 100644
--- a/games-board/capitalism/ChangeLog
+++ b/games-board/capitalism/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/capitalism
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v 1.7 2010/11/30 21:13:20 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v 1.8 2010/12/03 12:58:19 tupone Exp $
+
+*capitalism-0.5.1 (03 Dec 2010)
+
+ 03 Dec 2010; Tupone Alfredo <tupone@gentoo.org> +capitalism-0.5.1.ebuild,
+ +files/capitalism-0.5.1-qt47.patch:
+ Version bump to 0.5.1 Bug #306013 by hitachi
30 Nov 2010; Markus Meier <maekke@gentoo.org> capitalism-0.2-r1.ebuild:
x86 stable, bug #347203
diff --git a/games-board/capitalism/capitalism-0.5.1.ebuild b/games-board/capitalism/capitalism-0.5.1.ebuild
new file mode 100644
index 000000000000..da65d89497b7
--- /dev/null
+++ b/games-board/capitalism/capitalism-0.5.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/capitalism-0.5.1.ebuild,v 1.1 2010/12/03 12:58:19 tupone Exp $
+
+EAPI=2
+inherit eutils gnome2-utils qt4-r2 games
+
+MY_PN=${PN/c/C}
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games"
+HOMEPAGE="http://www.linux-ecke.de/Capitalism/"
+SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN}/0.5/${PN}_${PV}.tbz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-qt47.patch )
+
+src_configure() {
+ qt4-r2_src_configure
+}
+
+src_install() {
+ dogamesbin ${MY_PN} || die
+ dodoc changelog readme.txt
+
+ local res
+ for res in 16 22 24 32 48 64; do
+ insinto /usr/share/icons/hicolor/${res}x${res}/apps
+ newins icons/${res}x${res}.png ${PN}.png
+ done
+
+ make_desktop_entry ${MY_PN} ${MY_PN}
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-board/capitalism/files/capitalism-0.5.1-qt47.patch b/games-board/capitalism/files/capitalism-0.5.1-qt47.patch
new file mode 100644
index 000000000000..6cc7ca626200
--- /dev/null
+++ b/games-board/capitalism/files/capitalism-0.5.1-qt47.patch
@@ -0,0 +1,17 @@
+--- src/Capic/Gui/capiclientplayer.cpp.old 2010-12-03 12:13:25.000000000 +0100
++++ src/Capic/Gui/capiclientplayer.cpp 2010-12-03 12:14:35.000000000 +0100
+@@ -20,12 +20,12 @@
+ CapiClientPlayer::CapiClientPlayer(int id) : QObject(0), CapiPlayer(id) {
+ playerWidget = new PlayerInfo(0, 32);
+ playerWidget->setName(getName());
+- playerWidget->setMoney(QString(0));
++ playerWidget->setMoney(QString());
+ playerWidget->setAvatar(getAvatar());
+
+ auction = new PlayerAuction();
+ auction->setName(getName());
+- auction->setMoney(QString(0));
++ auction->setMoney(QString());
+ auction->setAvatar(getAvatar());
+
+ playerWidget->playerId = getId();