diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /app-emulation/fs-uae/fs-uae-3.1.66.ebuild | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'app-emulation/fs-uae/fs-uae-3.1.66.ebuild')
-rw-r--r-- | app-emulation/fs-uae/fs-uae-3.1.66.ebuild | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/app-emulation/fs-uae/fs-uae-3.1.66.ebuild b/app-emulation/fs-uae/fs-uae-3.1.66.ebuild new file mode 100644 index 000000000000..5cb3b91f1ede --- /dev/null +++ b/app-emulation/fs-uae/fs-uae-3.1.66.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." +} |