Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/capitalism: ChangeLog capitalism-0.2.ebuild
Date: Sun, 27 Dec 2009 17:04:07
Message-Id: E1NOwXE-0000wK-7n@stork.gentoo.org
1 ssuominen 09/12/27 17:04:04
2
3 Modified: ChangeLog
4 Added: capitalism-0.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 games-board/capitalism/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/capitalism/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/capitalism/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/capitalism/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 24 Dec 2009 16:16:14 -0000 1.3
23 +++ ChangeLog 27 Dec 2009 17:04:03 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-board/capitalism
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v 1.3 2009/12/24 16:16:14 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/ChangeLog,v 1.4 2009/12/27 17:04:03 ssuominen Exp $
29 +
30 +*capitalism-0.2 (27 Dec 2009)
31 +
32 + 27 Dec 2009; Samuli Suominen <ssuominen@g.o>
33 + +capitalism-0.2.ebuild:
34 + Version bump.
35
36 24 Dec 2009; Pacho Ramos <pacho@g.o> capitalism-0.1.ebuild:
37 amd64 stable, bug 295904
38
39
40
41 1.1 games-board/capitalism/capitalism-0.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/capitalism/capitalism-0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/capitalism/capitalism-0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: capitalism-0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-board/capitalism/capitalism-0.2.ebuild,v 1.1 2009/12/27 17:04:03 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils gnome2-utils qt4 games
54
55 MY_PN=${PN/c/C}
56
57 DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games"
58 HOMEPAGE="http://www.qt-apps.org/content/show.php/Capitalism?content=113173"
59 SRC_URI="http://www.qt-apps.org/CONTENT/content-files/113173-${P}.tbz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 DEPEND="x11-libs/qt-gui:4"
67
68 S=${WORKDIR}/${MY_PN}-${PV}
69
70 pkg_setup() {
71 games_pkg_setup
72 qt4_pkg_setup
73 }
74
75 src_configure() {
76 eqmake4 ${MY_PN}.pro
77 }
78
79 src_install() {
80 dogamesbin ${MY_PN} || die
81 dodoc changelog readme.txt
82
83 local res
84 for res in 16 22 24 32 48 64; do
85 insinto /usr/share/icons/hicolor/${res}x${res}/apps
86 newins icons/${res}x${res}.png ${PN}.png
87 done
88
89 make_desktop_entry ${MY_PN} ${MY_PN}
90 prepgamesdirs
91 }
92
93 pkg_preinst() {
94 games_pkg_preinst
95 gnome2_icon_savelist
96 }
97
98 pkg_postinst() {
99 games_pkg_postinst
100 gnome2_icon_cache_update
101 }
102
103 pkg_postrm() {
104 gnome2_icon_cache_update
105 }