summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-30 03:39:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-30 03:39:41 +0000
commita5400f30d24b0a34d0a136566d3024aeda3637fb (patch)
tree0f6516e3f15fc017b95e9bef02bebd6bfb41e9c7 /games-board/pokerth
parentVersion bump (bug #262575, thanks to Sergiy Borodych for reporting) and updat... (diff)
downloadhistorical-a5400f30d24b0a34d0a136566d3024aeda3637fb.tar.gz
historical-a5400f30d24b0a34d0a136566d3024aeda3637fb.tar.bz2
historical-a5400f30d24b0a34d0a136566d3024aeda3637fb.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-board/pokerth')
-rw-r--r--games-board/pokerth/ChangeLog7
-rw-r--r--games-board/pokerth/Manifest4
-rw-r--r--games-board/pokerth/pokerth-0.8.ebuild75
3 files changed, 84 insertions, 2 deletions
diff --git a/games-board/pokerth/ChangeLog b/games-board/pokerth/ChangeLog
index d1ea003d106a..1fd0022bda57 100644
--- a/games-board/pokerth/ChangeLog
+++ b/games-board/pokerth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/pokerth
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.15 2010/09/13 21:54:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.16 2010/09/30 03:39:41 mr_bones_ Exp $
+
+*pokerth-0.8 (30 Sep 2010)
+
+ 30 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> +pokerth-0.8.ebuild:
+ version bump
*pokerth-0.8_beta3 (13 Sep 2010)
diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest
index 80bf4f753969..bccb4362e33a 100644
--- a/games-board/pokerth/Manifest
+++ b/games-board/pokerth/Manifest
@@ -1,7 +1,9 @@
AUX pokerth-0.7.1-gcc45.patch 5908 RMD160 f786fbfaad22b44cf41c4fe9ff63de9661ea72ff SHA1 afb4e58419009f15c87a2851e1433e5376ae6f12 SHA256 0ce1f0d4c56a7e0af5eac208283f8df4f39cce2d29048957f24750d294cf78d4
DIST PokerTH-0.7.1-src.tar.bz2 6535050 RMD160 7aca895bb07bc83f977e9147217ad50eb7adfb8a SHA1 9c0c546355d7d248aeeee371d0354bfe90150a7b SHA256 97df0eeabd11e862b23e770e87053ceac245dd082f1516be1be9e4fcae882ece
DIST PokerTH-0.8-beta3-src.tar.bz2 7007802 RMD160 ebe78563451142d3879c17b65e6aafa961da2acb SHA1 fc4156342c6992656b86f84a5be02d592add9941 SHA256 7910897651424950c0c88f3207bdd4bb3a2464d4a5e6a7e06984c04619b6f232
+DIST PokerTH-0.8-src.tar.bz2 7075698 RMD160 9df53345acb238b57cd3f3b17dbee3e568e55b7c SHA1 6bcbf895b91134b9e7512372a479cf2b5d4e49ad SHA256 bbe35ce0db0dcc2c113638717ca4b9f85568328bf9db44a79a30f501ce890295
EBUILD pokerth-0.7.1.ebuild 1808 RMD160 0fac2fa25f841718d1903966f0644ad2ca051d4a SHA1 daa159a2e58233a194472f39cc1ad9d098a9d599 SHA256 58f7ee673c2cbd637d3a3e7fa4363df88f40d069be0819886ce91f60153213da
+EBUILD pokerth-0.8.ebuild 1788 RMD160 360821fbf0a24ed9fef1ba042b902b865f6a8650 SHA1 b9ceb5f07874f56f6c56a9e60286a82ed21265bd SHA256 21b11b0650b8f85b9e5c907d29b546dd9c186ea23786055ebce950efe1d74b41
EBUILD pokerth-0.8_beta3.ebuild 1794 RMD160 2206644757ccc5fd36d365f372667e16031f9bde SHA1 7821dac23a3592618d9ffefc6ad19a66bf55cca5 SHA256 a6ffb1cb7e799c28a9cd8a639dd005bfe08c36228bde5e6ebf9d446faf2a9f35
-MISC ChangeLog 2109 RMD160 7529f661d7420e01ec2a2e10d5c4b3bba6723977 SHA1 13a2efc55334172ae81e5a80debaa8f6b46c029f SHA256 ea99aa26c63bb057e1e973720c3ab1fe3a5e9c9ecba4cefc95e3c2fd8a8fcb19
+MISC ChangeLog 2229 RMD160 67349dbe9d40ab1a700c0352fd5c679cd426dda1 SHA1 14bd2b64395e1531e4ce25df4379efc0f4d989c6 SHA256 130fbb5ca44375327726614bf7048e0740a0050083f72a56277eb22997c197ef
MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d
diff --git a/games-board/pokerth/pokerth-0.8.ebuild b/games-board/pokerth/pokerth-0.8.ebuild
new file mode 100644
index 000000000000..8cceeec53025
--- /dev/null
+++ b/games-board/pokerth/pokerth-0.8.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.8.ebuild,v 1.1 2010/09/30 03:39:41 mr_bones_ Exp $
+
+EAPI=2
+inherit multilib flag-o-matic eutils qt4 games
+
+MY_P="PokerTH-${PV//_/-}-src"
+DESCRIPTION="Texas Hold'em poker game"
+HOMEPAGE="http://www.pokerth.net/"
+SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
+
+LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dedicated"
+
+DEPEND=">=dev-libs/boost-1.41
+ >=net-libs/gnutls-2.2.2
+ >=net-misc/curl-7.16
+ x11-libs/qt-core:4
+ virtual/gsasl
+ !dedicated? (
+ media-libs/libsdl
+ media-libs/sdl-mixer[mikmod,vorbis]
+ >=sys-libs/zlib-1.2.3
+ x11-libs/qt-gui:4
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ local boost_ver
+
+ if use dedicated ; then
+ sed -i \
+ -e 's/pokerth_game.pro//' \
+ pokerth.pro \
+ || die "sed failed"
+ fi
+ sed -i \
+ -e '/no_dead_strip_inits_and_terms/d' \
+ *pro \
+ || die 'sed failed'
+ local boost_ver=$(best_version ">=dev-libs/boost-1.39")
+
+ boost_ver=${boost_ver/*boost-/}
+ boost_ver=${boost_ver%.*}
+ boost_ver=${boost_ver/./_}
+
+ einfo "Using boost version ${boost_ver}"
+ append-cxxflags \
+ -I/usr/include/boost-${boost_ver}
+ append-ldflags \
+ -L/usr/$(get_libdir)/boost-${boost_ver}
+ export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}"
+ export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}"
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_install() {
+ dogamesbin bin/pokerth_server || die
+ if ! use dedicated ; then
+ dogamesbin ${PN} || die
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data || die
+ domenu ${PN}.desktop
+ doicon ${PN}.png
+ fi
+ dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt
+ prepgamesdirs
+}