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