diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/pokerth/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/pokerth/Manifest | 4 | ||||
-rw-r--r-- | games-board/pokerth/pokerth-0.8.2.ebuild | 76 |
3 files changed, 87 insertions, 3 deletions
diff --git a/games-board/pokerth/ChangeLog b/games-board/pokerth/ChangeLog index 062de1e77c35..ebe0ca832c8c 100644 --- a/games-board/pokerth/ChangeLog +++ b/games-board/pokerth/ChangeLog @@ -1,6 +1,12 @@ # 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.21 2010/12/09 22:19:33 tomka Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.22 2011/01/10 21:29:34 mr_bones_ Exp $ + +*pokerth-0.8.2 (10 Jan 2011) + + 10 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org> + +pokerth-0.8.2.ebuild: + version bump 09 Dec 2010; Thomas Kahle <tomka@gentoo.org> pokerth-0.8.1.ebuild: x86 stable per bug 347089 diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest index a69ba8c8a9bf..c03d1502d320 100644 --- a/games-board/pokerth/Manifest +++ b/games-board/pokerth/Manifest @@ -1,4 +1,6 @@ DIST PokerTH-0.8.1-src.tar.bz2 7080728 RMD160 4688ff9d8237c921215e837a633022f9fb7cab83 SHA1 f698fa0ebeed4b027a719d7887e9b7ed37c2e441 SHA256 d2b6f8bf0cc9b6e5348aa4d6d5e59b3b17465a0f1a822341fd4417c2a5db1240 +DIST PokerTH-0.8.2-src.tar.bz2 6945873 RMD160 11fae15cb12ac8d94e4d4e4939f543723ea15318 SHA1 96a33b5e22a9ce32e713232cca6796390a65b471 SHA256 9c2f01fa67bd86303dfe45c175d4784bb31539fc7e56ef1a7a8f6e06db9ffff8 EBUILD pokerth-0.8.1.ebuild 1810 RMD160 7f109f1da19b353bea7970c1b96abf54996cebef SHA1 4b2975dd37ee8a8fad7d935ea761c1f02bc1ed93 SHA256 b92da499e31e76a8578502c89e48f7bfaa6c9f3ef5368cbe497f4f92cffc211a -MISC ChangeLog 2816 RMD160 2e59961383b7f66ff129928ae28efd681936da1f SHA1 e0649385b213293effe5b181b7fecbdab32dc135 SHA256 3f67fc1121d7c35caf100f3f031620d0bda782ba3e4f9dd58abcd338321888bf +EBUILD pokerth-0.8.2.ebuild 1816 RMD160 9f461d3353c3ca8fa6e04e59e6b5b1951b775d9b SHA1 e588f0cc4ad491127acaff65339cfd82551882c6 SHA256 8a8b96e5881009d0f3f0095f7c08acb77893638136f9f901978438f1fc941441 +MISC ChangeLog 2946 RMD160 525f44b2df33f5c0714cd8eaff5276ff4d22e1da SHA1 de308f9d11443769b62f7e91e150da8ecb3a1a34 SHA256 fb78bdb4d10d3798cdef41c596eb47970555bff1f7c3b5612af44de66ed8e019 MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d diff --git a/games-board/pokerth/pokerth-0.8.2.ebuild b/games-board/pokerth/pokerth-0.8.2.ebuild new file mode 100644 index 000000000000..e5afa78ca034 --- /dev/null +++ b/games-board/pokerth/pokerth-0.8.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.8.2.ebuild,v 1.1 2011/01/10 21:29:34 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-1.1 + !dedicated? ( + media-libs/libsdl + media-libs/sdl-mixer[mikmod,vorbis] + >=sys-libs/zlib-1.2.3 + x11-libs/qt-gui:4 + x11-libs/qt-sql: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 +} |