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: ChangeLog pokerth-0.8.3.ebuild
Date: Sun, 23 Jan 2011 05:34:10
Message-Id: 20110123053357.8B33920054@flycatcher.gentoo.org
1 mr_bones_ 11/01/23 05:33:57
2
3 Modified: ChangeLog
4 Added: pokerth-0.8.3.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.24 games-board/pokerth/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pokerth/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pokerth/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pokerth/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 11 Jan 2011 22:30:58 -0000 1.23
24 +++ ChangeLog 23 Jan 2011 05:33:57 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-board/pokerth
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.23 2011/01/11 22:30:58 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.24 2011/01/23 05:33:57 mr_bones_ Exp $
30 +
31 +*pokerth-0.8.3 (23 Jan 2011)
32 +
33 + 23 Jan 2011; Michael Sterrett <mr_bones_@g.o>
34 + +pokerth-0.8.3.ebuild:
35 + version bump
36
37 11 Jan 2011; Brent Baude <ranger@g.o> pokerth-0.8.1.ebuild:
38 Marking pokerth-0.8.1 ppc for bug 347089
39
40
41
42 1.1 games-board/pokerth/pokerth-0.8.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pokerth/pokerth-0.8.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/pokerth/pokerth-0.8.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pokerth-0.8.3.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.8.3.ebuild,v 1.1 2011/01/23 05:33:57 mr_bones_ Exp $
52
53 EAPI=2
54 inherit multilib flag-o-matic eutils qt4 games
55
56 MY_P="PokerTH-${PV//_/-}-src"
57 DESCRIPTION="Texas Hold'em poker game"
58 HOMEPAGE="http://www.pokerth.net/"
59 SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
60
61 LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="dedicated"
65
66 DEPEND=">=dev-libs/boost-1.41
67 >=net-libs/gnutls-2.2.2
68 >=net-misc/curl-7.16
69 x11-libs/qt-core:4
70 >=virtual/gsasl-1.1
71 !dedicated? (
72 media-libs/libsdl
73 media-libs/sdl-mixer[mikmod,vorbis]
74 >=sys-libs/zlib-1.2.3
75 x11-libs/qt-gui:4
76 x11-libs/qt-sql:4
77 )"
78
79 S=${WORKDIR}/${MY_P}
80
81 src_prepare() {
82 local boost_ver
83
84 if use dedicated ; then
85 sed -i \
86 -e 's/pokerth_game.pro//' \
87 pokerth.pro \
88 || die "sed failed"
89 fi
90 sed -i \
91 -e '/no_dead_strip_inits_and_terms/d' \
92 *pro \
93 || die 'sed failed'
94 local boost_ver=$(best_version ">=dev-libs/boost-1.41")
95
96 boost_ver=${boost_ver/*boost-/}
97 boost_ver=${boost_ver%.*}
98 boost_ver=${boost_ver/./_}
99
100 einfo "Using boost version ${boost_ver}"
101 append-cxxflags \
102 -I/usr/include/boost-${boost_ver}
103 append-ldflags \
104 -L/usr/$(get_libdir)/boost-${boost_ver}
105 export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
106 export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
107 }
108
109 src_configure() {
110 eqmake4
111 }
112
113 src_install() {
114 dogamesbin bin/pokerth_server || die
115 if ! use dedicated ; then
116 dogamesbin ${PN} || die
117 insinto "${GAMES_DATADIR}/${PN}"
118 doins -r data || die
119 domenu ${PN}.desktop
120 doicon ${PN}.png
121 fi
122 dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt
123 prepgamesdirs
124 }