From e946df41d4ae514437c4f35fca36376cbba068e9 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 29 Apr 2020 00:11:26 +0100 Subject: app-emulation/fs-uae: Bump to 3.0.5, drop old 3.0.3, use xdg.eclass Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: James Le Cuirot --- app-emulation/fs-uae/Manifest | 2 +- app-emulation/fs-uae/fs-uae-3.0.3.ebuild | 119 ------------------------------- app-emulation/fs-uae/fs-uae-3.0.5.ebuild | 110 ++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+), 120 deletions(-) delete mode 100644 app-emulation/fs-uae/fs-uae-3.0.3.ebuild create mode 100644 app-emulation/fs-uae/fs-uae-3.0.5.ebuild (limited to 'app-emulation/fs-uae') diff --git a/app-emulation/fs-uae/Manifest b/app-emulation/fs-uae/Manifest index 8f9b48188526..4e1ce60994c8 100644 --- a/app-emulation/fs-uae/Manifest +++ b/app-emulation/fs-uae/Manifest @@ -1 +1 @@ -DIST fs-uae-3.0.3.tar.gz 4844072 BLAKE2B 7e072abc11de1d7e174e3af9203d35941305f4bd5df9e11c5a94ada26c81c52912b1edee25e6ad3fa9d114dcb888d421fcb55def3a83931cab792650f5acfe9d SHA512 dce5f4b7e769902d334b48a5d5ff50cd152f48c8e50d5089a11abfe1a405e574eec460842b0bd74540375b80e65faca58b223cf6b03da6f84e326433f52f7c98 +DIST fs-uae-3.0.5.tar.gz 4819884 BLAKE2B 0a82e0635ed02c1b4f04610555370c80ea12a870a73fd00cc98adefcefada2deed293c437202af34fc98e2f695fe1b08df918eca71b504e5b94e5ab3a099d9ed SHA512 b34ffb818040c7bf67022f26e1dbc9ebf06742a354212f2b0d2aa6b8e04c60807893a16ff965c819395f4c3fb3c43c35b38dce848b86fa046a211e12414385c7 diff --git a/app-emulation/fs-uae/fs-uae-3.0.3.ebuild b/app-emulation/fs-uae/fs-uae-3.0.3.ebuild deleted file mode 100644 index a33c9af89fae..000000000000 --- a/app-emulation/fs-uae/fs-uae-3.0.3.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools xdg-utils - -DESCRIPTION="Integrates the most accurate Amiga emulation code available from WinUAE" -HOMEPAGE="https://fs-uae.net/" -SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="fmv glew" - -RDEPEND=" - dev-libs/glib:2 - media-libs/libpng:0= - media-libs/libsdl2[opengl,X] - media-libs/openal - 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 -) - -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 \ - --enable-jit \ - --enable-jit-fpu \ - --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 \ - --with-glad \ - --without-qt \ - $(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_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update - - elog "Install app-emulation/fs-uae-launcher for a better graphical interface." -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update -} diff --git a/app-emulation/fs-uae/fs-uae-3.0.5.ebuild b/app-emulation/fs-uae/fs-uae-3.0.5.ebuild new file mode 100644 index 000000000000..3cf31cf10ce0 --- /dev/null +++ b/app-emulation/fs-uae/fs-uae-3.0.5.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/stable/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="fmv glew" + +RDEPEND=" + dev-libs/glib:2 + media-libs/libpng:0= + media-libs/libsdl2[opengl,X] + media-libs/openal + 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 +) + +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 \ + --enable-jit \ + --enable-jit-fpu \ + --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 \ + --with-glad \ + --without-qt \ + $(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." +} -- cgit v1.2.3-65-gdbad