diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /games-emulation | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/Manifest.gz | bin | 9689 -> 9698 bytes | |||
-rw-r--r-- | games-emulation/atari800/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/atari800/atari800-4.2.0-r1.ebuild (renamed from games-emulation/atari800/atari800-4.2.0.ebuild) | 17 | ||||
-rw-r--r-- | games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch | 4 | ||||
-rw-r--r-- | games-emulation/atari800/files/atari800-4.2.0-bashisms.patch | 47 | ||||
-rw-r--r-- | games-emulation/gnuboy/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch | 25 | ||||
-rw-r--r-- | games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch | 5 | ||||
-rw-r--r-- | games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild | 60 | ||||
-rw-r--r-- | games-emulation/gnuboy/gnuboy-1.0.3-r4.ebuild | 58 |
10 files changed, 151 insertions, 75 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz Binary files differindex 8ef2b1953cc2..cf9de0443445 100644 --- a/games-emulation/Manifest.gz +++ b/games-emulation/Manifest.gz diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest index 166f659d310a..1044275e81ce 100644 --- a/games-emulation/atari800/Manifest +++ b/games-emulation/atari800/Manifest @@ -1,6 +1,7 @@ -AUX atari800-3.1.0-tgetent-detection.patch 690 BLAKE2B 49016e922f66214dadd0da179679e61f9359f93020d964f4ccd4b0b27da5ceb0fcdc0eedee6b891f8090bfe2c2d4fb23bbbc8130e660a1b84df8434101248f90 SHA512 dc045dc72b011fe2fab1b440a5fc50c3a34dcb4cd867efa9a8276cc770f21778732adf6c59e5a3daec0cd37364a83f877c739d1120d468af9372d088895850e5 +AUX atari800-3.1.0-tgetent-detection.patch 671 BLAKE2B 53a2e53316957849c9d5e2bb74896026532e1889f7c28b350753d6e2934ed2d27c27a18dd2e3964420c03f3c78553e0e3aa67c025d27c0195953608194ba0905 SHA512 844f95c4f735bd49dd76256fb01a5fef540eca00f12006350393b46e474fe75463573331fb2671bcbbbe6f7ce8c4b2f836c74dc986fd7dd1a687bf4f6ba6a19a +AUX atari800-4.2.0-bashisms.patch 1582 BLAKE2B deb25311acf1ace15168d0af4e010bd94bb9a675a8f78df3a2490a0cb9e9cb65418640080111dfee5bb3737bc2ade75dc007a4f3c9bbf48221f241c8682c975b SHA512 c48f853d078b15ba10c9b20a56e349f8705840d9da5ee04bf6d1d6b6ca1c9068b50467729a3e63672304246f1f20958c8e8bef4ec7d83c0c91b750b67656991c AUX atari800-4.2.0.cfg 682 BLAKE2B 78df9048da4010676e9b0b60705ccc4722e7b81602585c3040f846088a7acd6a04133b3cde163f01b0096997eb6182d96d3782e04d8611ba8dc0f81c1e67abdd SHA512 357eb14d270297a90b52d33da98958e434847b84a00896b0cf93257955cab1fb4a214ac0a2a081a8773def9e99a95c6a6ad127b3dd4e7ed9fcbdec57b66d6fad DIST atari800-4.2.0-src.tgz 7047710 BLAKE2B eac4b2da03d2ff5ec9e18dda41e0345975ed16c1cee23d15d2633211b7d4835b7a26c79fbf1672bb9ce3b82d52c7273e717371a0065ba29807f76d823eeb9855 SHA512 1236a8e05bf878e4514ae8e9f1556e0961a7f11ff0333eef415af455d217f712d5c6ededdd343dff6ba1aab777e19997bf9ecb859408187d69fc141301ecba31 DIST xf25.zip 188942 BLAKE2B c10b9108eebc571ac334ea6fca76d227e3d2fcde1595e8823a3d178dc31d9efa9b209572ee03875461289093615470192cf5c9a06cf0b4363d097a9eac201db4 SHA512 306612fc2af41ed10d76103af83e141cfd8bd3ba2ea3cbd1d0b81d4d5b0108c06948a5c626648c8a2424536757a42a3f8b9af1fb63fa3c31096447ffed0f9923 -EBUILD atari800-4.2.0.ebuild 1393 BLAKE2B 505c9360f051eb7e72f5830cd1b1e26e5c17e1ee1a1eda5c565eab28d5eac6089c9ba5a3541780d484de653a9ac21774df14142c3daf99584886f5c093c0a936 SHA512 086362da958d0b9c9ebf4a3f746c85cafd2e2cdef57962f70b2ac97b313b2455a96def718c9a27769334c5d44e6d96f082f56005d3810ea1b37c2e4058d53712 +EBUILD atari800-4.2.0-r1.ebuild 1502 BLAKE2B e880601e15c1581698677ec856581bed8a3509b14d9fe007f9e64ca487265eb537fb9662e2a5687aa76036d2fa670c3bf2d6bdf49dd3385f290f53235b3cde58 SHA512 de527a7266603ff75a7f41511915110d14b83533056045d863d0401112886239a3d5db5436ee9342ad8d359fd8198e4945022f7dbaf184d334a8df6575add5ac MISC metadata.xml 1134 BLAKE2B 80b312e7a4f7c30291d48abfbd7e001b0c4a288326b65d7607715ac8353c8f78b8e2b0c18d0414f66c9deb2184fee90f5da774c07eb33a83d5e6d3618254eaf5 SHA512 ffdf180d2119072cab24fd96229a643cb4f3862fbfe20562a0d95263454cdef5c48fa20be80383cb3043802be02d2a1036684981bd885d6a691776903de96d34 diff --git a/games-emulation/atari800/atari800-4.2.0.ebuild b/games-emulation/atari800/atari800-4.2.0-r1.ebuild index f49f59bcd447..25d867bd8214 100644 --- a/games-emulation/atari800/atari800-4.2.0.ebuild +++ b/games-emulation/atari800/atari800-4.2.0-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit desktop autotools + +inherit autotools desktop DESCRIPTION="Atari 800 emulator" HOMEPAGE="https://atari800.github.io/" @@ -18,7 +19,7 @@ REQUIRED_USE="opengl? ( sdl )" RDEPEND=" sdl? ( - >=media-libs/libsdl-1.2.0[opengl?,sound?,video] + >=media-libs/libsdl-1.2.0[joystick,opengl?,sound?,video] ) !sdl? ( sys-libs/ncurses:= @@ -30,16 +31,20 @@ RDEPEND=" media-libs/libpng:= sys-libs/zlib " -DEPEND=${RDEPEND} +DEPEND="${RDEPEND}" BDEPEND=" app-arch/unzip " src_prepare() { - default + local PATCHES=( + # Bug 544608 + "${FILESDIR}"/atari800-3.1.0-tgetent-detection.patch + # https://github.com/atari800/atari800/pull/140 + "${FILESDIR}"/${P}-bashisms.patch + ) - # Bug 544608 - eapply -p2 "${FILESDIR}/atari800-3.1.0-tgetent-detection.patch" + default eautoreconf } diff --git a/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch index 018e423af6b4..487577e5b1a4 100644 --- a/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch +++ b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch @@ -1,6 +1,6 @@ diff -ruN atari800-3.1.0/src/configure.ac new/src/configure.ac ---- atari800-3.1.0/src/configure.ac 2014-04-12 15:58:16.000000000 +0200 -+++ new/src/configure.ac 2015-03-26 23:36:24.419178078 +0100 +--- src/configure.ac 2014-04-12 15:58:16.000000000 +0200 ++++ src/configure.ac 2015-03-26 23:36:24.419178078 +0100 @@ -982,7 +982,7 @@ dnl existence of the tgetent symbol in readline. If not, we search for tgetent dnl in a few other libraries. All done with a single AC_SEARCH_LIBS statement. diff --git a/games-emulation/atari800/files/atari800-4.2.0-bashisms.patch b/games-emulation/atari800/files/atari800-4.2.0-bashisms.patch new file mode 100644 index 000000000000..117bf1feee86 --- /dev/null +++ b/games-emulation/atari800/files/atari800-4.2.0-bashisms.patch @@ -0,0 +1,47 @@ +From 92b1d0d2ea8cc87bf6a9b9084aa76ca3580d5e4e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Thu, 19 Aug 2021 09:26:41 +0200 +Subject: [PATCH] configure.ac: Fix compatibility with dash shell + +Fix the compatibility of the configure script with the dash shell +by replacing the use of bash-specific '==' operator with plain '='. +The calls in question do not utilize the pattern-matching behavior +of '=='. +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index c872a9b3..283c90e2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -709,7 +709,7 @@ AC_DEFUN([A8_OPTION],[ + fi + ]) + +-if [[ "$a8_target" == "libatari800" ]]; then ++if [[ "$a8_target" = "libatari800" ]]; then + WANT_NEW_CYCLE_EXACT=yes + WANT_VERY_SLOW=no + WANT_CRASH_MENU=no +@@ -1040,7 +1040,7 @@ if [[ "$with_sound" != no ]]; then + VOICEBOX,[Define to emulate the Alien Group Voice Box.] + ) + +- if [[ "$with_sound" == "libatari800" ]]; then ++ if [[ "$with_sound" = "libatari800" ]]; then + WANT_SOUND_CALLBACK=no + WANT_CONSOLE_SOUND=yes + WANT_SERIO_SOUND=yes +@@ -1094,7 +1094,7 @@ A8_OPTION(pokeyrec,$WANT_POKEYREC, + [Provide Pokey registers recording (default=ON)], + POKEYREC,[Define to add Pokey registers recording.] + ) +-if [[ "$WANT_POKEYREC" == "yes" ]]; then ++if [[ "$WANT_POKEYREC" = "yes" ]]; then + AC_SYS_LARGEFILE + fi + AM_CONDITIONAL([WANT_POKEYREC], test "$WANT_POKEYREC" = "yes") +-- +2.33.0 + diff --git a/games-emulation/gnuboy/Manifest b/games-emulation/gnuboy/Manifest index 91a13c156629..e7af0b420ba4 100644 --- a/games-emulation/gnuboy/Manifest +++ b/games-emulation/gnuboy/Manifest @@ -1,6 +1,7 @@ AUX gnuboy-1.0.3-exec-stack.patch 487 BLAKE2B 09cc0019eed65610d67b4c305588b990c9458f8d59349b98fb9ddb274b614c85548928ee38ef68db871db095be40da6450c1444d45f72eb997db9d348eae0332 SHA512 b579b15906bf104f9db86bb49452c26a3eff0cebe2a66349f3b308742d9fe29823879df7658ce542a2d7397b664b7ba5297eb3c266fab1ddfb32ad73da78a693 -AUX gnuboy-1.0.3-include.patch 350 BLAKE2B 30d5bd6fc959e56cd3f6a49b38b86f973cb2b119856921675cdd1c5b665e13e62e9fd675adbc5340c9e1ed715aead8445c50e63b78a31106497fdf08cbcb79a7 SHA512 9815515c39bf0a387b32e0038a050dd7ca51b5b47d539ee39fcb77b1908735890aac9abfd7d1fe03733d7c9359398b1688f401aa2170ac48d0ed6d2d50acf04d +AUX gnuboy-1.0.3-fix-implicit-decl-sprintf.patch 484 BLAKE2B c71e99ace73ab61cdf2c3f1b411b0bc2fb0cc6c50d446c1b11f642e1cb8fc08b00863b67c16a533d96f94b2050c36b5af5b78341190bad7fdf17d602c7063056 SHA512 3dd074feef0737904f97915b754b52ae26944d062af3127d7a8ef713ca04ffb0e35bb5a47380eac4800bd611475f7fa3ec1d0b4ce5c845edab116c91f31ee6cf +AUX gnuboy-1.0.3-include.patch 197 BLAKE2B e6a5b6ce07a11acd331205728165567da8ebdb36c9df86c61dc138fdf649ea67631ae34e6bba0a95ee0a4313d6647eae0499080d71c35b3a379a632d9c89ddc6 SHA512 94925dc12e1410c6309f5d3aac9f074876f12e92f58304ae0f001feeb6c159b76b53dcafbb337592ac84655deb1c92cef57348e2ac2ce142247bc134d38367cc AUX gnuboy-1.0.3-linux-headers.patch 1721 BLAKE2B 2ce538da8270a7893ddeb4233954b9abc8237785ed085cef8129108eaef93d5c34e37b65db246c91c61b2b7e71bf452b0317ceb5ee7b5a169b764e5f1fb44790 SHA512 710fd830cabea8fee05ab07a6342470a1176d7ed1c5ed14c110f47218d7d3b57704c09e0887da6152b05ed1b12e5a6959efde865359c220756176290617b3917 DIST gnuboy-1.0.3.tar.gz 187627 BLAKE2B 1fe01abceae56244d28544f10cc5659063cfe19ac491374bcb2b818f01385e065385fcba01e0038f51d4b29bcb3018f02402adb820c0a556c201334766595a51 SHA512 89e8075dac5ec17b375a5739367b46c55130211fb487a052be1cca49a5d86cc1a7f1619b2b2473d744fbe3c51fdb1a11110b15836cc9cc9de588932b91d258e6 -EBUILD gnuboy-1.0.3-r2.ebuild 1068 BLAKE2B 8f750b31e7ce52c19992abbf167385d217a78f114f548e8ef39f4648b099e3ea98066cedf7a80129b54f8fb957bde2579090a7f5b2fb025980197448f326801a SHA512 7eb6e0885259eb224d93b1505d943113f8db50e2ca08efd50368ec941dcd96bddf78b7d624d383323736146b136f75e5ae49497112bc936c4764436d5fa61d28 +EBUILD gnuboy-1.0.3-r4.ebuild 1047 BLAKE2B 393a0c3dfcdb27314cfecec5fd8a7bcde30a17ba542ec29617519d851d676ce5ef2ebf4e81d575bf06bed03041b49d41cb9ae4ff9690264df940511d32b5ab69 SHA512 d13270e1bc122bc33624bd4f6a63ae21bfe9c13fee531d7cd93f836583cf868b5ba5b68648fcdeed50b51c410199184487c99045655eb522d1e0859448f66110 MISC metadata.xml 329 BLAKE2B 121873380b3adf5f6fc460d258de391a75a04f4d50b285c1f882e7461814133507981e7829ae1a783eddfc56933c328fdced934d04e5092a9c0e0f6eca7bfbdf SHA512 79c14f0442b618a82acc9b067360ef978d009fb61a44d869d0c6b4df375b005bc721ce8b90ac80be2bdb8e40e95e111b941a5ac9f006470eefc3b41459b52463 diff --git a/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch b/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch new file mode 100644 index 000000000000..5b4cbfd1cc70 --- /dev/null +++ b/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch @@ -0,0 +1,25 @@ +From 2c881f1ec456bab7deb4163a2f96814b479a81d7 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 19 Aug 2021 01:19:30 +0100 +Subject: [PATCH] Fix implicit declaration of sprintf + +--- a/exports.c ++++ b/exports.c +@@ -1,6 +1,7 @@ + + + #include <stdlib.h> ++#include <stdio.h> + + #include "rc.h" + +--- a/sys/linux/fbdev.c ++++ b/sys/linux/fbdev.c +@@ -9,6 +9,7 @@ + + + #include <stdlib.h> ++#include <stdio.h> + #include <string.h> + #include <unistd.h> + #include <sys/mman.h> diff --git a/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch b/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch index 15573000511e..61b776f00089 100644 --- a/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch +++ b/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch @@ -1,6 +1,5 @@ -diff -ru gnuboy-1.0.3.orig/defs.h gnuboy-1.0.3/defs.h ---- gnuboy-1.0.3.orig/defs.h 2001-01-23 07:04:22.000000000 -0500 -+++ gnuboy-1.0.3/defs.h 2014-07-04 03:56:46.685149736 -0400 +--- a/defs.h ++++ b/defs.h @@ -4,6 +4,10 @@ #ifndef __DEFS_H__ #define __DEFS_H__ diff --git a/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild b/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild deleted file mode 100644 index 177799b9c235..000000000000 --- a/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="Gameboy emulator with multiple renderers" -HOMEPAGE="https://sourceforge.net/projects/gnuboy/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X sdl" - -RDEPEND=" - sdl? ( media-libs/libsdl ) - !X? ( media-libs/libsdl ) - X? ( x11-libs/libXext ) -" -DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto ) -" - -src_prepare() { - default - eapply \ - "${FILESDIR}"/${P}-exec-stack.patch \ - "${FILESDIR}"/${P}-linux-headers.patch \ - "${FILESDIR}"/${P}-include.patch - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - local myconf - - if ! use X ; then - myconf="--with-sdl" - fi - - econf \ - $(use_with X x) \ - $(use_with sdl) \ - $(use_enable x86 asm) \ - ${myconf} \ - --disable-arch \ - --disable-optimize -} - -src_install() { - for f in sdlgnuboy xgnuboy - do - if [[ -f ${f} ]] ; then - dobin ${f} - fi - done - dodoc README docs/{CHANGES,CONFIG,CREDITS,FAQ,HACKING,WHATSNEW} -} diff --git a/games-emulation/gnuboy/gnuboy-1.0.3-r4.ebuild b/games-emulation/gnuboy/gnuboy-1.0.3-r4.ebuild new file mode 100644 index 000000000000..6fcd97ea2826 --- /dev/null +++ b/games-emulation/gnuboy/gnuboy-1.0.3-r4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Gameboy emulator with multiple renderers" +HOMEPAGE="https://sourceforge.net/projects/gnuboy/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X +sdl" +REQUIRED_USE="!X? ( sdl )" + +RDEPEND=" + X? ( + x11-libs/libX11 + x11-libs/libXext + ) + sdl? ( media-libs/libsdl[joystick,sound,video] )" +DEPEND=" + ${RDEPEND} + X? ( x11-base/xorg-proto )" + +PATCHES=( + "${FILESDIR}"/${P}-exec-stack.patch + "${FILESDIR}"/${P}-linux-headers.patch + "${FILESDIR}"/${P}-include.patch + "${FILESDIR}"/${P}-fix-implicit-decl-sprintf.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local econfargs=( + $(use_with X x) + $(use_with sdl) + $(use_enable x86 asm) + --disable-arch + --disable-optimize + ) + + econf "${econfargs[@]}" +} + +src_install() { + use X && dobin xgnuboy + use sdl && dobin sdlgnuboy + + dodoc README docs/{CHANGES,CONFIG,CREDITS,FAQ,HACKING,WHATSNEW} +} |