From b7a94956953b9eb949dbf7a2b05fff47558c99a8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 16 Nov 2023 22:53:04 +0000 Subject: gentoo auto-resync : 16:11:2023 - 22:53:04 --- app-emulation/pcem/Manifest | 2 +- app-emulation/pcem/pcem-17-r1.ebuild | 81 ------------------------------------ app-emulation/pcem/pcem-17-r2.ebuild | 81 ++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 82 deletions(-) delete mode 100644 app-emulation/pcem/pcem-17-r1.ebuild create mode 100644 app-emulation/pcem/pcem-17-r2.ebuild (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest index 9d3a755c335c..b599610d16bf 100644 --- a/app-emulation/pcem/Manifest +++ b/app-emulation/pcem/Manifest @@ -1,4 +1,4 @@ AUX pcem-17-respect-cflags.patch 217 BLAKE2B a41bebda7404d036daa7e3b07148d1488946ab5e0744dd43724aeab3aea0a53a5ee727e3e25ce6f221b3f4d0861029c1ff25db77da44c755005c39df436c21c1 SHA512 799539c89a662e2b71db734a2b5fc2354535e7a9783f09dac975ad23628cd57b08eafa9cbfd79aa2443945cb0e5e3ce77ef05a6af4da646b5f5c0095de43a362 DIST PCemV17Linux.tar.gz 1880868 BLAKE2B 64068f0f98e8fe3e9bfe42a04f462375a7ee0cb8259b103237f3b0542f54ad13ed625a55c8379e2c54a87348ed504496a6b163419855ceeda8e4f18e1ea5dcd9 SHA512 6d84c8cbe9b6116f6439f542ac08139cfc5652a34b615a1ed841a6f8c227e77f1d26573ec35d57511b9a69e7472fbe51f2abb9307f8f8c1207c74fbe8107cadd -EBUILD pcem-17-r1.ebuild 1826 BLAKE2B 9c4b099dff3ca76d27be0eae6c2be1e160806e66e71dbaf9fc4ab352a65e9c93bf1b3303205e8491fc9991dddfe88abc3cf1600d512ad78551b0193152d61215 SHA512 1e40ffdf6a279a3f9f29a0e17fa135fdba3f2beeb425b88b4ecb79f5a75c2df97ccdf8230a68075b3f01e7ba6f218f84866ff772407074a8f7c7dde0d50787f7 +EBUILD pcem-17-r2.ebuild 1826 BLAKE2B 577ca3dd5d67087604a50fc6b09e05fab86a8bc929d6f78d5c70b2e28d58f484ca149f0d4f2da8167ff9e13f3e5ef4e7703f2e034a73bb36fe998a3bd0df3598 SHA512 349f4ef61d685e4e84e2b7714311f9d78d63226f0a247efaaad5f29b2f2b8dbf8b4cd20b2634a198c6d0ae4f13c50eaf1023a3ef3ece4cfef1f5f86bb199eade MISC metadata.xml 858 BLAKE2B 693055e24ab86b6b74207c4b29b61ee27b2c845610c9ce2f8543c103ad919c1d4515598a7663749df3c0fa0d7fa2616521d45a6502ffa44238d0b9c17eda5491 SHA512 00de5b7bb6c28179cb9f1892b1b9fc053b6ee46123d0cfcb0ae50b32a918680ceb6e8626608de0c5872f1f8ad07ab961de5d906c37ad8617860cb3c0ab88d386 diff --git a/app-emulation/pcem/pcem-17-r1.ebuild b/app-emulation/pcem/pcem-17-r1.ebuild deleted file mode 100644 index 413ef572d024..000000000000 --- a/app-emulation/pcem/pcem-17-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.0-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/'." - elog "To install locally, put your ROM files into '~/.pcem/roms/'." -} diff --git a/app-emulation/pcem/pcem-17-r2.ebuild b/app-emulation/pcem/pcem-17-r2.ebuild new file mode 100644 index 000000000000..47e17b588639 --- /dev/null +++ b/app-emulation/pcem/pcem-17-r2.ebuild @@ -0,0 +1,81 @@ +# 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/'." + elog "To install locally, put your ROM files into '~/.pcem/roms/'." +} -- cgit v1.2.3