diff options
-rw-r--r-- | games-engines/frobtads/ChangeLog | 10 | ||||
-rw-r--r-- | games-engines/frobtads/files/frobtads-1.2.1-underlinking.patch | 16 | ||||
-rw-r--r-- | games-engines/frobtads/frobtads-1.2.1.ebuild | 60 |
3 files changed, 84 insertions, 2 deletions
diff --git a/games-engines/frobtads/ChangeLog b/games-engines/frobtads/ChangeLog index 009c587226b3..26ebb303ac08 100644 --- a/games-engines/frobtads/ChangeLog +++ b/games-engines/frobtads/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-engines/frobtads -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/frobtads/ChangeLog,v 1.6 2011/09/04 17:46:48 phajdan.jr Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/frobtads/ChangeLog,v 1.7 2012/08/23 19:48:06 hasufell Exp $ + +*frobtads-1.2.1 (23 Aug 2012) + + 23 Aug 2012; Julian Ospald <hasufell@gentoo.org> +frobtads-1.2.1.ebuild, + +files/frobtads-1.2.1-underlinking.patch: + version bump wrt #396449 04 Sep 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> frobtads-1.0.ebuild: x86 stable wrt bug #381499 diff --git a/games-engines/frobtads/files/frobtads-1.2.1-underlinking.patch b/games-engines/frobtads/files/frobtads-1.2.1-underlinking.patch new file mode 100644 index 000000000000..6f7609dbe20c --- /dev/null +++ b/games-engines/frobtads/files/frobtads-1.2.1-underlinking.patch @@ -0,0 +1,16 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Aug 23 17:57:20 UTC 2012 +Subject: build system + +fix underlinking + +--- configure.ac ++++ configure.ac +@@ -631,6 +631,7 @@ + # + AM_CONDITIONAL([NO_TLS], [test x$ac_cv_tls = xnone]) + ++LIBS="$LIBS -lpthread" + + # + # Generate the output files. diff --git a/games-engines/frobtads/frobtads-1.2.1.ebuild b/games-engines/frobtads/frobtads-1.2.1.ebuild new file mode 100644 index 000000000000..041d2dd95c54 --- /dev/null +++ b/games-engines/frobtads/frobtads-1.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/frobtads/frobtads-1.2.1.ebuild,v 1.1 2012/08/23 19:48:06 hasufell Exp $ + +EAPI=4 +inherit autotools eutils flag-o-matic games + +DESCRIPTION="Curses-based interpreter and development tools for TADS 2 and TADS 3 text adventures" +HOMEPAGE="http://www.tads.org/frobtads.htm" +SRC_URI="http://www.tads.org/frobtads/${P}.tar.gz" + +LICENSE="TADS2 TADS3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug tads2compiler tads3compiler" + +RESTRICT="!tads3compiler? ( test )" + +RDEPEND="net-misc/curl + sys-libs/ncurses" +DEPEND="${RDEPEND}" + +DOCS=( doc/{AUTHORS,BUGS,ChangeLog.old,NEWS,README,SRC_GUIDELINES,THANKS} ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlinking.patch + eautoreconf +} + +src_configure() { + append-cxxflags -fno-strict-aliasing -fpermissive + append-cflags -fno-strict-aliasing + egamesconf \ + --disable-silent-rules \ + $(use_enable debug t3debug) \ + $(use_enable debug error-checking) \ + $(use_enable tads2compiler t2-compiler) \ + $(use_enable tads3compiler t3-compiler) +} + +src_test() { + # FIXME: make check broken +# if use debug; then +# emake -j1 check +# fi + + emake -j1 sample + ./frob -i plain -p samples/sample.t3 <<- END_FROB_TEST + save + testsave.sav + restore + testsave.sav + END_FROB_TEST + [[ $? -eq 0 ]] || die "Failed to run test game" +} + +src_install() { + default + prepgamesdirs +} |