diff options
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/fortune-mod/Manifest | 1 | ||||
-rw-r--r-- | games-misc/fortune-mod/fortune-mod-3.24.0.ebuild | 70 | ||||
-rw-r--r-- | games-misc/opengfx/opengfx-7.1.ebuild | 24 | ||||
-rw-r--r-- | games-misc/opensfx/opensfx-1.0.3.ebuild | 41 | ||||
-rw-r--r-- | games-misc/ponysay/ponysay-3.0.3.ebuild | 4 |
5 files changed, 122 insertions, 18 deletions
diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest index d25adab602e2..524c06a43837 100644 --- a/games-misc/fortune-mod/Manifest +++ b/games-misc/fortune-mod/Manifest @@ -1,2 +1,3 @@ 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 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 +} diff --git a/games-misc/opengfx/opengfx-7.1.ebuild b/games-misc/opengfx/opengfx-7.1.ebuild index 46401d798deb..4302b32d54a5 100644 --- a/games-misc/opengfx/opengfx-7.1.ebuild +++ b/games-misc/opengfx/opengfx-7.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..13} python3_13t ) -inherit python-any-r1 +inherit python-any-r1 toolchain-funcs DESCRIPTION="OpenGFX data files for OpenTTD" HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenGFX https://github.com/OpenTTD/OpenGFX" @@ -16,7 +16,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -DEPEND=" +BDEPEND=" games-util/grfcodec games-util/nml ${PYTHON_DEPS} @@ -29,31 +29,29 @@ PATCHES=( ) src_compile() { - local myemakeargs=( + myemakeargs=( GIMP="" PYTHON="${EPYTHON}" + CC="$(tc-getCC)" + + # Make logs verbose + _V= + _E=echo ) emake "${myemakeargs[@]}" all } src_test() { - local myemakeargs=( - GIMP="" - PYTHON="${EPYTHON}" - ) - emake "${myemakeargs[@]}" check } src_install() { - local myemakeargs=( + myemakeargs+=( DO_NOT_INSTALL_README="true" DO_NOT_INSTALL_LICENSE="true" DO_NOT_INSTALL_CHANGELOG="true" - GIMP="" INSTALL_DIR="${ED}/usr/share/openttd/baseset/" - PYTHON="${EPYTHON}" ) emake "${myemakeargs[@]}" install diff --git a/games-misc/opensfx/opensfx-1.0.3.ebuild b/games-misc/opensfx/opensfx-1.0.3.ebuild index e36280e714b0..f8e89bd702e2 100644 --- a/games-misc/opensfx/opensfx-1.0.3.ebuild +++ b/games-misc/opensfx/opensfx-1.0.3.ebuild @@ -1,8 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +PYTHON_COMPAT=( python3_{10..13} python3_13t ) + +inherit python-any-r1 toolchain-funcs + DESCRIPTION="OpenSFX data files for OpenTTD" HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenSFX https://github.com/OpenTTD/OpenSFX" SRC_URI="https://cdn.openttd.org/opensfx-releases/${PV}/${P}-source.tar.xz" @@ -12,13 +16,44 @@ LICENSE="CC-BY-SA-3.0 CDDL-1.1 GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -DEPEND="games-util/catcodec" +BDEPEND=" + games-util/catcodec + games-util/grfcodec + ${PYTHON_DEPS} +" PATCHES=( "${FILESDIR}"/${PN}-1.0.3-no-which.patch ) +src_compile() { + myemakeargs=( + GIMP="" + PYTHON="${EPYTHON}" + CC="$(tc-getCC)" + + # Make logs verbose + _V= + _E=echo + ) + + emake "${myemakeargs[@]}" all +} + +src_test() { + emake "${myemakeargs[@]}" check +} + src_install() { - emake INSTALL_DIR="${ED}/usr/share/openttd/baseset/" install + myemakeargs+=( + DO_NOT_INSTALL_README="true" + DO_NOT_INSTALL_LICENSE="true" + DO_NOT_INSTALL_CHANGELOG="true" + INSTALL_DIR="${ED}/usr/share/openttd/baseset/" + ) + + emake "${myemakeargs[@]}" install + dodoc docs/{changelog.txt,readme.ptxt} + einstalldocs } diff --git a/games-misc/ponysay/ponysay-3.0.3.ebuild b/games-misc/ponysay/ponysay-3.0.3.ebuild index 8c803cdffed7..9a1b444b8a9d 100644 --- a/games-misc/ponysay/ponysay-3.0.3.ebuild +++ b/games-misc/ponysay/ponysay-3.0.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} python3_13t ) inherit bash-completion-r1 python-single-r1 DESCRIPTION="cowsay reimplemention for ponies" |