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

Collapse All | Expand All

(-)/usr/portage/games-strategy/attal/attal-0.9.4.ebuild (-6 / +5 lines)
Lines 12-27 Link Here
12
12
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~ppc ~x86"
15
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE=""
16
IUSE=""
17
17
18
DEPEND="=x11-libs/qt-3*"
18
DEPEND="=x11-libs/qt-4*"
19
19
20
S=${WORKDIR}/${MY_P}
20
S=${WORKDIR}/${MY_P}
21
21
22
src_unpack() {
22
src_unpack() {
23
	unpack ${A}
23
	unpack ${A}
24
	cd "${S}"
24
	cd "${S}"
25
	mv ../themes .
25
	epatch "${FILESDIR}/${P}"-gcc41.patch
26
	epatch "${FILESDIR}/${P}"-gcc41.patch
26
	sed -i \
27
	sed -i \
27
		-e "s:\"\./:\"${GAMES_BINDIR}/:" \
28
		-e "s:\"\./:\"${GAMES_BINDIR}/:" \
Lines 41-49 Link Here
41
}
42
}
42
43
43
src_compile() {
44
src_compile() {
44
	# broken deps in the makefiles ...
45
	./autogen.sh
45
	emake sub-libCommon || die "emake sub-libCommon failed"
46
	emake sub-{libFight,libClient,libServer} || die "emake libs failed"
47
	emake || die "emake failed"
46
	emake || die "emake failed"
48
}
47
}
49
48
Lines 54-60 Link Here
54
	insinto "${GAMES_DATADIR}"/${PN}
53
	insinto "${GAMES_DATADIR}"/${PN}
55
	doins HOWTOPLAY.html
54
	doins HOWTOPLAY.html
56
	insinto "${GAMES_DATADIR}"/${PN}
55
	insinto "${GAMES_DATADIR}"/${PN}
57
	doins -r "${WORKDIR}"/themes/ || die "doins themes failed"
56
	doins -r themes || die "doins themes failed"
58
	dodoc AUTHORS NEWS README TODO
57
	dodoc AUTHORS NEWS README TODO
59
	prepgamesdirs
58
	prepgamesdirs
60
}
59
}

Return to bug 135667