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

Collapse All | Expand All

(-)/usr/portage/games-strategy/warzone2100/warzone2100-2.0.10.ebuild (-11 / +4 lines)
Lines 11-19 Link Here
11
11
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~ppc ~x86"
14
KEYWORDS="~ppc ~ppc64 ~x86 ~amd64"
15
# upstream requested debug support
15
# upstream requested debug support
16
IUSE="debug mp3"
16
IUSE="debug"
17
17
18
RDEPEND="dev-games/physfs
18
RDEPEND="dev-games/physfs
19
	media-libs/jpeg
19
	media-libs/jpeg
Lines 25-40 Link Here
25
	media-libs/sdl-net
25
	media-libs/sdl-net
26
	virtual/glu
26
	virtual/glu
27
	virtual/opengl
27
	virtual/opengl
28
	mp3? ( media-libs/libmad )"
28
	media-libs/quesoglc
29
	media-libs/libmad"
29
DEPEND="${RDEPEND}
30
DEPEND="${RDEPEND}
30
	app-arch/zip"
31
	app-arch/zip"
31
32
32
src_unpack() {
33
	unpack ${A}
34
	cd "${S}"
35
	sed -i '/^dist_doc_DATA/s:COPYING.*$:TODO:' Makefile.in || die "sed failed"
36
}
37
38
src_compile() {
33
src_compile() {
39
	egamesconf \
34
	egamesconf \
40
		--disable-dependency-tracking \
35
		--disable-dependency-tracking \
Lines 44-51 Link Here
44
		--with-applicationdir=/usr/share/applications \
39
		--with-applicationdir=/usr/share/applications \
45
		--with-ogg=/usr \
40
		--with-ogg=/usr \
46
		--with-vorbis=/usr \
41
		--with-vorbis=/usr \
47
		--enable-ogg \
48
		$(use_enable mp3) \
49
		$(use_enable debug) \
42
		$(use_enable debug) \
50
		|| die
43
		|| die
51
	emake || die "emake failed"
44
	emake || die "emake failed"

Return to bug 211892