Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/pokerth: pokerth-0.7.1.ebuild pokerth-0.6.3.ebuild ChangeLog
Date: Fri, 17 Jul 2009 08:13:05
Message-Id: E1MRiYw-0008Na-8N@stork.gentoo.org
1 mr_bones_ 09/07/17 08:13:02
2
3 Modified: pokerth-0.6.3.ebuild ChangeLog
4 Added: pokerth-0.7.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.7 games-board/pokerth/pokerth-0.6.3.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild?r1=1.6&r2=1.7
15
16 Index: pokerth-0.6.3.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- pokerth-0.6.3.ebuild 11 Jun 2009 17:16:45 -0000 1.6
23 +++ pokerth-0.6.3.ebuild 17 Jul 2009 08:13:02 -0000 1.7
24 @@ -1,9 +1,9 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild,v 1.6 2009/06/11 17:16:45 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild,v 1.7 2009/07/17 08:13:02 mr_bones_ Exp $
29
30 EAPI=2
31 -inherit eutils qt4 games
32 +inherit multilib flag-o-matic eutils qt4 games
33
34 MY_P="PokerTH-${PV}-2-src"
35 DESCRIPTION="Texas Hold'em poker game"
36 @@ -31,19 +31,6 @@
37
38 S=${WORKDIR}/${MY_P}
39
40 -pkg_setup() {
41 - games_pkg_setup
42 - if has_version '>=dev-libs/boost-1.35.0-r5:0' ; then
43 - local boost_ver=$(f=$(eselect boost show | tail -n1); echo $f)
44 -
45 - if [[ "$boost_ver" != "boost-1_35" ]] ; then
46 - ewarn "${P} requires boost to be set to version 1_35"
47 - ewarn "use eselect to set boost to the required version"
48 - die "Incorrect boost version currently selected (currently $boost_ver)"
49 - fi
50 - fi
51 -}
52 -
53 src_prepare() {
54 if use dedicated ; then
55 sed -i \
56 @@ -55,6 +42,14 @@
57 -e '/no_dead_strip_inits_and_terms/d' \
58 *pro \
59 || die 'sed failed'
60 + append-cxxflags \
61 + -I/usr/include/boost-1_35 \
62 + -I/usr/include/boost-1_34 \
63 + -I/usr/include/boost-1_33
64 + append-ldflags \
65 + -L/usr/$(get_libdir)/boost-1_35 \
66 + -L/usr/$(get_libdir)/boost-1_34 \
67 + -L/usr/$(get_libdir)/boost-1_33
68 }
69
70 src_configure() {
71
72
73
74 1.7 games-board/pokerth/ChangeLog
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/ChangeLog?rev=1.7&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/ChangeLog?rev=1.7&content-type=text/plain
78 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/ChangeLog?r1=1.6&r2=1.7
79
80 Index: ChangeLog
81 ===================================================================
82 RCS file: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v
83 retrieving revision 1.6
84 retrieving revision 1.7
85 diff -u -r1.6 -r1.7
86 --- ChangeLog 11 Jun 2009 17:16:45 -0000 1.6
87 +++ ChangeLog 17 Jul 2009 08:13:02 -0000 1.7
88 @@ -1,6 +1,12 @@
89 # ChangeLog for games-board/pokerth
90 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
91 -# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.6 2009/06/11 17:16:45 mr_bones_ Exp $
92 +# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.7 2009/07/17 08:13:02 mr_bones_ Exp $
93 +
94 +*pokerth-0.7.1 (17 Jul 2009)
95 +
96 + 17 Jul 2009; Michael Sterrett <mr_bones_@g.o> pokerth-0.6.3.ebuild,
97 + +pokerth-0.7.1.ebuild:
98 + version bump
99
100 11 Jun 2009; Michael Sterrett <mr_bones_@g.o> pokerth-0.6.3.ebuild:
101 Add later slot 0 ebuild as well (bug #273726)
102
103
104
105 1.1 games-board/pokerth/pokerth-0.7.1.ebuild
106
107 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild?rev=1.1&view=markup
108 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild?rev=1.1&content-type=text/plain
109
110 Index: pokerth-0.7.1.ebuild
111 ===================================================================
112 # Copyright 1999-2009 Gentoo Foundation
113 # Distributed under the terms of the GNU General Public License v2
114 # $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild,v 1.1 2009/07/17 08:13:02 mr_bones_ Exp $
115
116 EAPI=2
117 inherit multilib flag-o-matic eutils qt4 games
118
119 MY_P="PokerTH-${PV}-src"
120 DESCRIPTION="Texas Hold'em poker game"
121 HOMEPAGE="http://www.pokerth.net/"
122 SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
123
124 LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
125 SLOT="0"
126 KEYWORDS="~amd64 ~ppc ~x86"
127 IUSE="dedicated"
128
129 DEPEND="dev-libs/boost:1.39
130 >=net-libs/gnutls-2.2.2
131 >=net-misc/curl-7.16
132 !dedicated? (
133 media-libs/libsdl
134 media-libs/sdl-mixer[mikmod,vorbis]
135 >=sys-libs/zlib-1.2.3
136 x11-libs/qt-gui:4
137 )"
138
139 S=${WORKDIR}/${MY_P}
140
141 src_prepare() {
142 if use dedicated ; then
143 sed -i \
144 -e 's/pokerth_game.pro//' \
145 pokerth.pro \
146 || die "sed failed"
147 fi
148 sed -i \
149 -e '/no_dead_strip_inits_and_terms/d' \
150 *pro \
151 || die 'sed failed'
152 append-cxxflags \
153 -I/usr/include/boost-1_39
154 append-ldflags \
155 -L/usr/$(get_libdir)/boost-1_39
156 }
157
158 src_configure() {
159 eqmake4
160 }
161
162 src_install() {
163 dogamesbin bin/pokerth_server || die
164 if ! use dedicated ; then
165 dogamesbin ${PN} || die
166 insinto "${GAMES_DATADIR}/${PN}"
167 doins -r data || die
168 domenu ${PN}.desktop
169 doicon ${PN}.png
170 fi
171 dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt
172 prepgamesdirs
173 }