From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- app-emulation/pcem/Manifest | 2 +- app-emulation/pcem/pcem-17-r1.ebuild | 76 +++++++++++++++++++++++++++++++++++ app-emulation/pcem/pcem-17.ebuild | 77 ------------------------------------ 3 files changed, 77 insertions(+), 78 deletions(-) create mode 100644 app-emulation/pcem/pcem-17-r1.ebuild delete mode 100644 app-emulation/pcem/pcem-17.ebuild (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest index 009f391e0423..d3589cabd1a9 100644 --- a/app-emulation/pcem/Manifest +++ b/app-emulation/pcem/Manifest @@ -1,4 +1,4 @@ AUX pcem-17-respect-cflags.patch 273 BLAKE2B 5c6bb6335677a1784b7fe99de3ebfc47351ab1c849d03f656e5428fd309256c46736ce6faf709aa379279c52ebdc7b46ea2e15ab1aa60a43dbdfc91fa09581af SHA512 4b83837f623971ccb91f525cee9bace2b9fd6b3a776a7d6907ec8e8796a021d8d68e665fc0dff7db083c7e068d6e07d3d61049ee2d9209c5b3d59a0fca388064 DIST PCemV17Linux.tar.gz 1880868 BLAKE2B 64068f0f98e8fe3e9bfe42a04f462375a7ee0cb8259b103237f3b0542f54ad13ed625a55c8379e2c54a87348ed504496a6b163419855ceeda8e4f18e1ea5dcd9 SHA512 6d84c8cbe9b6116f6439f542ac08139cfc5652a34b615a1ed841a6f8c227e77f1d26573ec35d57511b9a69e7472fbe51f2abb9307f8f8c1207c74fbe8107cadd -EBUILD pcem-17.ebuild 1713 BLAKE2B 6f6ffe901eb763877f723006131c449636a05f0a5b265cc288d32440cad2c206b9a01b5c0eda0012d75ca1871024e8a63e20e10db98a9c505a3b615b1b3b4291 SHA512 1c48d9e94278ea99cf931865aaf730c745ca71bc7b7edb3d483f470169973de8493f578aba8084c1924052b37ed9874e48d5897156def5d8890a41fd3149aa51 +EBUILD pcem-17-r1.ebuild 1712 BLAKE2B d1069332baa4fc7c33f945f580f991276e9264295e1efeeca51dabbd06db9493d6de3afb0027ed1a6d19d9c6eed40fba552800511fc5d06080857344be0a0551 SHA512 bccde8e24ed08d430a85d742d6c60ec54a71b1c1c36f4bcbcc4d223801a3aa9d6d13705e55ebc6861914940b5e92d13bfdb316939073d6b22583ce12a6bd69af 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 new file mode 100644 index 000000000000..bad0762a6e55 --- /dev/null +++ b/app-emulation/pcem/pcem-17-r1.ebuild @@ -0,0 +1,76 @@ +# 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 + + 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.ebuild b/app-emulation/pcem/pcem-17.ebuild deleted file mode 100644 index 02406aa065d4..000000000000 --- a/app-emulation/pcem/pcem-17.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64" -IUSE="alsa networking" - -S="${WORKDIR}" - -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 - - 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