Diff fortune-mod-3.18.0 with a fortune-mod-3.24.0

/usr/portage/games-misc/fortune-mod/fortune-mod-3.24.0.ebuild 2025-07-29 16:22:14.280455118 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
7 7

  
8 8
DESCRIPTION="The notorious fortune program"
9 9
HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/"
10
SRC_URI="https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz
11
	https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz"
10
SRC_URI="
11
	https://www.shlomifish.org/open-source/projects/${PN}/arcs/${P}.tar.xz
12
	https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz
13
"
12 14

  
13 15
LICENSE="BSD"
14 16
SLOT="0"
15 17
KEYWORDS="amd64 arm arm64 hppa ~m68k ~mips ppc64 ~riscv ~sparc x86"
16
IUSE="offensive test"
18
IUSE="offensive pcre test"
17 19
RESTRICT="!test? ( test )"
18 20

  
19 21
RDEPEND="
20
	app-text/recode:=
21
	dev-libs/rinutils
22 22
	!games-misc/fortune-mod-tao
23
	app-text/recode:=
24
	>=dev-libs/rinutils-0.10.2
25
	pcre? ( dev-libs/libpcre2 )
23 26
"
24 27
DEPEND="${RDEPEND}"
25 28
BDEPEND="
......
39 42

  
40 43
src_configure() {
41 44
	local mycmakeargs=(
45
		-DUSE_PCRE=$(usex pcre)
42 46
		-DNO_OFFENSIVE=$(usex !offensive)
43 47
		# bug #857246
44 48
		-DLOCALDIR="/usr/local/share/fortune"
Thank you!