From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod/
Date: Wed, 22 Feb 2023 16:10:00 +0000 (UTC) [thread overview]
Message-ID: <1677082162.d8b745f1b83c8be3aac6017ca53fd3b71b6d4f2f.sam@gentoo> (raw)
commit: d8b745f1b83c8be3aac6017ca53fd3b71b6d4f2f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 16:09:22 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:09:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b745f1
games-misc/fortune-mod: add 3.16.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-misc/fortune-mod/Manifest | 1 +
games-misc/fortune-mod/fortune-mod-3.16.0.ebuild | 65 ++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest
index f764fcaab69f..91a48daf1c80 100644
--- a/games-misc/fortune-mod/Manifest
+++ b/games-misc/fortune-mod/Manifest
@@ -1,3 +1,4 @@
DIST fortune-mod-1.99.1.tar.gz 1812089 BLAKE2B a5df4a5a518021073ee95ac7e110ac75b961feb1b4dfcc3a40165ea98859f93e6d002ee4906d3f03a40762503ae475b61399a2bd4144609fa4d9815a1a85fa84 SHA512 4c06ea37532dd59f0251d7c49538bee703852c60a3247aba7c516f4f0d4b8ab15b9d7495d004a6423acd74c4dd7532e3dbe1679d6904ab373b617a3386205cde
DIST fortune-mod-3.12.0.tar.xz 1427848 BLAKE2B 3a3b0c28a0f7c297294b1788c57e01eb78d5083578aba877b896f41b854d2c34f65c9b46a1efe8bfef669f7ced6bb5e8ba667e3df1391a3cd3e5fed22e9058b6 SHA512 3a25d276219bb4f8a3015cd24b43462844d3be481815b587a365acd31dde31afee110dc5a658dd4df43bc6ba7d19e85afeffb215bd8c8f34640d658edb335089
DIST fortune-mod-3.14.1.tar.xz 1428956 BLAKE2B a62d4056cdceef14f1d63dbc8b98bbd88098c64d0020b949ecc8e6006f1a4b1369211ac8b87a33db60b238cd7e6d3d6f3c4d2e59933a6cf0bd3fa54c439c4330 SHA512 0de0ec033ffc35a7a9ec1a549e6dac425757ec5fcc718c772f0a4e548d23c46451af4a90b0ac548f2ab60d68856ca0fa5e8f10930efe6b199e96b2cc1c568810
+DIST fortune-mod-3.16.0.tar.xz 1460580 BLAKE2B f9618d8669442f76843955fa446f565945467cc6a69e7b70131df21ca622e18c0f1c1ab83c32d5e478fd5c5abdb59ed5e009449fcdbc1fd1a2ede6c3d1ecef18 SHA512 ccd81f2c804f785f29e03680c7fb4f3cad7919aa1e265984fc2d6e7316d73d354e3cce285c28ea28662d99ef09aaf6baa5c64cadd0610f8d6a364ccfb9323848
diff --git a/games-misc/fortune-mod/fortune-mod-3.16.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.16.0.ebuild
new file mode 100644
index 000000000000..d7b5594bb68d
--- /dev/null
+++ b/games-misc/fortune-mod/fortune-mod-3.16.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="The notorious fortune program"
+HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/ http://www.redellipse.net/code/fortune"
+SRC_URI="https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz
+ https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86"
+IUSE="offensive test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-text/recode:=
+ !games-misc/fortune-mod-tao
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-text/App-XML-DocBook-Builder
+ dev-lang/perl
+ test? (
+ dev-perl/File-Find-Object
+ dev-perl/IO-All
+ dev-perl/Test-Differences
+ dev-perl/Test-Trap
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.14.0-valgrind-tests.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DNO_OFFENSIVE=$(usex !offensive)
+ # bug #857246
+ -DLOCALDIR="/usr/local/share/fortune"
+ -DCOOKIEDIR="/usr/share/fortune"
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_src_compile check
+}
+
+src_install() {
+ cmake_src_install
+
+ # We don't want to create the dir if it doesn't exist
+ rm -rf "${ED}"//usr/local || die
+
+ mkdir -p "${ED}"/usr/bin || die
+ mv "${ED}"/usr/games/fortune "${ED}"/usr/bin/fortune || die
+ rm -rf "${ED}"/usr/games || die
+
+ dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files
+}
next reply other threads:[~2023-02-22 16:10 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 16:10 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-07 6:56 [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod/ Sam James
2025-04-07 6:56 Sam James
2025-04-07 6:56 Sam James
2025-04-07 6:56 Sam James
2025-04-07 6:56 Sam James
2024-12-31 22:31 Sam James
2024-07-07 5:15 Sam James
2023-12-12 6:30 Viorel Munteanu
2023-09-29 0:54 Sam James
2023-09-28 22:49 Sam James
2023-09-28 22:49 Sam James
2023-09-28 22:49 Sam James
2023-09-28 22:49 Sam James
2023-09-28 22:49 Sam James
2023-07-05 20:49 Conrad Kostecki
2023-04-14 19:43 Sam James
2023-03-17 20:06 Sam James
2023-02-24 22:20 Sam James
2023-02-22 17:17 Arthur Zamarin
2023-02-22 17:13 Arthur Zamarin
2023-02-22 16:50 Sam James
2023-02-22 16:10 Sam James
2023-02-22 16:10 Sam James
2022-08-27 11:25 Sam James
2022-08-13 13:32 Sam James
2022-05-07 12:54 Arthur Zamarin
2022-05-06 20:03 Arthur Zamarin
2022-05-05 6:13 Arthur Zamarin
2022-05-05 5:57 Arthur Zamarin
2022-05-05 5:57 Arthur Zamarin
2022-05-05 5:39 Arthur Zamarin
2022-05-04 22:54 Jakov Smolić
2022-05-04 10:41 Yixun Lan
2022-05-03 19:47 Arthur Zamarin
2022-05-03 19:47 Arthur Zamarin
2022-05-01 12:20 Jakov Smolić
2022-02-15 18:31 Matt Turner
2022-01-24 19:19 Sam James
2022-01-21 20:12 Arthur Zamarin
2022-01-21 12:42 Sam James
2022-01-03 23:26 David Seifert
2022-01-02 17:49 David Seifert
2021-12-29 7:43 Sam James
2021-12-16 7:36 Sam James
2021-12-07 6:14 Joshua Kinard
2021-12-06 2:44 Yixun Lan
2021-12-05 21:41 James Le Cuirot
2021-12-04 11:23 Arthur Zamarin
2021-12-04 10:07 Arthur Zamarin
2021-12-04 4:13 Sam James
2021-12-04 0:54 Sam James
2021-12-03 20:47 Arthur Zamarin
2021-12-03 14:20 Arthur Zamarin
2021-12-03 3:10 Sam James
2021-01-06 23:02 Fabian Groffen
2020-05-16 14:36 Mike Gilbert
2018-06-28 14:22 Mikle Kolyada
2017-07-08 13:19 Alexis Ballier
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=1677082162.d8b745f1b83c8be3aac6017ca53fd3b71b6d4f2f.sam@gentoo \
--to=sam@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