Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/boswars: ChangeLog boswars-2.7-r1.ebuild
Date: Mon, 29 Jul 2013 21:28:59
Message-Id: 20130729212856.346302171C@flycatcher.gentoo.org
1 hasufell 13/07/29 21:28:56
2
3 Modified: ChangeLog
4 Added: boswars-2.7-r1.ebuild
5 Log:
6 fix broken png images wrt #475764
7
8 (Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.22 games-strategy/boswars/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/boswars/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/boswars/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 24 Jun 2013 16:11:50 -0000 1.21
24 +++ ChangeLog 29 Jul 2013 21:28:56 -0000 1.22
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-strategy/boswars
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.21 2013/06/24 16:11:50 mr_bones_ Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.22 2013/07/29 21:28:56 hasufell Exp $
30 +
31 +*boswars-2.7-r1 (29 Jul 2013)
32 +
33 + 29 Jul 2013; Julian Ospald <hasufell@g.o> +boswars-2.7-r1.ebuild:
34 + fix broken png images wrt #475764
35
36 *boswars-2.7 (24 Jun 2013)
37
38
39
40
41 1.1 games-strategy/boswars/boswars-2.7-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/boswars/boswars-2.7-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/boswars/boswars-2.7-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: boswars-2.7-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.7-r1.ebuild,v 1.1 2013/07/29 21:28:56 hasufell Exp $
51
52 EAPI=5
53 inherit eutils scons-utils games
54
55 DESCRIPTION="Futuristic real-time strategy game"
56 HOMEPAGE="http://www.boswars.org/"
57 SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
58 http://dev.gentoo.org/~hasufell/distfiles/${P}-fixed-images-for-libpng-1.6.tar.xz
59 mirror://gentoo/bos.png"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE=""
65
66 RDEPEND="dev-lang/lua
67 media-libs/libsdl[audio,video]
68 media-libs/libpng:0
69 media-libs/libvorbis
70 media-libs/libtheora
71 media-libs/libogg
72 virtual/opengl
73 x11-libs/libX11"
74 DEPEND="${RDEPEND}"
75
76 S=${WORKDIR}/${P}-src
77
78 src_unpack() {
79 default
80 # bug 475764
81 cp -dRp ${P}-fixed-images-for-libpng-1.6/* ${P}-src/ \
82 || die "copying fixed images failed!"
83 }
84
85 src_prepare() {
86 rm -f doc/{README-SDL.txt,guichan-copyright.txt}
87 epatch \
88 "${FILESDIR}"/${P}-gentoo.patch \
89 "${FILESDIR}"/${P}-scons-blows.patch
90 sed -i \
91 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
92 engine/include/stratagus.h \
93 || die
94 sed -i \
95 -e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
96 SConstruct \
97 || die
98 }
99
100 src_compile() {
101 escons || die
102 }
103
104 src_install() {
105 newgamesbin build/${PN}-release ${PN}
106 insinto "${GAMES_DATADIR}"/${PN}
107 doins -r campaigns graphics intro languages maps patches scripts sounds units
108 newicon "${DISTDIR}"/bos.png ${PN}.png
109 make_desktop_entry ${PN} "Bos Wars"
110 # COPYRIGHT.txt is referenced by the html
111 dodoc CHANGELOG COPYRIGHT.txt README.txt
112 dohtml -r doc/*
113 prepgamesdirs
114 }