summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-11-14 21:52:12 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-11-14 21:52:12 +0000
commite2141db2875a3b47b8841654635d1852706e2442 (patch)
tree991a1b8a3674c105fee9e68b37d5dbc181249575 /app-emulation/fs-uae
parentnet-dns/pdns: Version bump to 4.5.2 (diff)
downloadgentoo-e2141db2875a3b47b8841654635d1852706e2442.tar.gz
gentoo-e2141db2875a3b47b8841654635d1852706e2442.tar.bz2
gentoo-e2141db2875a3b47b8841654635d1852706e2442.zip
app-emulation/fs-uae: Version bump to 3.1.47
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'app-emulation/fs-uae')
-rw-r--r--app-emulation/fs-uae/Manifest1
-rw-r--r--app-emulation/fs-uae/fs-uae-3.1.47.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest
index 250829feccec..5abd93c6eec4 100644
--- a/app-emulation/fs-uae/Manifest
+++ b/app-emulation/fs-uae/Manifest
@@ -1,2 +1,3 @@
DIST fs-uae-3.0.5.tar.gz 4819884 BLAKE2B 0a82e0635ed02c1b4f04610555370c80ea12a870a73fd00cc98adefcefada2deed293c437202af34fc98e2f695fe1b08df918eca71b504e5b94e5ab3a099d9ed SHA512 b34ffb818040c7bf67022f26e1dbc9ebf06742a354212f2b0d2aa6b8e04c60807893a16ff965c819395f4c3fb3c43c35b38dce848b86fa046a211e12414385c7
DIST fs-uae-3.1.35.tar.gz 4817547 BLAKE2B 5f75a1e262ba8d642401a03ac5b2494be37b8bab8f014a48208cc6e0b2e33373a7ce6146065f41404d8fcbd60fe71582319abe51521336c2d7c04668c3adacd9 SHA512 96bec936f867fc42eb9f61058887c027da0bab1c8df196ab62a714b1f28c92aafe6c4a61d441e5c7b5d8aee28c90d68812d0f6049c610e2ef9eebdd7e3edf013
+DIST fs-uae-3.1.47.tar.xz 3564072 BLAKE2B e65a4cac601f9785ad44aeb427ad5dfbefd5412e8b12a06aafabe0e25b9ef1ba9387304eb613685632f5fab98f29494901866057e37c8e45f5aa6085d5e477f3 SHA512 a8ec3321d10ab98945149289311062f918f143082e1e1d0b3429d783c4ce965c9f6115e3b23add6983f12aa30067f03e3250941056a1dbd1317a3a12b6e1a68e
diff --git a/app-emulation/fs-uae/fs-uae-3.1.47.ebuild b/app-emulation/fs-uae/fs-uae-3.1.47.ebuild
new file mode 100644
index 000000000000..5cb3b91f1ede
--- /dev/null
+++ b/app-emulation/fs-uae/fs-uae-3.1.47.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."
+}