diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-01 06:30:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-01 06:30:58 +0000 |
commit | c4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (patch) | |
tree | e97ec8b6356535412a838039bf7874aef3129f50 /games-misc | |
parent | 2e36bcecf24a3f583ae8f27b71ba13b3cfd39778 (diff) |
gentoo auto-resync : 01:01:2025 - 06:30:57
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/Manifest.gz | bin | 8937 -> 8941 bytes | |||
-rw-r--r-- | games-misc/fortune-mod/Manifest | 2 | ||||
-rw-r--r-- | games-misc/fortune-mod/fortune-mod-3.24.0.ebuild | 70 |
3 files changed, 72 insertions, 0 deletions
diff --git a/games-misc/Manifest.gz b/games-misc/Manifest.gz Binary files differindex c8e270890cce..6ca58590fb78 100644 --- a/games-misc/Manifest.gz +++ b/games-misc/Manifest.gz diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest index 1298ce3e3306..d727ac494eea 100644 --- a/games-misc/fortune-mod/Manifest +++ b/games-misc/fortune-mod/Manifest @@ -1,6 +1,8 @@ AUX fortune-mod-3.14.0-valgrind-tests.patch 689 BLAKE2B f56e33bfe3702745ce1ed3d1d7352c9ac78c2cf430e0db761be917fbbf3b5a297f318b2c5f582b60dcfdebb621409d48535cacc46d729757cfa8a6d0aba2e94c SHA512 808e53b4baa1465bded2baef6aae888f49f50ad5b5d4129b6db9d1d24c7e982a3593ad6f0f786c97d56051aeed71d82631278069e269a2b22d16234bcb26bc45 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 +DIST fortune-mod-3.24.0.tar.xz 1475996 BLAKE2B 378a2cee3317510d1b826a801d60b4c1aee69777a26861990435b888813d01ba46d4125d2cb588046e88009ddff0b38fc9d8b56672b6a016384b700e629cbade SHA512 6d320932931835b2ca1eef39f046073154cf0ef36aad4173c8e23af1a4fdcd327f06a436653b195ddecfe06a32607057464b18f2c80894849b38714774adbf14 EBUILD fortune-mod-3.18.0.ebuild 1427 BLAKE2B 58ffd739617b44a8c82ce777ada9debf435a94ad657aeab5355dbee020cf4f59eb174b1c08f25022d384237ebed64f53da0693802b9c8ef6384647a10a83cf8e SHA512 e30a5bbfbaf53de6e2be25e6326560b16a5f00b0811a6fa2b4e0d5cc3068473497c7c664ef681c4ccdd4d08f947223e20a44b156d95b23a2853e283a11539cc7 EBUILD fortune-mod-3.22.0.ebuild 1505 BLAKE2B d2ffb324adf4b2304e1a26a3390638b407c5f424cddd84a67e46b5e046c0080f78c2ca9fee56b89dadf35d0c29a21b8b0f2facf69ad35cfc0165e748e2ef7cfb SHA512 c07048b6f96e2be2c265dac3a9f40b7d3e30a519b6004cd53a0db8476b4cd87a2d28ccdec878fa63aeb8d80a3e2a7ec6bbf0a12d0a0eaeb8941194408c24e77a +EBUILD fortune-mod-3.24.0.ebuild 1505 BLAKE2B d2ffb324adf4b2304e1a26a3390638b407c5f424cddd84a67e46b5e046c0080f78c2ca9fee56b89dadf35d0c29a21b8b0f2facf69ad35cfc0165e748e2ef7cfb SHA512 c07048b6f96e2be2c265dac3a9f40b7d3e30a519b6004cd53a0db8476b4cd87a2d28ccdec878fa63aeb8d80a3e2a7ec6bbf0a12d0a0eaeb8941194408c24e77a MISC metadata.xml 338 BLAKE2B 876b9917bb33c6fb56cb0d2f995262e4cbecba868783c03443b2fb213a6d515d9966bea4fa92c03a8bd69ee9a8611ca762bd683112d897e3692912ae47071010 SHA512 e9496f6bb7097e389ac2c34b6f8aa888a8697162f00b09956bc4168d3a7bba982dd3a686d9603fecea6528c31ff5ae2f4955d50e6ea3fae5706b5aab92d861f7 diff --git a/games-misc/fortune-mod/fortune-mod-3.24.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.24.0.ebuild new file mode 100644 index 000000000000..3d029dc31bf1 --- /dev/null +++ b/games-misc/fortune-mod/fortune-mod-3.24.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 +} |