Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 263580 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/games-board/pokerth/pokerth-0.6.3.ebuild (-7 / +10 lines)
Lines 5-36 Link Here
5
EAPI=2
5
EAPI=2
6
inherit eutils qt4 games
6
inherit eutils qt4 games
7
7
8
MY_P="PokerTH-${PV}-2-src"
8
MY_P="PokerTH-${PV}-src"
9
9
DESCRIPTION="Texas Hold'em poker game"
10
DESCRIPTION="Texas Hold'em poker game"
10
HOMEPAGE="http://www.pokerth.net/"
11
HOMEPAGE="http://www.pokerth.net/"
11
SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
12
SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
12
13
13
LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
14
LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
14
SLOT="0"
15
SLOT="0"
15
KEYWORDS="amd64 ~ppc x86"
16
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE="dedicated"
17
IUSE="dedicated"
17
18
18
DEPEND=">=dev-libs/boost-1.34.1
19
RDEPEND=">=dev-libs/boost-1.38
19
	>=net-libs/gnutls-2.2.2
20
	>=net-libs/gnutls-2.2.2
20
	>=net-misc/curl-7.16
21
	>=net-misc/curl-7.16
21
	!dedicated? (
22
	!dedicated? (
22
		media-libs/libsdl
23
		media-libs/libsdl
23
		media-libs/sdl-mixer[mikmod,vorbis]
24
		media-libs/sdl-mixer[mikmod,vorbis]
24
		>=sys-libs/zlib-1.2.3
25
		>=sys-libs/zlib-1.2.3
25
		|| ( x11-libs/qt-gui:4 x11-libs/qt:4 )
26
		>=x11-libs/qt-gui-4.4.3:4
26
	)"
27
	)"
28
DEPEND="${RDEPEND}
29
	>=x11-libs/qt-core-4.4.3:4"
27
30
28
S=${WORKDIR}/${MY_P}
31
S="${WORKDIR}"/${MY_P}
29
32
30
src_prepare() {
33
src_prepare() {
31
	if use dedicated ; then
34
	if use dedicated ; then
32
		sed -i \
35
		sed -i \
33
			-e 's/pokerth_game.pro//' \
36
			-e 's/pokerth_game\.pro//' \
34
			pokerth.pro \
37
			pokerth.pro \
35
			|| die "sed failed"
38
			|| die "sed failed"
36
	fi
39
	fi
Lines 49-54 Link Here
49
		domenu ${PN}.desktop
52
		domenu ${PN}.desktop
50
		doicon ${PN}.png
53
		doicon ${PN}.png
51
	fi
54
	fi
52
	dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt
55
	dodoc ChangeLog TODO docs/{gui_styling_howto,net_protocol,server_setup_howto}.txt
53
	prepgamesdirs
56
	prepgamesdirs
54
}
57
}

Return to bug 263580