commit: e8a74318e61b8c734a7d1421fe2bd9a2225c0883 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 00:06:46 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 00:06:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a74318
app-emulation/pcem: drop 17-r2 Closes: https://bugs.gentoo.org/944239 Closes: https://bugs.gentoo.org/922390 Closes: https://bugs.gentoo.org/936136 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-emulation/pcem/Manifest | 1 - .../pcem/files/pcem-17-respect-cflags.patch | 11 --- app-emulation/pcem/pcem-17-r2.ebuild | 81 ---------------------- 3 files changed, 93 deletions(-) diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest index 00b41e28ca92..e30539c0bd91 100644 --- a/app-emulation/pcem/Manifest +++ b/app-emulation/pcem/Manifest @@ -1,2 +1 @@ -DIST PCemV17Linux.tar.gz 1880868 BLAKE2B 64068f0f98e8fe3e9bfe42a04f462375a7ee0cb8259b103237f3b0542f54ad13ed625a55c8379e2c54a87348ed504496a6b163419855ceeda8e4f18e1ea5dcd9 SHA512 6d84c8cbe9b6116f6439f542ac08139cfc5652a34b615a1ed841a6f8c227e77f1d26573ec35d57511b9a69e7472fbe51f2abb9307f8f8c1207c74fbe8107cadd DIST pcem-17_p20241210.tar.gz 1668232 BLAKE2B 5fdf4e0067dfe3924be1ee4a22055e4f5f2dfdfcf3494d0f0ee9e6b3f1641ccc7f1767524416b0fe39daaccab6e805f839c35ca9a178ad4355a0100784ab31dc SHA512 78353704529d7f333d5fc5513be34cc895423418242642e3b7a35e008700a444b1f8b0d477dbd26a84081112eaba2829248c0506cd333e22479751e9e99252e0 diff --git a/app-emulation/pcem/files/pcem-17-respect-cflags.patch b/app-emulation/pcem/files/pcem-17-respect-cflags.patch deleted file mode 100644 index 0e9d28885595..000000000000 --- a/app-emulation/pcem/files/pcem-17-respect-cflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -31,8 +31,6 @@ - CXXFLAGS="-Wall -O0 -g -D_DEBUG -fcommon" - AC_MSG_RESULT([yes]) - else -- CFLAGS="-O3 -fcommon" -- CXXFLAGS="-O3 -fcommon" - AC_MSG_RESULT([no]) - fi - diff --git a/app-emulation/pcem/pcem-17-r2.ebuild b/app-emulation/pcem/pcem-17-r2.ebuild deleted file mode 100644 index 47e17b588639..000000000000 --- a/app-emulation/pcem/pcem-17-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.2-gtk3" -inherit autotools desktop flag-o-matic wxwidgets - -DESCRIPTION="A PC emulator that specializes in running old operating systems and software" -HOMEPAGE=" - https://pcem-emulator.co.uk/ - https://github.com/sarah-walker-pcem/pcem/ -" -SRC_URI="https://pcem-emulator.co.uk/files/PCemV${PV}Linux.tar.gz" -S="${WORKDIR}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64" -IUSE="alsa networking" - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - media-libs/libsdl2 - media-libs/openal - x11-libs/wxGTK:${WX_GTK_VER}[tiff,X] -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( "README.md" "TESTED.md" ) - -PATCHES=( "${FILESDIR}/${PN}-17-respect-cflags.patch" ) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - setup-wxwidgets - - # Does not compile with -fno-common. - # See https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=3443 - append-cflags -fcommon - - # LTO needs to be filtered - # See https://bugs.gentoo.org/854528 - filter-lto - append-flags -fno-strict-aliasing - - local myeconfargs=( - --enable-release-build - $(use_enable alsa) - $(use_enable networking) - --with-wx-config="${WX_CONFIG}" - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - insinto /usr/share/pcem - doins -r configs nvr roms - - newicon src/icons/32x32/motherboard.png pcem.png - make_desktop_entry "pcem" "PCem" pcem "Development;Utility" - - einstalldocs -} - -pkg_postinst() { - elog "In order to use PCem, you will need some roms for various emulated systems." - elog "You can either install globally for all users or locally for yourself." - elog "" - elog "To install globally, put your ROM files into '${ROOT}/usr/share/pcem/roms/<system>'." - elog "To install locally, put your ROM files into '~/.pcem/roms/<system>'." -}
