Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/frobtads/
Date: Tue, 20 Mar 2018 21:20:34
Message-Id: 1521580813.7fbf362015ccde1a123931e8419854b17d8240de.monsieurp@gentoo
1 commit: 7fbf362015ccde1a123931e8419854b17d8240de
2 Author: Nikos Chantziaras <realnc <AT> gmail <DOT> com>
3 AuthorDate: Wed Mar 14 04:50:38 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 20 21:20:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fbf3620
7
8 games-engines/frobtads: version bump to 1.2.4.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11 Closes: https://bugs.gentoo.org/650440
12 Closes: https://github.com/gentoo/gentoo/pull/7454
13
14 games-engines/frobtads/Manifest | 1 +
15 games-engines/frobtads/frobtads-1.2.4.ebuild | 41 ++++++++++++++++++++++++++++
16 2 files changed, 42 insertions(+)
17
18 diff --git a/games-engines/frobtads/Manifest b/games-engines/frobtads/Manifest
19 index cc66446b02f..57cba13d373 100644
20 --- a/games-engines/frobtads/Manifest
21 +++ b/games-engines/frobtads/Manifest
22 @@ -1 +1,2 @@
23 DIST frobtads-1.2.3.tar.gz 5227704 BLAKE2B fd481201da6dbddf3b0f5adf7c600282c9500bd65cebebf13e23b139ca1e9793091c6df50bebebed179c6f775d188c8ccbe8450d0058863c55dd322e8a92ce32 SHA512 4efb888860edda24bb5a5812967d0b863614558e9839cf0cfabc649ab0175719bf663de5e725034ba160c015d269dbe2df046cf47ad1019e668bf5b1fb564d7d
24 +DIST frobtads-1.2.4.tar.bz2 3801366 BLAKE2B 871a4cfd432f1a72915de0652def2f2a9a3cf1bfa20b070c2e59ced673c736584a36b3d17e7d5812ad7cd883c3e038e49f962635a5794d6c914d99651bfd0a55 SHA512 f49f58114cbd78f23fcc3835025af7874da968af825abd449e9ab83c4a90e8d70f8cfafa83780f0631ae9bd2793cce2d5dd947c13ee38ba0d06829d2803abf12
25
26 diff --git a/games-engines/frobtads/frobtads-1.2.4.ebuild b/games-engines/frobtads/frobtads-1.2.4.ebuild
27 new file mode 100644
28 index 00000000000..7f2b43c1446
29 --- /dev/null
30 +++ b/games-engines/frobtads/frobtads-1.2.4.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit eutils
37 +
38 +DESCRIPTION="Curses-based interpreter and dev tools for TADS 2 and TADS 3 text adventures"
39 +HOMEPAGE="http://www.tads.org/frobtads.htm"
40 +SRC_URI="https://github.com/realnc/${PN}/releases/download/${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="TADS2 TADS3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="debug tads2compiler tads3compiler"
46 +
47 +RESTRICT="!tads3compiler? ( test )"
48 +
49 +RDEPEND="net-misc/curl
50 + sys-libs/ncurses:0"
51 +DEPEND=${RDEPEND}
52 +
53 +DOCS=( doc/{AUTHORS,BUGS,ChangeLog.old,NEWS,README,SRC_GUIDELINES,THANKS} )
54 +
55 +src_configure() {
56 + econf \
57 + $(use_enable debug error-checking) \
58 + $(use_enable debug t3debug) \
59 + $(use_enable tads2compiler t2-compiler) \
60 + $(use_enable tads3compiler t3-compiler)
61 +}
62 +
63 +src_test() {
64 + emake -j1 sample
65 + ./frob -i plain -p samples/sample.t3 <<- END_FROB_TEST
66 + save
67 + testsave.sav
68 + restore
69 + testsave.sav
70 + END_FROB_TEST
71 + [[ $? -eq 0 ]] || die "Failed to run test game"
72 +}