commit:     340f2c26088b4c168be355ba65dda894a57e8949
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 14 07:38:43 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 07:38:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340f2c26

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

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

 app-emulation/fs-uae/Manifest             |   1 +
 app-emulation/fs-uae/fs-uae-3.2.35.ebuild | 120 ++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest
index e1401ffee363..b09e8bda07cc 100644
--- a/app-emulation/fs-uae/Manifest
+++ b/app-emulation/fs-uae/Manifest
@@ -1 +1,2 @@
 DIST fs-uae-3.1.66.tar.xz 3627688 BLAKE2B 
9c7742b78055b4c2409c4527ab3b5daac829fa8d09363c5640ce433770ec0f7f6417cfa5dc7689bfdf747083bad654a8d433216b2c94e93ef3189f7e6f7213d9
 SHA512 
3d93c6481d4aebb21607fa6cd0716bb809a902a5e6e20cda97751f7878157a0737b80df1290c2e1cf4e13f1e9a824b750c52479cd05e56bff291be7471d167a1
+DIST fs-uae-3.2.35.tar.xz 3620972 BLAKE2B 
d609561e341ee95a065dac62d74f3bfde8ff1d8860180c6b8321b6a1b9a4f3db6b5c410a097d20afaecc42bc605ae253f916ede6f7329f04cd0b9a2f38a2c2f0
 SHA512 
719c2a528acbc4f66baaf52eda25ca6923194dbe57a5c8ab860f9eba01ab8bc7a165396ed78ff2960c3678dea2e81da2d625dd604a52be60434a250940f2c6f0

diff --git a/app-emulation/fs-uae/fs-uae-3.2.35.ebuild 
b/app-emulation/fs-uae/fs-uae-3.2.35.ebuild
new file mode 100644
index 000000000000..f6ecc011e590
--- /dev/null
+++ b/app-emulation/fs-uae/fs-uae-3.2.35.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic xdg
+
+DESCRIPTION="Integrates the most accurate Amiga emulation code available from 
WinUAE"
+HOMEPAGE="https://fs-uae.net/";
+SRC_URI="https://github.com/FrodeSolheim/${PN}/releases/download/v${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() {
+       # -Werror=odr -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/854519
+       #
+       # Fixed upstream in git master but no releases since 2021 and no 
activity since 2022.
+       filter-lto
+
+       # 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