summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-10-12 02:29:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-10-12 02:29:29 +0000
commit84a1381ccfd7f066d73ad8bb66d7be1075007592 (patch)
treed9a6cd7a39a2846baa7aa53ed178beb7c15915a7 /games-strategy/boswars
parentAdd ~x86-fbsd. (diff)
downloadgentoo-2-84a1381ccfd7f066d73ad8bb66d7be1075007592.tar.gz
gentoo-2-84a1381ccfd7f066d73ad8bb66d7be1075007592.tar.bz2
gentoo-2-84a1381ccfd7f066d73ad8bb66d7be1075007592.zip
slot dep for libpng; tidy
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/boswars')
-rw-r--r--games-strategy/boswars/ChangeLog8
-rw-r--r--games-strategy/boswars/boswars-2.6.1.ebuild14
2 files changed, 12 insertions, 10 deletions
diff --git a/games-strategy/boswars/ChangeLog b/games-strategy/boswars/ChangeLog
index faeae728d7b3..f92807b05fd9 100644
--- a/games-strategy/boswars/ChangeLog
+++ b/games-strategy/boswars/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/boswars
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.19 2010/11/20 02:15:54 mr_bones_ Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/ChangeLog,v 1.20 2012/10/12 02:29:29 mr_bones_ Exp $
+
+ 12 Oct 2012; Michael Sterrett <mr_bones_@gentoo.org> boswars-2.6.1.ebuild:
+ slot dep for libpng; tidy
20 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> boswars-2.6.1.ebuild,
+files/boswars-2.6.1-scons-blows.patch:
@@ -81,4 +84,3 @@
+files/boswars-2.3-gentoo.patch, +metadata.xml, +boswars-2.3.ebuild:
New ebuild. Bug #172298 by Tomas Kovacik
It was formerly games-strategy/bos, but upstream changed the name
-
diff --git a/games-strategy/boswars/boswars-2.6.1.ebuild b/games-strategy/boswars/boswars-2.6.1.ebuild
index 0f3131afb054..11c610533521 100644
--- a/games-strategy/boswars/boswars-2.6.1.ebuild
+++ b/games-strategy/boswars/boswars-2.6.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.6.1.ebuild,v 1.5 2010/11/20 02:15:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.6.1.ebuild,v 1.6 2012/10/12 02:29:29 mr_bones_ Exp $
EAPI=2
inherit eutils scons-utils games
@@ -17,7 +17,7 @@ IUSE=""
DEPEND="dev-lang/lua
media-libs/libsdl[audio,video]
- media-libs/libpng
+ media-libs/libpng:0
media-libs/libvorbis
media-libs/libtheora
media-libs/libogg
@@ -34,11 +34,11 @@ src_prepare() {
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
engine/include/stratagus.h \
- || die "sed stratagus.h failed"
+ || die
sed -i \
-e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
SConstruct \
- || die "sed SConstruct failed"
+ || die
}
src_compile() {
@@ -46,10 +46,10 @@ src_compile() {
}
src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
+ dogamesbin ${PN} || die
insinto "${GAMES_DATADIR}"/${PN}
doins -r campaigns graphics intro languages maps patches scripts sounds units \
- || die "doins failed"
+ || die
newicon "${DISTDIR}"/bos.png ${PN}.png
make_desktop_entry ${PN} "Bos Wars"
dodoc CHANGELOG COPYRIGHT.txt README.txt