Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137830
Collapse All | Expand All

(-)/usr/portage/games-emulation/pcsx/pcsx-1.5-r1.ebuild (-6 / +6 lines)
Lines 16-22 Link Here
16
16
17
DEPEND="sys-libs/zlib
17
DEPEND="sys-libs/zlib
18
	app-arch/unzip
18
	app-arch/unzip
19
	x11-libs/gtk+
19
	>=x11-libs/gtk+-2
20
	gnome-base/libglade"
20
	gnome-base/libglade"
21
RDEPEND="games-emulation/psemu-cdr
21
RDEPEND="games-emulation/psemu-cdr
22
	games-emulation/psemu-cdriso
22
	games-emulation/psemu-cdriso
Lines 30-40 Link Here
30
30
31
src_unpack() {
31
src_unpack() {
32
	unpack PcsxSrc-${PV}.tgz
32
	unpack PcsxSrc-${PV}.tgz
33
	cd ${S}
33
	cd "${S}"
34
34
35
	edos2unix `find -regex '.*\.[ch]'`
35
	edos2unix `find -regex '.*\.[ch]'`
36
36
37
	epatch ${FILESDIR}/${PV}-gentoo.patch \
37
	epatch "${FILESDIR}"/${PV}-gentoo.patch \
38
		"${FILESDIR}/${P}"-gcc41.patch
38
		"${FILESDIR}/${P}"-gcc41.patch
39
	sed -i \
39
	sed -i \
40
		-e "s:Plugin/:${GAMES_LIBDIR}/psemu/plugins/:" \
40
		-e "s:Plugin/:${GAMES_LIBDIR}/psemu/plugins/:" \
Lines 55-67 Link Here
55
src_compile() {
55
src_compile() {
56
	cd Linux
56
	cd Linux
57
	econf || die "econf failed"
57
	econf || die "econf failed"
58
	emake OPTIMIZE="${CFLAGS}" || die "emake failed"
58
	emake OPTIMIZE="${CFLAGS}" STRIP=ls || die "emake failed"
59
}
59
}
60
60
61
src_install() {
61
src_install() {
62
	newgamesbin Linux/pcsx pcsx.bin
62
	newgamesbin Linux/pcsx pcsx.bin
63
	dogamesbin ${FILESDIR}/pcsx
63
	dogamesbin "${FILESDIR}"/pcsx
64
	insinto ${GAMES_DATADIR}/${PN}
64
	insinto "${GAMES_DATADIR}"/${PN}
65
	doins Linux/.pixmaps/*
65
	doins Linux/.pixmaps/*
66
	dodoc Docs/*
66
	dodoc Docs/*
67
	prepgamesdirs
67
	prepgamesdirs

Return to bug 137830