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