public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/pcem/
Date: Tue, 19 May 2020 21:35:24 +0000 (UTC)	[thread overview]
Message-ID: <1589924095.7f002ca05067739f90a3c2077952e1b0c8245bc1.conikost@gentoo> (raw)

commit:     7f002ca05067739f90a3c2077952e1b0c8245bc1
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue May 19 20:50:45 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue May 19 21:34:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f002ca0

app-emulation/pcem: bump to version 16

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-emulation/pcem/Manifest       |  1 +
 app-emulation/pcem/pcem-16.ebuild | 75 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/app-emulation/pcem/Manifest b/app-emulation/pcem/Manifest
index f1ab3db7a47..3416c61fbb9 100644
--- a/app-emulation/pcem/Manifest
+++ b/app-emulation/pcem/Manifest
@@ -1 +1,2 @@
 DIST PCemV15Linux.tar.gz 1741312 BLAKE2B fa8de8c98a57ac79be11921190960eaa1e5d53896db0749a7f53704362b6415544632a6f918a8f1ce57d2f75f28af52715856346421cc0a8355236a01bb7dcac SHA512 c2501827689acc0f3381d785dc3b008866e82d242bea3fa5af7e786fc58fdf72f76eafda98d12ce88c59ff338bc7dc441484af9c1bc9357c7cc75d94bbe0a7b6
+DIST PCemV16Linux.tar.gz 1859892 BLAKE2B e388031e661b9320cc783e6400bdb7c191a2f946d9c207d9a58daa9270115b32ed55ac6a0b87227b51d10168e7d161bb03811eb83f5405ed1a71f7bfc6fd8aa5 SHA512 97d33ae1c4b59f281abe553ed4297c0d6c3956cf32b44474bfd5773700dd5c4ea6c209c679b9add5d4a7cba61748ee9794afa3c59af3230fa2a15812e13fd1c5

diff --git a/app-emulation/pcem/pcem-16.ebuild b/app-emulation/pcem/pcem-16.ebuild
new file mode 100644
index 00000000000..c81533218ba
--- /dev/null
+++ b/app-emulation/pcem/pcem-16.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 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://bitbucket.org/pcem_emulator/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/<system>'."
+	elog "To install locally, put your ROM files into '~/.pcem/roms/<system>'."
+}


             reply	other threads:[~2020-05-19 21:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 21:35 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-13  8:59 [gentoo-commits] repo/gentoo:master commit in: app-emulation/pcem/ Sam James
2023-11-16 20:38 Conrad Kostecki
2022-07-16 20:51 Conrad Kostecki
2022-07-16 20:41 Conrad Kostecki
2021-04-05 22:26 David Seifert
2021-04-02 14:01 Sam James
2021-01-03 20:52 Conrad Kostecki
2020-10-31 11:11 David Seifert
2020-10-10 13:17 Conrad Kostecki
2020-10-10 13:17 Conrad Kostecki
2020-08-23 11:45 David Seifert
2020-08-10 12:34 Agostino Sarubbo
2020-05-19 21:35 Conrad Kostecki
2020-03-21 17:02 Conrad Kostecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589924095.7f002ca05067739f90a3c2077952e1b0c8245bc1.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox