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

Collapse All | Expand All

(-)/usr/portage/app-emulation/e-uae/e-uae-0.8.27.ebuild (-9 / +12 lines)
Lines 1-18 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 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/app-emulation/e-uae/e-uae-0.8.27.ebuild,v 1.3 2005/06/15 11:12:45 dholm Exp $
3
# $Header: $
4
4
5
inherit eutils flag-o-matic
5
inherit eutils flag-o-matic
6
6
7
DESCRIPTION="The Eggplant Umiquious Amiga Emulator"
7
DESCRIPTION="The Eggplant Ubiquitous Amiga Emulator"
8
HOMEPAGE="http://www.rcdrummond.net/uae/"
8
HOMEPAGE="http://www.rcdrummond.net/uae/"
9
SRC_URI="http://www.rcdrummond.net/uae/${P}/${P}.tar.bz2"
9
SRC_URI="http://www.rcdrummond.net/uae/${P}/${P}.tar.bz2"
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ppc ~x86"
13
KEYWORDS="~amd64 ~ppc ~x86"
14
IUSE="X gtk sdl ncurses svga"
14
IUSE="X gtk sdl ncurses svga"
15
15
16
RESTRICT="nomirror"
17
16
DEPEND="virtual/libc
18
DEPEND="virtual/libc
17
	X? (
19
	X? (
18
		virtual/x11
20
		virtual/x11
Lines 26-51 Link Here
26
	app-cdr/cdrtools
28
	app-cdr/cdrtools
27
	games-emulation/caps"
29
	games-emulation/caps"
28
30
31
#S="${WORKDIR}/${P}"
32
29
src_compile() {
33
src_compile() {
30
	# -O3 breaks compilation, GCC will eat all your RAM + Swap and die
31
	replace-flags "-O3" "-O2"
32
	use x86 && strip-flags "-msse" "-msse2"
33
	use ppc && strip-flags "-maltivec" "-mabi=altivec"
34
	use ppc && strip-flags "-maltivec" "-mabi=altivec"
34
	use sdl && myconf="--with-sdl-sound --with-sdl-gfx"
35
	use sdl && myconf="--with-sdl-sound --with-sdl-gfx"
35
36
36
	export WANT_AUTOMAKE=1.7
37
	export WANT_AUTOMAKE=1.7
37
	export WANT_AUTOCONF=2.5
38
	export WANT_AUTOCONF=2.5
39
38
	./bootstrap.sh || die "bootstrap failed"
40
	./bootstrap.sh || die "bootstrap failed"
41
39
	econf ${myconf} \
42
	econf ${myconf} \
40
		--enable-threads \
43
		--enable-threads \
41
		--enable-cdtv \
44
		--enable-cdtv \
42
		--enable-cd32 \
45
		--enable-cd32 \
43
		--enable-scsi-device \
46
		--enable-scsi-device \
44
		--enable-bsdsock \
47
		--enable-bsdsock-new \
45
		--with-libscg-includedir=/usr/include/scsilib \
48
		--with-libscg-includedir=/usr/include/scsilib \
46
		|| die "./configure failed"
49
		|| die "./configure failed"
47
50
48
	emake -j1 || die "emake failed"
51
	emake || die "emake failed"
49
}
52
}
50
53
51
src_install() {
54
src_install() {
Lines 57-63 Link Here
57
	insinto /usr/share/uae/amiga-tools
60
	insinto /usr/share/uae/amiga-tools
58
	doins amiga/{*hack,trans*,uae*,*.library}
61
	doins amiga/{*hack,trans*,uae*,*.library}
59
62
60
	# Rename it to e-uae
63
	# Rename executables, to prevent conflict with uae ebuild
61
	mv ${D}/usr/bin/uae ${D}/usr/bin/e-uae
64
	mv ${D}/usr/bin/uae ${D}/usr/bin/e-uae
62
	mv ${D}/usr/bin/readdisk ${D}/usr/bin/e-readdisk
65
	mv ${D}/usr/bin/readdisk ${D}/usr/bin/e-readdisk
63
	mv ${D}/usr/share/uae ${D}/usr/share/${PN}
66
	mv ${D}/usr/share/uae ${D}/usr/share/${PN}

Return to bug 103027