From 37185a5f2fd3d3e821d63ca90dffe9629d147da1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Mar 2025 00:28:41 +0000 Subject: gentoo auto-resync : 14:03:2025 - 00:28:41 --- app-emulation/pcem/Manifest | 2 +- app-emulation/pcem/pcem-17_p20241210-r1.ebuild | 80 ++++++++++++++++++++++++++ app-emulation/pcem/pcem-17_p20241210.ebuild | 77 ------------------------- 3 files changed, 81 insertions(+), 78 deletions(-) create mode 100644 app-emulation/pcem/pcem-17_p20241210-r1.ebuild delete mode 100644 app-emulation/pcem/pcem-17_p20241210.ebuild (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest index 513b8f882f90..f3b07b829c0d 100644 --- a/app-emulation/pcem/Manifest +++ b/app-emulation/pcem/Manifest @@ -1,3 +1,3 @@ DIST pcem-17_p20241210.tar.gz 1668232 BLAKE2B 5fdf4e0067dfe3924be1ee4a22055e4f5f2dfdfcf3494d0f0ee9e6b3f1641ccc7f1767524416b0fe39daaccab6e805f839c35ca9a178ad4355a0100784ab31dc SHA512 78353704529d7f333d5fc5513be34cc895423418242642e3b7a35e008700a444b1f8b0d477dbd26a84081112eaba2829248c0506cd333e22479751e9e99252e0 -EBUILD pcem-17_p20241210.ebuild 1969 BLAKE2B e1cd3295c4940bebb9fb8e95c5eba4fc84c99de10bcab25f5c1d0c87c9c34b6da122d83c142645963b35339739dd7148022f7184443749eb1d956bed643be535 SHA512 be0d522b9f00b2071484af2f13cf8effd31d4b55a4eeac999ff0465e24e9c8028cac754b9db89df5a03c07a05cde0eaac661a9c1743486daaeb9799206290049 +EBUILD pcem-17_p20241210-r1.ebuild 2084 BLAKE2B bf3d86b90e54546d440766313bef8ff208cb70378aa444957b6d069850a3aed0ee05ae18a8d463d9e49e41e2202b45e5a8e8dc3b59916789c1001b68b9235b42 SHA512 1102a0162780f2fb7dd99f6ab6d0484c4d1d428d8b7e4276e1da777ae79c7b14681563f59e4b4fe385d304f24d3800780ee2db55236e1aab1c7048b81d5d7c30 MISC metadata.xml 1037 BLAKE2B 53c4975a5c4e20be3d8554ec6dcac779e60c99f1c7e98f36098415869eac2e0f473b900addee4bac09d350a2f1d8c75c4e66066cba72200334f5c5a2bf518cd3 SHA512 7386411ec705299cdfbbd763470d4a8de6228daaa24ce6907ecaa3d9e4d18cd827ee1328040679c3636a11db420a62eef8aee8a97e23723161b6abb5533e20de diff --git a/app-emulation/pcem/pcem-17_p20241210-r1.ebuild b/app-emulation/pcem/pcem-17_p20241210-r1.ebuild new file mode 100644 index 000000000000..ab975aba5164 --- /dev/null +++ b/app-emulation/pcem/pcem-17_p20241210-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EGIT_COMMIT="bd1283b91282d522617ac6d29eb0f271ded83ffc" +WX_GTK_VER="3.2-gtk3" + +inherit cmake desktop flag-o-matic wxwidgets + +DESCRIPTION="A PC emulator that specializes in running old operating systems and software" +HOMEPAGE="https://github.com/sarah-walker-pcem/pcem/" +SRC_URI="https://github.com/sarah-walker-pcem/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="alsa experimental networking plugins wayland" + +RDEPEND=" + media-libs/libsdl2 + media-libs/libglvnd + media-libs/openal + x11-libs/wxGTK:${WX_GTK_VER}[tiff,X] + alsa? ( media-libs/alsa-lib ) + experimental? ( media-libs/freetype ) + networking? ( net-libs/libpcap ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( "README.md" "TESTED.md" ) + +src_prepare() { + default + cmake_src_prepare +} + +src_configure() { + setup-wxwidgets + + # Using RelWithDebInfo bypasses upstream's default (bug #948388) + append-flags -fno-strict-aliasing + + local mycmakeargs=( + -DFORCE_X11=$(usex !wayland) + -DPCEM_LIB_DIR="$(get_libdir)" + -DPLUGIN_ENGINE=$(usex plugins) + -DUSE_ALSA=$(usex alsa) + -DUSE_EXPERIMENTAL=$(usex experimental) + $(usex experimental '-DUSE_EXPERIMENTAL_PGC=ON') + $(usex experimental '-DUSE_EXPERIMENTAL_PRINTER=ON') + -DUSE_NETWORKING=$(usex networking) + $(usex networking '-DUSE_PCAP_NETWORKING=ON') + ) + + cmake_src_configure +} + +src_install() { + default + cmake_src_install + + insinto /usr/share/pcem + doins -r nvr + + newicon src/wx-ui/icons/16x16/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_p20241210.ebuild b/app-emulation/pcem/pcem-17_p20241210.ebuild deleted file mode 100644 index 2431e3890c5a..000000000000 --- a/app-emulation/pcem/pcem-17_p20241210.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EGIT_COMMIT="bd1283b91282d522617ac6d29eb0f271ded83ffc" -WX_GTK_VER="3.2-gtk3" - -inherit cmake desktop wxwidgets - -DESCRIPTION="A PC emulator that specializes in running old operating systems and software" -HOMEPAGE="https://github.com/sarah-walker-pcem/pcem/" -SRC_URI="https://github.com/sarah-walker-pcem/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="alsa experimental networking plugins wayland" - -RDEPEND=" - media-libs/libsdl2 - media-libs/libglvnd - media-libs/openal - x11-libs/wxGTK:${WX_GTK_VER}[tiff,X] - alsa? ( media-libs/alsa-lib ) - experimental? ( media-libs/freetype ) - networking? ( net-libs/libpcap ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( "README.md" "TESTED.md" ) - -src_prepare() { - default - cmake_src_prepare -} - -src_configure() { - setup-wxwidgets - - local mycmakeargs=( - -DFORCE_X11=$(usex !wayland) - -DPCEM_LIB_DIR="$(get_libdir)" - -DPLUGIN_ENGINE=$(usex plugins) - -DUSE_ALSA=$(usex alsa) - -DUSE_EXPERIMENTAL=$(usex experimental) - $(usex experimental '-DUSE_EXPERIMENTAL_PGC=ON') - $(usex experimental '-DUSE_EXPERIMENTAL_PRINTER=ON') - -DUSE_NETWORKING=$(usex networking) - $(usex networking '-DUSE_PCAP_NETWORKING=ON') - ) - - cmake_src_configure -} - -src_install() { - default - cmake_src_install - - insinto /usr/share/pcem - doins -r nvr - - newicon src/wx-ui/icons/16x16/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