From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- app-emulation/pcem/Manifest | 2 +- app-emulation/pcem/pcem-16-r1.ebuild | 75 ++++++++++++++++++++++++++++++++++++ app-emulation/pcem/pcem-16.ebuild | 75 ------------------------------------ 3 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 app-emulation/pcem/pcem-16-r1.ebuild delete mode 100644 app-emulation/pcem/pcem-16.ebuild (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest index 39fdb6a7cf4a..089eda497358 100644 --- a/app-emulation/pcem/Manifest +++ b/app-emulation/pcem/Manifest @@ -1,4 +1,4 @@ AUX pcem-15-respect-cflags.patch 300 BLAKE2B 4531829e43d43501fe889b34381fc056ffa2734ca499686558cf39ef245f3808e6488c32d6938487d018175ab8a370a28e491cc957406ea6e430a9afff44dae2 SHA512 7800d9056fc1ab4b38f97a6021da7288b990ab9c562846be1ae4ec6636c888fd444c635076f070c50f39681202995a41575823a225c77017d389638feaf1a93c DIST PCemV16Linux.tar.gz 1859892 BLAKE2B e388031e661b9320cc783e6400bdb7c191a2f946d9c207d9a58daa9270115b32ed55ac6a0b87227b51d10168e7d161bb03811eb83f5405ed1a71f7bfc6fd8aa5 SHA512 97d33ae1c4b59f281abe553ed4297c0d6c3956cf32b44474bfd5773700dd5c4ea6c209c679b9add5d4a7cba61748ee9794afa3c59af3230fa2a15812e13fd1c5 -EBUILD pcem-16.ebuild 1615 BLAKE2B e9141f45d86ba205df78881ecb97cfbffe38d110d217721c9a85a39f2925aa43d80bf84d8a50cd330cc12237cd27764ea419db4d8b581cc2c4971175c8e4529b SHA512 b728aec270e313973fd2ce461c0524557c37d26e9b1392f8f74f9938723368b0ec37cd79d56fd70794454da000c1abb9f96f0a4d4d9de6893e4beb814b2daa95 +EBUILD pcem-16-r1.ebuild 1633 BLAKE2B 735440b0bda54c7433fda65d0147c201ce0afa98f138afaa2f5837ee1fffdbb2613996b15ddeb97f0c529db498336a58225b1647c1d760c41c8a21a0dbe79cce SHA512 6896184bbdb47b3e112abffe1296c147f67b07fe56ecb5bff7a399ee8de4dd42d2642eec936c0ceb08e45d8142fba1879a66fc658bf151f961a3fc42033548a2 MISC metadata.xml 857 BLAKE2B c678e4578dca5c14416690cf8a421d4d1d8887237a4600580aad48d1d4ea6b641cc3c1f47c6c00be44344b760aa87c2b9bbded7625e0ccaedd0c8c2cb14dd057 SHA512 e610d16662365ae271fab8a2364e5781ba4be7a841d36759bc4e319b7f87a589c02131aeea83f194eabf940c0c4439459127468c0a65a72e3e2e91c74c0d409d diff --git a/app-emulation/pcem/pcem-16-r1.ebuild b/app-emulation/pcem/pcem-16-r1.ebuild new file mode 100644 index 000000000000..d87a88a78bbd --- /dev/null +++ b/app-emulation/pcem/pcem-16-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop flag-o-matic wxwidgets + +WX_GTK_VER="3.0-gtk3" + +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="${DEPEND}" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-15-respect-cflags.patch" ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # 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) + ) + + 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" + + dodoc readme.txt +} + +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-16.ebuild b/app-emulation/pcem/pcem-16.ebuild deleted file mode 100644 index 605cd74eded3..000000000000 --- a/app-emulation/pcem/pcem-16.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop wxwidgets - -WX_GTK_VER="3.0" - -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="${DEPEND}" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}/${PN}-15-respect-cflags.patch" ) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # 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) - ) - - 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" - - dodoc readme.txt -} - -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