summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-05-20 06:43:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-05-20 06:43:02 +0000
commitcf7987afe7166d01798c4235109b7e8f7ffa2cb1 (patch)
treea163c8a789b696af462a8d3ffbcd9444f4f8a0a4 /games-strategy
parentVersion bump. (diff)
downloadgentoo-2-cf7987afe7166d01798c4235109b7e8f7ffa2cb1.tar.gz
gentoo-2-cf7987afe7166d01798c4235109b7e8f7ffa2cb1.tar.bz2
gentoo-2-cf7987afe7166d01798c4235109b7e8f7ffa2cb1.zip
version bump
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/asc/ChangeLog7
-rw-r--r--games-strategy/asc/asc-2.5.0.0.ebuild75
2 files changed, 81 insertions, 1 deletions
diff --git a/games-strategy/asc/ChangeLog b/games-strategy/asc/ChangeLog
index 1cd66788bd3d..78b51c2c5da9 100644
--- a/games-strategy/asc/ChangeLog
+++ b/games-strategy/asc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/asc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v 1.38 2012/05/04 04:51:08 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v 1.39 2012/05/20 06:43:02 mr_bones_ Exp $
+
+*asc-2.5.0.0 (20 May 2012)
+
+ 20 May 2012; Michael Sterrett <mr_bones_@gentoo.org> +asc-2.5.0.0.ebuild:
+ version bump
04 May 2012; Jeff Horelick <jdhore@gentoo.org> asc-2.4.0.0.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/games-strategy/asc/asc-2.5.0.0.ebuild b/games-strategy/asc/asc-2.5.0.0.ebuild
new file mode 100644
index 000000000000..fce6cc037392
--- /dev/null
+++ b/games-strategy/asc/asc-2.5.0.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/asc-2.5.0.0.ebuild,v 1.1 2012/05/20 06:43:02 mr_bones_ Exp $
+
+EAPI=2
+WX_GTK_VER=2.8
+inherit toolchain-funcs flag-o-matic wxwidgets games
+
+DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
+HOMEPAGE="http://www.asc-hq.org/"
+SRC_URI="mirror://sourceforge/asc-hq/${P}.tar.bz2
+ http://www.asc-hq.org/music/frontiers.ogg
+ http://www.asc-hq.org/music/time_to_strike.ogg
+ http://www.asc-hq.org/music/machine_wars.ogg"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-arch/bzip2
+ virtual/jpeg
+ media-libs/libsdl
+ media-libs/libpng
+ media-libs/sdl-image[gif,jpeg,png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-sound
+ dev-libs/boost
+ dev-games/physfs
+ media-libs/libvorbis
+ media-libs/xvid
+ dev-libs/expat
+ media-libs/freetype
+ dev-lang/lua
+ x11-libs/wxGTK:2.8[X]
+ dev-libs/libsigc++:1.2"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig
+ app-arch/zip"
+
+src_unpack() {
+ local f
+
+ unpack ${P}.tar.bz2
+ for f in ${A}
+ do
+ case ${f} in
+ *ogg)
+ cp "${DISTDIR}/${f}" "${S}/data/music" || die "cp music failed"
+ ;;
+ esac
+ done
+}
+
+src_configure() {
+ # Added --disable-paraguitest for bugs 26402 and 4488
+ # Added --disable-paragui for bug 61154 since it's not really used much
+ # and the case is well documented at http://www.asc-hq.org/
+ if [[ $(gcc-major-version) -eq 4 ]] ; then
+ replace-flags -O3 -O2
+ fi
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-paraguitest \
+ --disable-paragui \
+ --datadir="${GAMES_DATADIR_BASE}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ dohtml -r doc/*
+ prepgamesdirs
+}