diff options
Diffstat (limited to 'games-misc')
33 files changed, 580 insertions, 106 deletions
diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest index 7bc99d0ea37..688e1edfdb6 100644 --- a/games-misc/bsd-games/Manifest +++ b/games-misc/bsd-games/Manifest @@ -1,4 +1,5 @@ DIST bsd-games-3.1-verbose-build.patch.gz 4633 BLAKE2B cc75175ac2ef9d476c03bdb08b8c054d13090d6cdd1a14dd44022d13290112c68a7663d0c03f9ca7535ea10f2bb5e49a84acca4f782f0ced59685f762efd5151 SHA512 120c0859bb73a026dae017bcc2bc7505ca156b454bf5f87c91b4887417d5ac62f3dec706af91b22b11be8b5bce11d168f9205d722a9fd30dea654f682a66b1c8 DIST bsd-games-3.1.tar.gz 267636 BLAKE2B 116b340e383430fc56e9d2379a398494b43664aa124157bfa01f2c6a76ebdc90128cc676abae83b6d74680b0ad9396d24f1c0d11adcff1f552a3e68717b8cc8f SHA512 3f311e89481913b734a21fc7d0765628637af8251228d5a38349c27cc702c307240e81711785bbd7428e208a142bd07597630d29e97e2c7bf5bd9cac1ebc6ada +DIST bsd-games-3.2.tar.gz 270345 BLAKE2B 3d984601a71e157dd65e4102e68b3cddc9552d13ec546c599d26a501361616e6223f5fba8990ad8c7ba4559b3982e89a7f1064ff7de2422d1eb71f6c8838bcf1 SHA512 cf5f5a9e5d215ee553486580f9a7dfc9801d254a2806172df201dfc42ecbb05326db7bc25b7624eb8a8e541ad61ec319d258687609bddae2bc07edcbade2291a DIST bsdgames_2.17-28.debian.tar.xz 58464 BLAKE2B 3f5a70322341b153a8b3cb8df81fea1e773971d0f3b79ba8fb0c0877e95c61c8e8689952333f8ac4263948d781c2dc64c8178f9dac6a1c09ae702f91794b9583 SHA512 7e2db9f830c0657f3fcd1371635bda4a87e7a68180e486e44752904740c0710c02271522ff2d4b606542b3c502dd28795fcecf883360c3ac5bea78c148281f6a DIST bsdgames_2.17.orig.tar.gz 2563311 BLAKE2B 9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0 SHA512 cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild index 120178db7fa..71f27640e01 100644 --- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild +++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ LICENSE="BSD" # Subslot indicates the fork / new version # 3 doesn't include the same games as the classic variant, etc SLOT="0/3" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~riscv ~x86" # 'check' target doesn't exist, nor do any actual tests # bug #779649 @@ -31,6 +31,7 @@ RDEPEND=" acct-group/gamestat " BDEPEND=" + sys-apps/which sys-devel/bison sys-devel/flex virtual/pkgconfig @@ -67,6 +68,9 @@ src_prepare() { echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params || die echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params || die + if use riscv; then + sed -i 's/${CC} ${ldflags} -o $@ $^/${CC} ${ldflags} -o $@ $^ -latomic/' ./*/Module.mk || die + fi } src_configure() { diff --git a/games-misc/bsd-games/bsd-games-3.2.ebuild b/games-misc/bsd-games/bsd-games-3.2.ebuild new file mode 100644 index 00000000000..a4e1f68fde8 --- /dev/null +++ b/games-misc/bsd-games/bsd-games-3.2.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="collection of games from NetBSD" +HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/" +SRC_URI="https://github.com/msharov/bsd-games/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.1-verbose-build.patch.gz" + +LICENSE="BSD" +# Subslot indicates the fork / new version +# 3 doesn't include the same games as the classic variant, etc +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~riscv ~x86" + +# 'check' target doesn't exist, nor do any actual tests +# bug #779649 +RESTRICT="test" + +DEPEND=" + sys-apps/miscfiles + sys-libs/ncurses:=[unicode(+)] + !games-puzzle/hangman + !games-misc/wumpus +" +RDEPEND=" + ${DEPEND} + acct-group/gamestat +" +BDEPEND=" + sys-devel/bison + sys-devel/flex + virtual/pkgconfig +" + +PATCHES=( + "${WORKDIR}"/${PN}-3.1-verbose-build.patch + "${FILESDIR}"/${PN}-3.1-no-install-manpages-automatically.patch + "${FILESDIR}"/${PN}-3.2-no-which.patch + "${FILESDIR}"/${P}-no-strip.patch +) + +# Set GAMES_TO_BUILD variable to whatever you want +GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure atc battlestar caesar cribbage +dab drop4 gofish gomoku hangman klondike robots sail snake spirhunt +worm wump} + +src_prepare() { + default + + # Use completely our own CFLAGS/LDFLAGS, no stripping and so on + sed -i \ + -e 's/+= -std=c11 @pkgcflags@ ${CFLAGS}/= -std=c11 @pkgcflags@ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}/' \ + -e 's/+= @pkgldflags@ ${LDFLAGS}/= @pkgldflags@ ${LDFLAGS}/' \ + -e s'/${INSTALL} -m 755 -s/${INSTALL} -m 755/' \ + -e '/man[6]dir/d' \ + Config.mk.in || die + + # Yes, this stinks. + # Right now, the custom configure script calls pkg-config manually + # and seds it a bunch, and this is easier. + # Force looking for both ncurses and ncursesw + sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die + + cp "${FILESDIR}"/config.params-gentoo config.params || die + echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die + echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params || die + echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params || die + if use riscv; then + sed -i 's/${CC} ${ldflags} -o $@ $^/${CC} ${ldflags} -o $@ $^ -latomic/' ./*/Module.mk || die + fi +} + +src_configure() { + tc-export AR CC RANLIB + + econf +} + +src_compile() { + emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dodir /var/games + emake DESTDIR="${D}" install + + _build_game() { + has ${1} ${GAMES_TO_BUILD} + } + + _do_statefile() { + touch "${ED}"/var/games/${1} || die + chmod ug+rw "${ED}"/var/games/${1} || die + } + + # set some binaries to run as games group (+S) + _build_game atc && fperms g+s /usr/bin/atc + _build_game battlestar && fperms g+s /usr/bin/battlestar + _build_game canfield && fperms g+s /usr/bin/canfield + _build_game cribbage && fperms g+s /usr/bin/cribbage + _build_game phantasia && fperms g+s /usr/bin/phantasia + _build_game robots && fperms g+s /usr/bin/robots + _build_game sail && fperms g+s /usr/bin/sail + _build_game snake && fperms g+s /usr/bin/snake + _build_game tetris && fperms g+s /usr/bin/tetris-bsd + + # state files + _build_game atc && _do_statefile atc_score + _build_game battlestar && _do_statefile battlestar.log + _build_game canfield && _do_statefile cfscores + _build_game cribbage && _do_statefile criblog + _build_game hack && keepdir /var/games/hack + _build_game robots && _do_statefile robots_roll + _build_game sail && _do_statefile saillog + _build_game snake && _do_statefile snake.log && _do_statefile snakerawscores + _build_game tetris && _do_statefile tetris-bsd.scores + + # extra docs + _build_game atc && docinto atc + _build_game boggle && { docinto boggle ; dodoc boggle/README; } + _build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; } + _build_game hunt && { docinto hunt ; dodoc hunt/README; } + _build_game phantasia && { docinto phantasia ; dodoc phantasia/{OWNER,README}; } + + # Install the man pages manually to make life easier (circumventing compression) + local game + for game in ${GAMES_TO_BUILD[@]} ; do + if [[ -e ${game}/${game}.1 ]] ; then + doman ${game}/${game}.1 + else + doman ${game}/${game}.6 + fi + done + + # Since factor is usually not installed, and primes.6 is a symlink to + # factor.6, make sure that primes.6 is ok ... + if _build_game primes && [[ ! $(_build_game factor) ]] ; then + rm -f "${ED}"/usr/share/man/man6/{factor,primes}.6 || die + newman factor/factor.6 primes.6 + fi + + # All of this needs to be owned by the gamestat group + fowners -R :gamestat /var/games/ + # ... and so do the binaries + fowners -R :gamestat /usr/bin/ + + # State dirs + fperms -R ug+rw /var/games/ +} diff --git a/games-misc/bsd-games/files/bsd-games-3.2-no-strip.patch b/games-misc/bsd-games/files/bsd-games-3.2-no-strip.patch new file mode 100644 index 00000000000..1afd6772a8f --- /dev/null +++ b/games-misc/bsd-games/files/bsd-games-3.2-no-strip.patch @@ -0,0 +1,32 @@ +https://github.com/msharov/bsd-games/commit/b3d60ff0f7aa377594e6b9a2e1d1d8a509501beb + +From: Mike Sharov <msharov@users.sourceforge.net> +Date: Sun, 3 Apr 2022 09:16:27 -0400 +Subject: [PATCH] Remove -s arg to install program + +If configure was not called with --with-debug, executables are already +built stripped. Additional stripping during installation is not needed. +--- a/Config.mk.in ++++ b/Config.mk.in +@@ -7,7 +7,7 @@ AR := @AR@ + RANLIB := @RANLIB@ + INSTALL := @INSTALL@ + INSTALL_DATA := ${INSTALL} -m 644 +-INSTALL_PROGRAM := ${INSTALL} -m 755 -s ++INSTALL_PROGRAM := ${INSTALL} -m 755 + INSTALL_SCORE := ${INSTALL} -m 664 -g users /dev/null + + ################ Destination ######################################### + +diff --git a/Config.mk.in b/Config.mk.in +index e069054..d9ee2cb 100644 +--- a/Config.mk.in ++++ b/Config.mk.in +@@ -30,7 +30,6 @@ ifdef debug + ldflags := -g -rdynamic + else + cflags := -Os -g0 -DNDEBUG=1 +- ldflags := -s + endif + CFLAGS := -Wall -Wextra -Wstrict-prototypes -Wshadow + cflags += -std=c11 @pkg_cflags@ ${CFLAGS} diff --git a/games-misc/bsd-games/files/bsd-games-3.2-no-which.patch b/games-misc/bsd-games/files/bsd-games-3.2-no-which.patch new file mode 100644 index 00000000000..c38dda4ef46 --- /dev/null +++ b/games-misc/bsd-games/files/bsd-games-3.2-no-which.patch @@ -0,0 +1,30 @@ +https://github.com/msharov/bsd-games/pull/12 +--- a/configure ++++ b/configure +@@ -145,7 +145,7 @@ s/@builddir@/\$\{TMPDIR\}\/make/g" + + #### Find headers, libs, programs, and subs ########################## + +-# Programs found using which ++# Programs found using command -v + for i in $progs; do + pname=$(expr $i : '\([^=]*\)') + pcall=$(expr $i : '[^=]*=\([^=]*\)') +@@ -153,7 +153,7 @@ for i in $progs; do + # First check if an environment variable is set + [ -n "$ppath" ] && sub "s/@$pname@/$ppath/g" + # Check if the program exists +- ppath=$(which $pcall 2>/dev/null) ++ ppath=$(command -v $pcall 2>/dev/null) + [ -n "$ppath" ] && [ -x "$ppath" ] && sub "s/@$pname@/$pcall/g" + done + # If nothing found in first loop, set the first pair anyway +@@ -164,7 +164,7 @@ for i in $progs; do + done + + # Packages found using pkg-config +-pkgconfig=$(which pkg-config 2>/dev/null) ++pkgconfig=$(command -v pkg-config 2>/dev/null) + if [ -n "$pkgconfig" ] && [ -x "$pkgconfig" ]; then + faildeps="" + for i in $pkgs; do diff --git a/games-misc/cowsay/cowsay-3.7.0.ebuild b/games-misc/cowsay/cowsay-3.7.0.ebuild index 48809fbe56e..2c836214fe5 100644 --- a/games-misc/cowsay/cowsay-3.7.0.ebuild +++ b/games-misc/cowsay/cowsay-3.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ SRC_URI="https://github.com/cowsay-org/cowsay/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~hppa ~mips ppc64 x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm64 ~hppa ~mips ppc64 ~riscv x86 ~x64-macos ~x64-solaris" RDEPEND="dev-lang/perl" BDEPEND="${RDEPEND}" diff --git a/games-misc/doge/doge-3.6.0.ebuild b/games-misc/doge/doge-3.6.0-r1.ebuild index 15f74121337..29007318d9f 100644 --- a/games-misc/doge/doge-3.6.0.ebuild +++ b/games-misc/doge/doge-3.6.0-r1.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +EAPI=8 +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="wow very terminal doge" -HOMEPAGE="https://github.com/thiderman/doge https://pypi.org/project/doge/" +HOMEPAGE="https://pypi.org/project/doge/" SRC_URI="https://github.com/thiderman/doge/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" diff --git a/games-misc/exult-sound/exult-sound-0-r2.ebuild b/games-misc/exult-sound/exult-sound-0-r2.ebuild index 379625fd6db..6583d130193 100644 --- a/games-misc/exult-sound/exult-sound-0-r2.ebuild +++ b/games-misc/exult-sound/exult-sound-0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/exult/exult-data/exult_audio.zip" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" BDEPEND="app-arch/unzip" diff --git a/games-misc/fortune-mod-all/fortune-mod-all-5.ebuild b/games-misc/fortune-mod-all/fortune-mod-all-5.ebuild index aba2aa7b32c..ea902a929d9 100644 --- a/games-misc/fortune-mod-all/fortune-mod-all-5.ebuild +++ b/games-misc/fortune-mod-all/fortune-mod-all-5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" LICENSE="metapackage" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~x86" IUSE="l10n_cs l10n_de l10n_it" RDEPEND=">=games-misc/fortune-mod-3.6.1-r1 diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest index 32eb08c49bc..45fff48026f 100644 --- a/games-misc/fortune-mod/Manifest +++ b/games-misc/fortune-mod/Manifest @@ -1,4 +1,5 @@ DIST fortune-mod-1.99.1.tar.gz 1812089 BLAKE2B a5df4a5a518021073ee95ac7e110ac75b961feb1b4dfcc3a40165ea98859f93e6d002ee4906d3f03a40762503ae475b61399a2bd4144609fa4d9815a1a85fa84 SHA512 4c06ea37532dd59f0251d7c49538bee703852c60a3247aba7c516f4f0d4b8ab15b9d7495d004a6423acd74c4dd7532e3dbe1679d6904ab373b617a3386205cde DIST fortune-mod-3.10.0.tar.xz 1429132 BLAKE2B e2dcfccee0c8d897971e742e4a5e345f9e825ba73479e2dc056891e16f005dc1d1f843573565741d1b35e4e1d1020cd382db9706f34b0caa4000d265a2c4dd30 SHA512 cb4d171405324a8ebac55ca5c7c8d8f5c06b594c2ded1b1c97fb599a4eaf638317f613fbeee4b3ca9ba7060ba4eeff7e678acddac12d49555a33d33017a90f4d DIST fortune-mod-3.12.0.tar.xz 1427848 BLAKE2B 3a3b0c28a0f7c297294b1788c57e01eb78d5083578aba877b896f41b854d2c34f65c9b46a1efe8bfef669f7ced6bb5e8ba667e3df1391a3cd3e5fed22e9058b6 SHA512 3a25d276219bb4f8a3015cd24b43462844d3be481815b587a365acd31dde31afee110dc5a658dd4df43bc6ba7d19e85afeffb215bd8c8f34640d658edb335089 +DIST fortune-mod-3.14.0.tar.xz 1428984 BLAKE2B 9b7df93cd7ced677a391ed30a84503cbd36689de406bbeb346bc9e465420908c9115b0d58e8e0b245f554557f032a014cc52418da4a69281e3844412c8e9641d SHA512 289f11923bd91ac0c46d8879c57c1f4da20ef2ef165be2eea9635b3aca5fc18bfc2438e85bfbc2a872671f41658b68bb3f7dd74bef7e4268889371ff702d7cae DIST fortune-mod-3.6.1.tar.xz 1419132 BLAKE2B 0ff684ee8aaf5eaabd75f187a3bff533ab4ee6e66c47c57fc700d2671006c8dff42f732fde78b40516f8ee907a52fc1965fb0ff257b12563d645f97c5ebc0031 SHA512 3f35bf35d62c46dfeaca450a127a7444bb870f6345c92afe626f81548ac375d21306c00a56d31982b8e25129acd6f829402d5afaec676e1200ad5bf586f7a8f1 diff --git a/games-misc/fortune-mod/files/fortune-mod-3.14.0-valgrind-tests.patch b/games-misc/fortune-mod/files/fortune-mod-3.14.0-valgrind-tests.patch new file mode 100644 index 00000000000..166f8dfcd5b --- /dev/null +++ b/games-misc/fortune-mod/files/fortune-mod-3.14.0-valgrind-tests.patch @@ -0,0 +1,24 @@ +https://git.exherbo.org/arbor.git/plain/packages/games-misc/fortune-mod/files/fortune-mod-Don-t-run-tests-involving-valgrind.patch?id=4c04c9e10bfee01e4c7cc3278c452efb6863d549 + +Upstream: no +Reason: Test wants to install stuff, doesn't work and saves us the dep + +From eabc85921ccb8ffda14d34d26f6486700bf63b8f Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Wed, 15 Dec 2021 17:11:31 +0100 +Subject: [PATCH] Don't run tests involving valgrind + +--- a/run-tests.pl ++++ b/run-tests.pl +@@ -35,11 +35,6 @@ sub do_system + } + } + +-do_system( +- { +- cmd => [ $^X, "$src_dir/tests/scripts/split-valgrind.pl", ] +- } +-); + do_system( + { + cmd => [ diff --git a/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild b/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild index 25e1f06b1ab..d8e680cebc9 100644 --- a/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild +++ b/games-misc/fortune-mod/fortune-mod-1.99.1-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="offensive" DEPEND="app-text/recode:0=" diff --git a/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild index 7c59e9787dd..203ee916b25 100644 --- a/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild +++ b/games-misc/fortune-mod/fortune-mod-3.12.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc64 ~riscv ~sparc x86" IUSE="offensive" DEPEND="app-text/recode:= diff --git a/games-misc/fortune-mod/fortune-mod-3.14.0.ebuild b/games-misc/fortune-mod/fortune-mod-3.14.0.ebuild new file mode 100644 index 00000000000..121927e8d61 --- /dev/null +++ b/games-misc/fortune-mod/fortune-mod-3.14.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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="~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="${DEPEND}" +BDEPEND="app-text/App-XML-DocBook-Builder + 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) + -DLOCALDIR="/usr/share/fortune" + -DCOOKIEDIR="/usr/share/fortune" + ) + + cmake_src_configure +} + +src_test() { + cmake_src_compile check +} + +src_install() { + cmake_src_install + + 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/lolcat/lolcat-100.0.1-r1.ebuild b/games-misc/lolcat/lolcat-100.0.1-r1.ebuild index cd9ab9f497c..c6d1d0dba2b 100644 --- a/games-misc/lolcat/lolcat-100.0.1-r1.ebuild +++ b/games-misc/lolcat/lolcat-100.0.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/games-misc/nyancat/nyancat-1.5.2.ebuild b/games-misc/nyancat/nyancat-1.5.2.ebuild index 19dce0d65b5..1cbd085411f 100644 --- a/games-misc/nyancat/nyancat-1.5.2.ebuild +++ b/games-misc/nyancat/nyancat-1.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/klange/nyancat/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" src_compile() { emake CC="$(tc-getCC)" diff --git a/games-misc/opengfx/files/opengfx-7.1-no-which.patch b/games-misc/opengfx/files/opengfx-7.1-no-which.patch new file mode 100644 index 00000000000..616d2af4107 --- /dev/null +++ b/games-misc/opengfx/files/opengfx-7.1-no-which.patch @@ -0,0 +1,30 @@ +https://github.com/OpenTTD/OpenGFX/pull/80 +--- a/Makefile ++++ b/Makefile +@@ -97,7 +97,7 @@ GREP ?= grep + PYTHON ?= python + + # Graphics processing +-GIMP ?= $(shell which gimp) ++GIMP ?= $(shell command -v gimp) + GIMP_FLAGS ?= -n -i + + # NML +@@ -116,7 +116,7 @@ ifdef PNML_FILES + endif + + # GRF tools +-GRFID ?= $(shell which grfid) ++GRFID ?= $(shell command -v grfid) + GRFID_FLAGS ?= -m + MUSA ?= musa.py + # The license is set via bananas.ini, do not supply a "custom" license. +@@ -606,7 +606,7 @@ endif + ifeq ($(shell echo "$(OSTYPE)" | cut -d_ -f1),MINGW32) + # If CC has been set to the default implicit value (cc), check if it can be used. Otherwise use a saner default. + ifeq "$(origin CC)" "default" +- CC=$(shell which cc 2>/dev/null && echo "cc" || echo "gcc") ++ CC=$(shell command -v cc 2>/dev/null && echo "cc" || echo "gcc") + endif + WIN_VER = $(shell echo "$(OSTYPE)" | cut -d- -f2 | cut -d. -f1) + ifeq ($(WIN_VER),5) diff --git a/games-misc/opengfx/opengfx-7.1.ebuild b/games-misc/opengfx/opengfx-7.1.ebuild index 937e35cb157..23ef30961b8 100644 --- a/games-misc/opengfx/opengfx-7.1.ebuild +++ b/games-misc/opengfx/opengfx-7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,6 +24,10 @@ DEPEND=" DOCS=( "README.md" "changelog.txt" ) +PATCHES=( + "${FILESDIR}"/${PN}-7.1-no-which.patch +) + src_prepare() { default diff --git a/games-misc/openmsx/Manifest b/games-misc/openmsx/Manifest index 10c66a3c2bb..573f92970b0 100644 --- a/games-misc/openmsx/Manifest +++ b/games-misc/openmsx/Manifest @@ -1,2 +1 @@ -DIST openmsx-0.4.0-source.tar.xz 114608 BLAKE2B e693b206cf350ee46b1fc5b7bf4d2a666ae7bee0fea1e2df3a29cfcfd3dbddd58d7d20d8184d6d367d377869ee5e2f970a8721cc1a1ec39babf1352a600bc759 SHA512 9a34a2f7fd9529d8b2d03f47c307a6818ecd753e8f8205c18c966d7425bf8d4a4409cd365b9d1a04d4b00d994da9e73d4270e29af3a388f48f07d3d83486e225 DIST openmsx-0.4.2-source.tar.xz 114804 BLAKE2B 6936fed13d4e2cbd29902c3546693d32171828ef55cacb0a123d144a7dc51f0f01dac6ceae1d57d1bfcb0d926ff800f5aed5ee1ae3733cea32b5d5c35ec58212 SHA512 72258276c81070ea931c26ed153ce26b762663af7fc349f2fb7dcefc49d4ea5914ce726700e06beed80c5d3e1e39040e0c1eecc17daf35b4fa37c27f7ca4730a diff --git a/games-misc/openmsx/openmsx-0.4.0.ebuild b/games-misc/openmsx/openmsx-0.4.0.ebuild deleted file mode 100644 index ce151bce280..00000000000 --- a/games-misc/openmsx/openmsx-0.4.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit python-any-r1 - -DESCRIPTION="Open source music base set for OpenTTD" -HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenMSX https://github.com/OpenTTD/OpenMSX" -SRC_URI="https://cdn.openttd.org/openmsx-releases/${PV}/${P}-source.tar.xz" -S="${WORKDIR}/${P}-source" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -BDEPEND="${PYTHON_DEPS}" - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_install() { - insinto "/usr/share/openttd/baseset/${P}" - doins ${P}/{*.mid,openmsx.obm} - dodoc ${P}/{changelog,readme}.txt -} diff --git a/games-misc/opensfx/files/opensfx-1.0.3-no-which.patch b/games-misc/opensfx/files/opensfx-1.0.3-no-which.patch new file mode 100644 index 00000000000..c0b5dee198e --- /dev/null +++ b/games-misc/opensfx/files/opensfx-1.0.3-no-which.patch @@ -0,0 +1,146 @@ +https://github.com/OpenTTD/OpenSFX/pull/49 +--- a/Makefile ++++ b/Makefile +@@ -98,7 +98,7 @@ all: $(GENERATE_GRF) $(GENERATE_DOC) bundle_tar + MAKE ?= make + MAKE_FLAGS ?= -r + +-NML ?= $(shell which nmlc 2>/dev/null) ++NML ?= $(shell command -v nmlc 2>/dev/null) + NML_FLAGS ?= -c + ifdef REQUIRED_NML_BRANCH + NML_BRANCH = $(shell nmlc --version | head -n1 | cut -d. -f1-2) +@@ -108,7 +108,7 @@ ifdef MIN_NML_REVISION + endif + + ifdef MAIN_SRC_FILE +- CC ?= $(shell which gcc 2>/dev/null) ++ CC ?= $(shell command -v gcc 2>/dev/null) + CC_FLAGS ?= -C -E -nostdinc -x c-header + endif + +@@ -116,11 +116,11 @@ AWK ?= awk + + GREP ?= grep + +-GIT ?= $(shell git status >/dev/null 2>/dev/null && which git 2>/dev/null) ++GIT ?= $(shell git status >/dev/null 2>/dev/null && command -v git 2>/dev/null) + + PYTHON ?= python + +-UNIX2DOS ?= $(shell which unix2dos 2>/dev/null) ++UNIX2DOS ?= $(shell command -v unix2dos 2>/dev/null) + UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 1>&2 2>/dev/null && echo "-q" || echo "") + + ################################################################ +@@ -191,7 +191,7 @@ ifdef GFX_SCRIPT_LIST_FILES + # include dependency file, if we generate graphics + -include Makefile_gfx.dep + +-GIMP ?= $(shell [ `which gimp 2>/dev/null` ] && echo "gimp" || echo "") ++GIMP ?= $(shell [ `command -v gimp 2>/dev/null` ] && echo "gimp" || echo "") + GIMP_FLAGS ?= -n -i -b - < + + %.scm: $(SCRIPT_DIR)/gimpscript $(SCRIPT_DIR)/gimp.sed +@@ -309,26 +309,26 @@ clean:: + # and the distribution bundles like bundle_tar, bundle_zip, ... + + # Programme definitions +-TAR ?= $(shell which tar 2>/dev/null) ++TAR ?= $(shell command -v tar 2>/dev/null) + TAR_FLAGS ?= -cf + +-ZIP ?= $(shell which zip 2>/dev/null) ++ZIP ?= $(shell command -v zip 2>/dev/null) + ZIP_FLAGS ?= -9rq + +-GZIP ?= $(shell which gzip 2>/dev/null) ++GZIP ?= $(shell command -v gzip 2>/dev/null) + GZIP_FLAGS ?= -9f + +-BZIP ?= $(shell which bzip2 2>/dev/null) ++BZIP ?= $(shell command -v bzip2 2>/dev/null) + BZIP_FLAGS ?= -9fk + +-XZ ?= $(shell which xz 2>/dev/null) ++XZ ?= $(shell command -v xz 2>/dev/null) + XZ_FLAGS ?= -efk + + # OSX has nice extended file attributes which create their own file within tars. We don't want those, thus don't copy them + CP_FLAGS ?= $(shell [ "$(OSTYPE)" = "Darwin" ] && echo "-rfX" || echo "-rf") + + # Use the grfID programme to find the checksum which OpenTTD checks +-GRFID ?= $(shell which grfid 2>/dev/null) ++GRFID ?= $(shell command -v grfid 2>/dev/null) + GRFID_FLAGS ?= -m + + # Rules on how to generate filenames. Usually no need to change +@@ -484,7 +484,7 @@ endif + ifeq ($(shell echo "$(OSTYPE)" | cut -d_ -f1),MINGW32) + # If CC has been set to the default implicit value (cc), check if it can be used. Otherwise use a saner default. + ifeq "$(origin CC)" "default" +- CC=$(shell which cc 2>/dev/null && echo "cc" || echo "gcc") ++ CC=$(shell command -v cc 2>/dev/null && echo "cc" || echo "gcc") + endif + WIN_VER = $(shell echo "$(OSTYPE)" | cut -d- -f2 | cut -d. -f1) + ifeq ($(WIN_VER),5) +--- a/Makefile.in ++++ b/Makefile.in +@@ -9,7 +9,7 @@ + > $@ + $(_V) [ -z "$(UNIX2DOS)" ] || $(UNIX2DOS) $(UNIX2DOS_FLAGS) $@ + +-MD5SUM ?= $(shell which md5sum 2>/dev/null) ++MD5SUM ?= $(shell command -v md5sum 2>/dev/null) + + $(SOUND_FILE): $(SRC_DIR)/$(BASE_FILENAME).sfo $(SOUND_FILES) Makefile Makefile.in Makefile.config + # replace the place holders for version and name by the respective variables: +@@ -18,7 +18,7 @@ $(SOUND_FILE): $(SRC_DIR)/$(BASE_FILENAME).sfo $(SOUND_FILES) Makefile Makefile. + $(_V) $(CATCODEC) $(CATCODEC_FLAGS) $(SRC_DIR)/$@ + $(_V) cp $(SRC_DIR)/$@ . + +-ifneq ("$(shell which $(MD5SUM) 2>/dev/null)","") ++ifneq ("$(shell command -v $(MD5SUM) 2>/dev/null)","") + $(OBS_FILE): $(SOUND_FILE) $(LANG_FILES) Makefile Makefile.in Makefile.config + $(_E) "[Generating:] $@" + @echo "[metadata]" > $@ +--- a/Makefile.local.sample ++++ b/Makefile.local.sample +@@ -57,7 +57,7 @@ + # UNIX2DOS_FLAGS = -q + # NML_FLAGS = + +-# NFORENUM = $(shell [ `which nforenum 2>/dev/null` ] && echo "nforenum" || echo "renum") ++# NFORENUM = $(shell [ `command -v nforenum 2>/dev/null` ] && echo "nforenum" || echo "renum") + # GRFCODEC = grfcodec + # TAR = tar + # ZIP = zip +@@ -67,7 +67,7 @@ + # AWK = awk + # GIT = git + # MAKE = make +-# UNIX2DOS = $(shell [ `which unix2dos 2>/dev/null` ] && echo "unix2dos" || echo "") ++# UNIX2DOS = $(shell [ `command -v unix2dos 2>/dev/null` ] && echo "unix2dos" || echo "") + # MD5SUM = $(shell [ "$(OSTYPE)" = "Darwin" ] && echo "md5 -r" || echo "md5sum") + # NML = nml.py + +--- a/scripts/Makefile.def ++++ b/scripts/Makefile.def +@@ -24,7 +24,7 @@ NML_FLAGS ?= + CP_FLAGS ?= $(shell [ "$(OSTYPE)" = "Darwin" ] && echo "-rfX" || echo "-rf") + + +-NFORENUM ?= $(shell [ `which nforenum 2>/dev/null` ] && echo "nforenum" || echo "renum") ++NFORENUM ?= $(shell [ `command -v nforenum 2>/dev/null` ] && echo "nforenum" || echo "renum") + GRFCODEC ?= grfcodec + CATCODEC ?= catcodec + TAR ?= tar +@@ -35,7 +35,7 @@ CC ?= gcc + AWK ?= awk + GIT ?= git + MAKE ?= make +-UNIX2DOS ?= $(shell [ `which unix2dos 2>/dev/null` ] && echo "unix2dos" || echo "") ++UNIX2DOS ?= $(shell [ `command -v unix2dos 2>/dev/null` ] && echo "unix2dos" || echo "") + # Macs have a different md5 command than linux or mingw envirnoment: + MD5SUM ?= $(shell [ "$(OSTYPE)" = "Darwin" ] && echo "md5 -r" || echo "md5sum") + NML ?= nml2nfo diff --git a/games-misc/opensfx/opensfx-1.0.3.ebuild b/games-misc/opensfx/opensfx-1.0.3.ebuild index 04d1840a5c0..e36280e714b 100644 --- a/games-misc/opensfx/opensfx-1.0.3.ebuild +++ b/games-misc/opensfx/opensfx-1.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,6 +14,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" DEPEND="games-util/catcodec" +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3-no-which.patch +) + src_install() { emake INSTALL_DIR="${ED}/usr/share/openttd/baseset/" install dodoc docs/{changelog.txt,readme.ptxt} diff --git a/games-misc/ponysay/ponysay-3.0.3.ebuild b/games-misc/ponysay/ponysay-3.0.3.ebuild index a209a7a5ec5..cc2080eb00b 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-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit bash-completion-r1 python-single-r1 DESCRIPTION="cowsay reimplemention for ponies" @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/erkin/ponysay" SRC_URI="https://github.com/erkin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~m68k ~x86" IUSE="doc +non-free bash-completion fish-completion zsh-completion" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild index 8519be5e183..50d329f815e 100644 --- a/games-misc/sdljoytest/sdljoytest-11102003.ebuild +++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild @@ -1,26 +1,25 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + inherit toolchain-funcs DESCRIPTION="SDL app to test joysticks and game controllers" HOMEPAGE="http://sdljoytest.sourceforge.net/" SRC_URI="mirror://sourceforge/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2" +S="${WORKDIR}"/SDLJoytest-GL LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" DEPEND="media-libs/libsdl[joystick,opengl,video] virtual/opengl media-libs/sdl-image" RDEPEND="${DEPEND}" -S=${WORKDIR}/SDLJoytest-GL - -PATCHES=("${FILESDIR}"/${P}-no-common.patch) +PATCHES=( "${FILESDIR}"/${P}-no-common.patch ) src_prepare() { default @@ -31,7 +30,7 @@ src_prepare() { src_compile() { emake \ - CC=$(tc-getCC) \ + CC="$(tc-getCC)" \ CFLAGS="$(sdl-config --cflags) ${CFLAGS}" \ LDFLAGS="$(sdl-config --libs) -lGL ${LDFLAGS}" } diff --git a/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild b/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild new file mode 100644 index 00000000000..04757b7a0cc --- /dev/null +++ b/games-misc/usolitaire/usolitaire-0.2.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="solitaire in your terminal" +HOMEPAGE="https://github.com/eliasdorneles/usolitaire" +SRC_URI="https://github.com/eliasdorneles/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/urwid[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/games-misc/usolitaire/usolitaire-0.2.1.ebuild b/games-misc/usolitaire/usolitaire-0.2.1.ebuild index 0b4637d2f29..63ad95ac1bf 100644 --- a/games-misc/usolitaire/usolitaire-0.2.1.ebuild +++ b/games-misc/usolitaire/usolitaire-0.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="solitaire in your terminal" diff --git a/games-misc/wtf/wtf-20210416.ebuild b/games-misc/wtf/wtf-20210416.ebuild index ac5ded279ab..10676a8aa07 100644 --- a/games-misc/wtf/wtf-20210416.ebuild +++ b/games-misc/wtf/wtf-20210416.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://sourceforge.net/projects/bsd${PN}/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" RDEPEND="!<=games-misc/bsd-games-3" diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest index a9444f62857..b5e8498a39b 100644 --- a/games-misc/xcowsay/Manifest +++ b/games-misc/xcowsay/Manifest @@ -1 +1 @@ -DIST xcowsay-1.5.1.tar.gz 101281 BLAKE2B 568f6ad7225cd859c37d79bf3ddf66c184f47d8feb6dedbafbd29ca4e05d97d883c6d6e4f4d60cebe107f1527e1ff01e17ec61430a3e55e2f504c2c00e402488 SHA512 55c165b5b2c01b11463af0eeb13fd646ea50138e2938ddfc25d44f1a704b7473d047bc7c95165f449a600de51ee005904f007843e33a8ef02c725b827eaec616 +DIST xcowsay-1.6.tar.gz 292845 BLAKE2B 88597063616928edfc74830171b287b676163faca0b3545dc4495cb0faee810ca7867f36223bba726074866de7fb3458621670265250c846ce94c035a0ad0828 SHA512 53016e1b2790b8bc213702f1b99a0ca0cacc57ef1c2cf821814ecb4aff68df05c98b279a1f39718f4fcee771e1397b27ad43123314b1f04dd442ddc0520a9f98 diff --git a/games-misc/xcowsay/xcowsay-1.5.1.ebuild b/games-misc/xcowsay/xcowsay-1.6.ebuild index 53da3b690e1..12b92df226d 100644 --- a/games-misc/xcowsay/xcowsay-1.5.1.ebuild +++ b/games-misc/xcowsay/xcowsay-1.6.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -MY_PV="r${PV}" +EAPI=8 inherit autotools @@ -12,8 +10,7 @@ HOMEPAGE=" https://github.com/nickg/xcowsay https://www.doof.me.uk/xcowsay/ " -SRC_URI="https://github.com/nickg/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" +SRC_URI="https://github.com/nickg/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" @@ -24,6 +21,7 @@ RESTRICT="test" RDEPEND=" dev-libs/glib:2 x11-libs/cairo + x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 x11-libs/pango dbus? ( dev-libs/dbus-glib ) diff --git a/games-misc/xpenguins/Manifest b/games-misc/xpenguins/Manifest index d00548dcab5..f940e6b828b 100644 --- a/games-misc/xpenguins/Manifest +++ b/games-misc/xpenguins/Manifest @@ -1,2 +1 @@ -DIST xpenguins-2.2.tar.gz 275210 BLAKE2B e9d20cf8fe210f00dcdaf7789d7fb5f477c6623b81e2ae4071367bc2d645f2e8d719d4ecb59e34642a26a3626ba97bbdc5b2abf632f32935d7cf38c6457c5539 SHA512 cb24e17a5a19df0de162b2214dec2fbfc07396cdea9d138b8426d8fc38e248b1faba65ebfb8ba74a5cf515063ba8f4032c4588586b23b5be6aa0a208cfcfebf1 -DIST xpenguins_themes-1.0.tar.gz 215487 BLAKE2B 922d360ed38959bc3e0452949c68f3438d4e2bfa3f8abce997888e2e288e420cae92ef51ebad17a88bd71bbc9f86d8a65d2d49d302d85b6927551144e4cf7cfb SHA512 577dedccfff8f4581c9285deb809d43a09631e15461783bfb5f00d2bf0e687d54f04ad3bcf1051113777d74f57c94c278b99749265a3efe8ebc6aabb1501eaf8 +DIST xpenguins-3.2.1.tar.gz 411421 BLAKE2B f12cbd907479b02a1e25d10ab48f29d6643a209bb424b3a4536f946f4a49b3fdac9a8f0598b63265ed10be45e623ecc98296eda36dc7e91f47d0c16174c5fb7e SHA512 de1382ff054a7c2dbf99f0c7004bde82aef2725981515954095d776208310c18130ffb5c16285f6190c68c498bb55b26af3bf783475ad703c211d1f9fd7d1a0b diff --git a/games-misc/xpenguins/metadata.xml b/games-misc/xpenguins/metadata.xml index 1c3ba213c49..9e11e30cb08 100644 --- a/games-misc/xpenguins/metadata.xml +++ b/games-misc/xpenguins/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">xpenguins</remote-id> + </upstream> </pkgmetadata> diff --git a/games-misc/xpenguins/xpenguins-2.2-r2.ebuild b/games-misc/xpenguins/xpenguins-2.2-r2.ebuild deleted file mode 100644 index d3d5a27a083..00000000000 --- a/games-misc/xpenguins/xpenguins-2.2-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -THEMES_VERSION="1.0" -DESCRIPTION="Cute little penguins invading your desktop" -HOMEPAGE="http://xpenguins.seul.org/" -SRC_URI="http://xpenguins.seul.org/${P}.tar.gz - http://xpenguins.seul.org/xpenguins_themes-${THEMES_VERSION}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~x86" -IUSE="" - -RDEPEND="x11-libs/libXpm" -DEPEND="${RDEPEND} - x11-base/xorg-proto" - -src_install() { - default - insinto /usr/share/${PN} - doins -r ../themes/ -} diff --git a/games-misc/xpenguins/xpenguins-3.2.1.ebuild b/games-misc/xpenguins/xpenguins-3.2.1.ebuild new file mode 100644 index 00000000000..4318f0b2f2a --- /dev/null +++ b/games-misc/xpenguins/xpenguins-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Cute little penguins invading your desktop" +HOMEPAGE="https://ratrabbit.nl/ratrabbit/software/xpenguins/" +SRC_URI="mirror://sourceforge/xpenguins/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig" |