From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/asc/
Date: Thu, 7 Sep 2017 21:05:22 +0000 (UTC) [thread overview]
Message-ID: <1504818256.9945a6cfdaa39ac47f1c5e11a30402cb412c53e1.wizardedit@gentoo> (raw)
commit: 9945a6cfdaa39ac47f1c5e11a30402cb412c53e1
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 7 17:39:27 2017 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep 7 21:04:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9945a6cf
games-strategy/asc: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.6, Repoman-2.3.2
games-strategy/asc/asc-2.6.0.0-r2.ebuild | 73 ++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/games-strategy/asc/asc-2.6.0.0-r2.ebuild b/games-strategy/asc/asc-2.6.0.0-r2.ebuild
new file mode 100644
index 00000000000..9f44b9d7d53
--- /dev/null
+++ b/games-strategy/asc/asc-2.6.0.0-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0
+inherit eutils toolchain-funcs flag-o-matic wxwidgets
+
+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
+ dev-games/physfs
+ dev-lang/lua:0
+ dev-libs/boost
+ dev-libs/expat
+ dev-libs/libsigc++:1.2
+ media-libs/libpng:0
+ media-libs/libsdl[video]
+ media-libs/sdl-image[gif,jpeg,png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-sound
+ media-libs/freetype
+ media-libs/xvid
+ x11-libs/wxGTK:${WX_GTK_VER}[X]"
+
+DEPEND="${RDEPEND}
+ app-arch/zip
+ dev-lang/perl
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/"/${P}-gcc6-nothrow-in-dtors.patch )
+
+src_unpack() {
+ local f
+
+ unpack ${P}.tar.bz2
+ for f in ${A}
+ do
+ case ${f} in
+ *ogg)
+ cp "${DISTDIR}/${f}" "${S}/data/music" || die
+ ;;
+ esac
+ done
+}
+
+src_configure() {
+ need-wxwidgets unicode
+ # 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
+ econf \
+ --disable-paraguitest \
+ --disable-paragui \
+ --datadir="/usr/share"
+}
+
+src_install() {
+ default
+ dodoc -r doc/*
+}
next reply other threads:[~2017-09-07 21:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 21:05 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-18 0:47 [gentoo-commits] repo/gentoo:master commit in: games-strategy/asc/ Michael Sterrett
2015-12-03 13:28 Agostino Sarubbo
2015-11-25 8:54 Agostino Sarubbo
2015-10-25 12:25 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1504818256.9945a6cfdaa39ac47f1c5e11a30402cb412c53e1.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox