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

(-)file_not_specified_in_diff (-6 / +14 lines)
Line  Link Here
0
-- games-strategy/boswars/boswars-2.7.ebuild
0
++ games-strategy/boswars/boswars-2.7-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/games-strategy/boswars/boswars-2.7.ebuild,v 1.1 2013/06/24 16:11:50 mr_bones_ Exp $
3
# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.7.ebuild,v 1.1 2013/06/24 16:11:50 mr_bones_ Exp $
4
4
5
EAPI=2
5
EAPI=5
6
inherit eutils scons-utils games
6
inherit eutils scons-utils games
7
7
8
DESCRIPTION="Futuristic real-time strategy game"
8
DESCRIPTION="Futuristic real-time strategy game"
9
HOMEPAGE="http://www.boswars.org/"
9
HOMEPAGE="http://www.boswars.org/"
10
SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
10
SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
11
	http://dev.gentoo.org/~hasufell/distfiles/${P}-fixed-images-for-libpng-1.6.tar.xz
11
	mirror://gentoo/bos.png"
12
	mirror://gentoo/bos.png"
12
13
13
LICENSE="GPL-2"
14
LICENSE="GPL-2"
Lines 15-21 Link Here
15
KEYWORDS="~amd64 ~ppc ~x86"
16
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE=""
17
IUSE=""
17
18
18
DEPEND="dev-lang/lua
19
RDEPEND="dev-lang/lua
19
	media-libs/libsdl[audio,video]
20
	media-libs/libsdl[audio,video]
20
	media-libs/libpng:0
21
	media-libs/libpng:0
21
	media-libs/libvorbis
22
	media-libs/libvorbis
Lines 23-30 Link Here
23
	media-libs/libogg
24
	media-libs/libogg
24
	virtual/opengl
25
	virtual/opengl
25
	x11-libs/libX11"
26
	x11-libs/libX11"
27
DEPEND="${RDEPEND}"
26
28
27
S=${WORKDIR}/${P}-src
29
S=${WORKDIR}/${P}-src
30
31
src_unpack() {
32
	default
33
	# bug 475764
34
	cp -dRp ${P}-fixed-images-for-libpng-1.6/* ${P}-src/ \
35
		|| die "copying fixed images failed!"
36
}
28
37
29
src_prepare() {
38
src_prepare() {
30
	rm -f doc/{README-SDL.txt,guichan-copyright.txt}
39
	rm -f doc/{README-SDL.txt,guichan-copyright.txt}
Lines 46-55 Link Here
46
}
55
}
47
56
48
src_install() {
57
src_install() {
49
	newgamesbin build/${PN}-release ${PN} || die
58
	newgamesbin build/${PN}-release ${PN}
50
	insinto "${GAMES_DATADIR}"/${PN}
59
	insinto "${GAMES_DATADIR}"/${PN}
51
	doins -r campaigns graphics intro languages maps patches scripts sounds units \
60
	doins -r campaigns graphics intro languages maps patches scripts sounds units
52
		|| die
53
	newicon "${DISTDIR}"/bos.png ${PN}.png
61
	newicon "${DISTDIR}"/bos.png ${PN}.png
54
	make_desktop_entry ${PN} "Bos Wars"
62
	make_desktop_entry ${PN} "Bos Wars"
55
	# COPYRIGHT.txt is referenced by the html
63
	# COPYRIGHT.txt is referenced by the html

Return to bug 475764