commit:     8c7c2088760840051f43c8be9130abeb696051bd
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 23:19:58 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 23:19:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7c2088

app-emulation/fs-uae: Version bump to 3.1.59

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/fs-uae/Manifest             |   1 +
 app-emulation/fs-uae/fs-uae-3.1.59.ebuild | 114 ++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest
index 5ee5242f4cb1..c414f45b1afd 100644
--- a/app-emulation/fs-uae/Manifest
+++ b/app-emulation/fs-uae/Manifest
@@ -1,2 +1,3 @@
 DIST fs-uae-3.1.35.tar.gz 4817547 BLAKE2B 
5f75a1e262ba8d642401a03ac5b2494be37b8bab8f014a48208cc6e0b2e33373a7ce6146065f41404d8fcbd60fe71582319abe51521336c2d7c04668c3adacd9
 SHA512 
96bec936f867fc42eb9f61058887c027da0bab1c8df196ab62a714b1f28c92aafe6c4a61d441e5c7b5d8aee28c90d68812d0f6049c610e2ef9eebdd7e3edf013
 DIST fs-uae-3.1.48.tar.xz 3562468 BLAKE2B 
99bcf1a7b4def97802ee1ce243aef7687d38c9e343e9c730f929e632916f3f36d6089ad289efda445c904f8fda1b75592f255fa77ee2b2687b0d32a95c996857
 SHA512 
05e56043f03225fd1ae71d1deade8807a8ae443068087914167fded8cc4a26cf8bb4209b5af3c609d41d001c42033ded7560e9ec642cb2ecfee99025c1f54c2f
+DIST fs-uae-3.1.59.tar.xz 3635036 BLAKE2B 
bf2723a2e9d478b1bb10cf724d3e4443abfe89a415a7956a64f7566d53d2432a59105bb8b6d3de4a2cffd0527d9ce554af0b177c1d49f273599ed97bbb4c9cd5
 SHA512 
346c255bf8faee14f28cf2a45f2cb4b1e8bae72be32c4fb7443db856de81265af634c566b0e6904ce924f51a93acbb8ef3a2bd25281285172619e73673171b82

diff --git a/app-emulation/fs-uae/fs-uae-3.1.59.ebuild 
b/app-emulation/fs-uae/fs-uae-3.1.59.ebuild
new file mode 100644
index 000000000000..5cb3b91f1ede
--- /dev/null
+++ b/app-emulation/fs-uae/fs-uae-3.1.59.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg
+
+DESCRIPTION="Integrates the most accurate Amiga emulation code available from 
WinUAE"
+HOMEPAGE="https://fs-uae.net/";
+SRC_URI="https://fs-uae.net/files/FS-UAE/Stable/${PV}/${P}.tar.xz";
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="fmv glew +jit"
+
+RDEPEND="
+       dev-libs/glib:2
+       media-libs/libpng:0=
+       media-libs/libsdl2[opengl,X]
+       media-libs/openal
+       sys-libs/zlib
+       virtual/opengl
+       x11-libs/libdrm
+       x11-libs/libX11
+       fmv? ( media-libs/libmpeg2 )
+       glew? ( media-libs/glew:0= )
+"
+
+DEPEND="
+       ${RDEPEND}
+       x11-base/xorg-proto
+"
+
+BDEPEND="
+       app-arch/zip
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.0.0-libmpeg2.patch
+       "${FILESDIR}"/${PN}-3.0.0-Xatom.h.patch
+       "${FILESDIR}"/${PN}-3.1.35-deepbind.patch
+)
+
+src_prepare() {
+       default
+       AT_NO_RECURSIVE=1 eautoreconf
+
+       # Ensure bundled libraries are not used. Udis86 is unused
+       # regardless. Only FLAC headers are bundled and the library is never
+       # used? Lua is bundled but differs from upstream. We keep the
+       # default of disabling the Lua feature anyway as it is unfinished.
+       rm -r libmpeg2/ libudis86/ || die
+}
+
+src_configure() {
+       # Qt and Udis86 are unused.
+       econf \
+               --enable-a2065 \
+               --enable-action-replay \
+               --enable-aga \
+               --enable-arcadia \
+               --enable-bsdsocket \
+               --enable-caps \
+               --enable-cd32 \
+               --enable-cdtv \
+               --enable-codegen \
+               --enable-dms \
+               --enable-drivesound \
+               --enable-fdi2raw \
+               --enable-gfxboard \
+               --disable-lua \
+               --enable-netplay \
+               --enable-ncr \
+               --enable-ncr9x \
+               --enable-parallel-port \
+               --enable-prowizard \
+               --enable-savestate \
+               --enable-scp \
+               --enable-serial-port \
+               --enable-slirp \
+               --enable-softfloat \
+               --enable-qemu-cpu \
+               --enable-qemu-slirp \
+               --enable-uaenative \
+               --enable-uaenet \
+               --enable-uaescsi \
+               --enable-uaeserial \
+               --disable-udis86 \
+               --enable-vpar \
+               --enable-xml-shader \
+               --enable-zip \
+               --without-cef \
+               --with-glad \
+               --without-qt \
+               $(use_enable jit) \
+               $(use_enable jit jit-fpu) \
+               $(use_with fmv libmpeg2) \
+               $(use_with glew)
+}
+
+src_install() {
+       default
+
+       # Needed for QEMU-UAE.
+       insinto /usr/include/uae
+       doins src/include/uae/{api,attributes,log,ppc,qemu,types}.h
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       elog "Install app-emulation/fs-uae-launcher for a better graphical 
interface."
+}

Reply via email to