Upgrade requirements...

This commit is contained in:
Kolan Sh 2021-05-10 23:42:30 +03:00
parent 80d50e52e4
commit b4a3d1e6e8
6 changed files with 6 additions and 137 deletions

View File

@ -1 +0,0 @@
DIST gens-gs-r7.tar.gz 3525070 SHA256 6320cd7bee85472891e1e29b21731d2c8180d04db67ee21256491f3f9ad145c1 SHA512 8089ec6c1753481f6c3e0721b4d94fa933ef3211e871ab45b54be58107df7c39ed32f5125b2630f46e45df9604a5291220521aace2d149b73a3932b313b4bbaa WHIRLPOOL 36917fb3ccdd926af6fe505e0d946e6271a41643c736122080b219e3cf5eb49eba8643d16595bbecda27c71c9a09eaee40bf4adec17edd196925bbceb34d2c98

View File

@ -1,44 +0,0 @@
diff -ur ./gens-gs-r7/src/cbob/Makefile.am ./gens-gs-r7-amd64/src/cbob/Makefile.am
--- ./gens-gs-r7/src/cbob/Makefile.am 2009-10-12 01:08:43.000000000 +0400
+++ ./gens-gs-r7-amd64/src/cbob/Makefile.am 2014-03-21 21:35:03.188561520 +0400
@@ -10,7 +10,7 @@
# cross-compiling for Win32.
# NOTE: This will only work with gcc.
cbob.o: cbob.c
- $(build_alias)-gcc -o cbob.o -c ${srcdir}/cbob.c
+ $(CC) -o cbob.o -c ${srcdir}/cbob.c
cbob$(EXEEXT): cbob.o
- $(build_alias)-gcc -o cbob$(EXEEXT) cbob.o
+ $(CC) -o cbob$(EXEEXT) cbob.o
diff -ur ./gens-gs-r7/src/starscream/Makefile.am ./gens-gs-r7-amd64/src/starscream/Makefile.am
--- ./gens-gs-r7/src/starscream/Makefile.am 2009-11-02 03:11:43.000000000 +0300
+++ ./gens-gs-r7-amd64/src/starscream/Makefile.am 2014-03-21 21:34:36.571017240 +0400
@@ -17,9 +17,9 @@
# cross-compiling for Win32.
# NOTE: This will only work with gcc.
star_m68k$(EXEEXT):
- $(build_alias)-gcc -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c
+ $(CC) -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c
star_s68k$(EXEEXT):
- $(build_alias)-gcc -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c
+ $(CC) -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c
main68k.asm: star_m68k$(EXEEXT)
./star_m68k$(EXEEXT) main68k.asm -hog -name main68k_
diff -ur ./gens-gs-r7/src/starscream/Makefile.in ./gens-gs-r7-amd64/src/starscream/Makefile.in
--- ./gens-gs-r7/src/starscream/Makefile.in 2014-03-21 21:34:10.838491057 +0400
+++ ./gens-gs-r7-amd64/src/starscream/Makefile.in 2014-03-21 21:34:36.571017240 +0400
@@ -642,9 +642,9 @@
# cross-compiling for Win32.
# NOTE: This will only work with gcc.
star_m68k$(EXEEXT):
- $(build_alias)-gcc -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c
+ $(CC) -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c
star_s68k$(EXEEXT):
- $(build_alias)-gcc -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c
+ $(CC) -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c
main68k.asm: star_m68k$(EXEEXT)
./star_m68k$(EXEEXT) main68k.asm -hog -name main68k_
Только в ./gens-gs-r7-amd64/src/starscream: Makefile.in.orig

View File

@ -1,14 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 7a5bac4..92a150b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,9 +195,6 @@ ifdef(
)
AC_DEFINE(GENS_UI_GTK, 1, Enable the GTK+ UI)
-# TODO: Disable deprecated GTK+ features.
-GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_DEPRECATED -DDISABLE_DEPRECATED -DGSEAL_ENABLE"
-
#elif test x$ui = xqt4; then
#
# Qt4

View File

@ -1,9 +0,0 @@
diff -ur ./gens-gs-r7/src/gens/Makefile.unix.inc.am ./gens-gs-r7-r1/src/gens/Makefile.unix.inc.am
--- ./gens-gs-r7/src/gens/Makefile.unix.inc.am 2009-11-22 20:42:02.000000000 +0300
+++ ./gens-gs-r7-r1/src/gens/Makefile.unix.inc.am 2014-03-22 22:33:10.758229054 +0400
@@ -139,3 +139,5 @@
if GENS_OPENGL
gens_LDADD += @GL_LIBS@
endif
+
+gens_LDADD += -ldl -lX11

View File

@ -1,66 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit autotools eutils flag-o-matic games
MY_PV="r${PV}"
DESCRIPTION="A Gens fork which aims to clean up the source code and combine features from other forks"
HOMEPAGE="http://info.sonicretro.org/Gens/GS"
SRC_URI="http://www.soniccenter.org/gerbilsoft/gens/${MY_PV}/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="opengl"
RDEPEND="opengl? (
virtual/opengl[abi_x86_32]
)
>=media-libs/libsdl-1.2[opengl?,abi_x86_32]
x11-libs/gtk+:2[abi_x86_32]
!games-emulation/gens
"
DEPEND="${RDEPEND}
>=dev-lang/nasm-0.98
"
S="${WORKDIR}/${PN}-r${PV}"
PATCHES=(
"${FILESDIR}/gtk_build_fix.patch"
"${FILESDIR}/amd64.patch"
"${FILESDIR}/libtool.patch"
)
DOCS=( "ChangeLog.txt" )
src_prepare() {
base_src_prepare
sed -i '1i#define OF(x) x' src/extlib/minizip/ioapi.h
append-ldflags -Wl,-z,noexecstack
eautoreconf
}
src_configure() {
use amd64 && multilib_toolchain_setup x86
egamesconf \
$(use_with opengl) \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|| die "econf failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
einstalldocs
make_desktop_entry gens "Gens/GS" "/usr/share/games/gens/gensgs_48x48.png"
prepgamesdirs
}

View File

@ -32,6 +32,7 @@ app-office/libreoffice-l10n ~amd64
app-text/par ~amd64
<app-text/stardict-5 ~amd64
<app-vim/youcompleteme-20170101 ~amd64
dev-cpp/abseil-cpp ~amd64
<dev-cpp/rttr-0.10 ~amd64
dev-embedded/u-boot-tools ~amd64
<dev-games/physfs-3.1 ~amd64
@ -176,6 +177,7 @@ games-util/game-device-udev-rules ~amd64
<kde-frameworks/solid-5.78 ~amd64
<kde-frameworks/sonnet-5.78 ~amd64
<lxde-base/menu-cache-1.2 ~amd64
media-gfx/blender ~amd64
<media-gfx/freecad-1 ~amd64
media-gfx/geeqie ~amd64
<media-gfx/inkscape-0.93 ~amd64
@ -187,7 +189,7 @@ media-gfx/geeqie ~amd64
<media-libs/libaom-1.1 ~amd64
<media-libs/libtgvoip-2.5 ~amd64
=media-libs/libfilteraudio-9999 **
<media-libs/libvpx-1.9 ~amd64
media-libs/libvpx ~amd64
<media-libs/libwebp-1.2 ~amd64
<media-libs/mlt-6.19 ~amd64
<media-libs/openimageio-1.9 ~amd64
@ -217,6 +219,7 @@ net-im/zoom ~amd64
<net-libs/libexosip2-6 ~amd64
<net-libs/libtorrent-rasterbar-1.3 ~amd64
=net-libs/tox-9999 **
net-libs/usrsctp ~amd64
<net-misc/curl-8 ~amd64
<net-misc/dhcpcd-9.4 ~amd64
<net-misc/freerdp-2.1 ~amd64
@ -243,8 +246,8 @@ sys-boot/unetbootin ~amd64
<sys-fs/multipath-tools-1 ~amd64
<sys-kernel/backbone-sources-5.1 ~amd64
<sys-kernel/linux-firmware-20220101 ~amd64
<sys-kernel/linux-headers-5.11 ~amd64
<sys-kernel/vanilla-sources-5.11 ~amd64
<sys-kernel/linux-headers-5.12 ~amd64
<sys-kernel/vanilla-sources-5.12 ~amd64
<sys-libs/ldb-1.7 ~amd64
<sys-libs/talloc-2.3 ~amd64
<sys-libs/tdb-1.5 ~amd64