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

Collapse All | Expand All

(-)/usr/portage/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild (-11 / +7 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2007 Gentoo Foundation
1
# Copyright 1999-2007 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild,v 1.12 2007/03/12 13:12:29 genone Exp $
3
# $Header: $
4
4
5
inherit eutils games
5
inherit eutils games
6
6
Lines 11-17 Link Here
11
11
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="ppc sparc x86"
14
KEYWORDS="~amd64 ppc sparc x86"
15
IUSE=""
15
IUSE=""
16
16
17
RDEPEND=">=media-libs/libsdl-1.1.6"
17
RDEPEND=">=media-libs/libsdl-1.1.6"
Lines 29-39 Link Here
29
	cd ${DATA}
29
	cd ${DATA}
30
	unpack abuse_datafiles.tar.gz
30
	unpack abuse_datafiles.tar.gz
31
31
32
	# hard-coded path in the default config writer.
33
	cd ${S}
32
	cd ${S}
34
	sed -i \
33
	epatch ${FILESDIR}/abuse_sdl-0.7.0-debian.patch
35
		-e "s:/usr/local/share/games/abuse:${GAMES_DATADIR}/abuse:" \
34
	epatch ${FILESDIR}/abuse_sdl-0.7.0-exit-intro-crash.patch
36
			src/sdlport/setup.cpp || die "sed src/sdlport/setup.cpp failed"
35
	epatch ${FILESDIR}/abuse_sdl-0.7.0-fixes.patch
37
}
36
}
38
37
39
src_compile() {
38
src_compile() {
Lines 45-58 Link Here
45
	make DESTDIR=${D} install || die "make install failed"
44
	make DESTDIR=${D} install || die "make install failed"
46
	dodoc AUTHORS ChangeLog README TODO
45
	dodoc AUTHORS ChangeLog README TODO
47
46
47
	doicon abuse.png
48
	cd ${DATA}
48
	cd ${DATA}
49
	dodir ${GAMES_DATADIR}/abuse
49
	dodir ${GAMES_DATADIR}/abuse
50
	cp -R * ${D}/${GAMES_DATADIR}/abuse
50
	cp -R * ${D}/${GAMES_DATADIR}/abuse
51
51
	make_desktop_entry abuse.sdl "Abuse SDL" /usr/share/pixmaps/abuse.png
52
	#fix for #10573 + #11475 ... stupid hippy bug
53
	cd ${D}/${GAMES_DATADIR}/abuse
54
	epatch ${FILESDIR}/stupid-fix.patch
55
56
	prepgamesdirs
52
	prepgamesdirs
57
}
53
}
58
54

Return to bug 155617