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

Collapse All | Expand All

(-)file_not_specified_in_diff (-19 / +16 lines)
Line  Link Here
0
-- spectemu-0.99.3.ebuild
0
++ spectemu-0.99.3-r1.ebuild
Lines 2-13 Link Here
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/spectemu/spectemu-0.99.3.ebuild,v 1.13 2009/03/03 20:37:38 flameeyes Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.99.3.ebuild,v 1.13 2009/03/03 20:37:38 flameeyes Exp $
4
4
5
### Several versions of specemu exist,  xspect & vgaspect, utilising X11
5
EAPI=4
6
### and/or svgalib. libreadline provides optional runtime features.
7
### The ./configure script automagically figures out which binaries to build
8
### so the run/compiletime dependancies here are use dependant
9
6
10
inherit eutils
7
inherit autotools eutils
11
8
12
DESCRIPTION="48k ZX Spectrum Emulator"
9
DESCRIPTION="48k ZX Spectrum Emulator"
13
HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html"
10
HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html"
Lines 15-22 Link Here
15
12
16
LICENSE="GPL-2"
13
LICENSE="GPL-2"
17
SLOT="0"
14
SLOT="0"
18
KEYWORDS="amd64 ppc x86"
15
KEYWORDS="~amd64 ~ppc ~x86"
19
IUSE="X readline svga"
16
IUSE="readline svga +X"
17
18
REQUIRED_USE="|| ( svga X )"
20
19
21
DEPEND="X? ( >=x11-proto/xf86vidmodeproto-2.2.2
20
DEPEND="X? ( >=x11-proto/xf86vidmodeproto-2.2.2
22
		>=x11-proto/xextproto-7.0.2
21
		>=x11-proto/xextproto-7.0.2
Lines 25-48 Link Here
25
		>=x11-libs/libXext-1.0.0
24
		>=x11-libs/libXext-1.0.0
26
		>=x11-libs/libXxf86vm-1.0.0 )
25
		>=x11-libs/libXxf86vm-1.0.0 )
27
	readline? ( sys-libs/readline )"
26
	readline? ( sys-libs/readline )"
28
RDEPEND="svga? ( media-libs/svgalib )"
27
RDEPEND="${DEPEND}
28
	svga? ( media-libs/svgalib )"
29
29
30
src_unpack() {
30
src_prepare() {
31
	unpack ${A}
31
	epatch "${FILESDIR}"/${P}-automagic.patch
32
	cd "${S}"
32
	epatch "${FILESDIR}"/${P}-build.patch
33
	epatch "${FILESDIR}"/${P}-qa.patch
33
	eautoreconf
34
}
34
}
35
35
36
src_compile() {
36
src_configure() {
37
	econf \
37
	econf \
38
		$(use_with readline) \
38
		$(use_with readline) \
39
		$(use_with svga) \
39
		$(use_with X x)
40
		$(use_with X x)
40
	emake CC="$(tc-getCC)" \
41
		CPP="$(tc-getCPP)" \
42
		|| die "emake failed"
43
}
41
}
44
42
45
src_install() {
43
src_install() {
46
	# Parallel install bug #255777
44
	emake install_root="${D}" install
47
	emake -j1 install_root="${D}" install || die "emake install failed"
48
}
45
}

Return to bug 255777