public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Sun,  7 Jul 2024 05:15:54 +0000 (UTC)	[thread overview]
Message-ID: <1720329291.cdd80c5ce6d39cd8d02ad536963862277883e560.sam@gentoo> (raw)

commit:     cdd80c5ce6d39cd8d02ad536963862277883e560
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 05:14:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 05:14:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd80c5c

games-misc/fortune-mod: add 3.22.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-misc/fortune-mod/Manifest                  |  1 +
 games-misc/fortune-mod/fortune-mod-3.22.0.ebuild | 70 ++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest
index 836f4da4b62c..d25adab602e2 100644
--- a/games-misc/fortune-mod/Manifest
+++ b/games-misc/fortune-mod/Manifest
@@ -1 +1,2 @@
 DIST fortune-mod-3.18.0.tar.xz 1470208 BLAKE2B b975d75aea745f06f26753038416b1cc50b462a11a5cbe71a9aadc44b31f9120ac3e37ed160c9d7f90e379e5ea4c51dc39921362d24811547364e37d64c3faf9 SHA512 b8d16bf5032c1a0fcb161c912109abd24f3b762f3455eaf86d41ed3f16a33db4913d9a21bb6a42f974a3b11cfaedac57cabc4456d178a3d631d8d4a723789798
+DIST fortune-mod-3.22.0.tar.xz 1473952 BLAKE2B 9edddea4c059314a22351bf088035284cf74983c714165bf52e50f1de00a300f3d04dc4e510ca8b4f3d78c89a4523e7b413a40ca4d6924c0fe94d3f11319c1d4 SHA512 54726bad10a986b71a98de6eaed2ec56bbd28aeb245eea04254f2aa84fa4658d3bac148a0d1f3b8f44ed539b3a4d40379fc9d6438a1dba419a5c05a3180e3537

diff --git a/games-misc/fortune-mod/fortune-mod-3.22.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.22.0.ebuild
new file mode 100644
index 000000000000..3d029dc31bf1
--- /dev/null
+++ b/games-misc/fortune-mod/fortune-mod-3.22.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 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/"
+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="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86"
+IUSE="offensive pcre test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!games-misc/fortune-mod-tao
+	app-text/recode:=
+	>=dev-libs/rinutils-0.10.2
+	pcre? ( dev-libs/libpcre2 )
+"
+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=(
+		-DUSE_PCRE=$(usex pcre)
+		-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
+}


             reply	other threads:[~2024-07-07  5:15 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-07  5:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-12  6:30 [gentoo-commits] repo/gentoo:master commit in: games-misc/fortune-mod/ 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
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=1720329291.cdd80c5ce6d39cd8d02ad536963862277883e560.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