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/86Box/
Date: Mon, 14 Feb 2022 00:04:04 +0000 (UTC)	[thread overview]
Message-ID: <1644797028.b79e8b8991d5b734d595ba77b65f2532ce50dd95.conikost@gentoo> (raw)

commit:     b79e8b8991d5b734d595ba77b65f2532ce50dd95
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 23:54:35 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 00:03:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b79e8b89

app-emulation/86Box: initial import

86Box is a low level x86 emulator that runs older operating systems and software
designed for IBM PC systems and compatibles from 1981 through
fairly recent system designs based on the PCI bus.

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-emulation/86Box/86Box-3.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++
 app-emulation/86Box/Manifest         |  1 +
 app-emulation/86Box/metadata.xml     | 26 +++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/app-emulation/86Box/86Box-3.1.ebuild b/app-emulation/86Box/86Box-3.1.ebuild
new file mode 100644
index 000000000000..95973bf3cce2
--- /dev/null
+++ b/app-emulation/86Box/86Box-3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Emulator of x86-based machines based on PCem"
+HOMEPAGE="https://github.com/86Box/86Box"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dinput experimental +fluidsynth +munt +dynarec new-dynarec +threads +usb vramdump"
+
+DEPEND="
+	media-libs/freetype:2=
+	media-libs/libpng:=
+	media-libs/libsdl2
+	media-libs/openal
+	media-libs/rtmidi
+	sys-libs/zlib
+"
+
+RDEPEND="
+	${DEPEND}
+	fluidsynth? ( media-sound/fluidsynth )
+	munt? ( media-libs/munt-mt32emu )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCPPTHREADS="$(usex threads)"
+		-DDEV_BRANCH="$(usex experimental)"
+		-DDINPUT="$(usex dinput)"
+		-DDYNAREC="$(usex dynarec)"
+		-DFLUIDSYNTH="$(usex fluidsynth)"
+		-DMINITRACE="OFF"
+		-DMUNT="$(usex munt)"
+		-DNEW_DYNAREC="$(usex new-dynarec)"
+		-DPREFER_STATIC="OFF"
+		-DRELEASE="ON"
+		-DUSB="$(usex usb)"
+		-DVRAMDUMP="$(usex vramdump)"
+	)
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	elog "In order to use 86Box, you will need some roms for various emulated systems."
+	elog "See https://github.com/86Box/roms for more information."
+}

diff --git a/app-emulation/86Box/Manifest b/app-emulation/86Box/Manifest
new file mode 100644
index 000000000000..050159bb66e2
--- /dev/null
+++ b/app-emulation/86Box/Manifest
@@ -0,0 +1 @@
+DIST 86Box-3.1.tar.gz 3733570 BLAKE2B d0753b11b040fa0bdef5d2a7c7fb9abc12f6e19c22360cc037bbd33c9274241c5941f49f509520cda2e584d989a7913aaa72b65457232c6f1d4ea1a59b013370 SHA512 9b28e23b6f3c2b9fe1a96e398c2042a4a6d3a7fcba0728033018c9cd737105bbc0f20053352f00d4ddcf8805e47152681f2151f8b03ad03305e3d27fa1adc092

diff --git a/app-emulation/86Box/metadata.xml b/app-emulation/86Box/metadata.xml
new file mode 100644
index 000000000000..a2846e04b512
--- /dev/null
+++ b/app-emulation/86Box/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>conikost@gentoo.org</email>
+		<name>Conrad Kostecki</name>
+	</maintainer>
+	<longdescription>
+		86Box is a low level x86 emulator that runs older operating systems and software
+		designed for IBM PC systems and compatibles from 1981 through
+		fairly recent system designs based on the PCI bus.
+	</longdescription>
+	<use>
+		<flag name="dinput">Enable legacy Dinput mode instead of Xinput for older controllers.</flag>
+		<flag name="experimental">Enable hardware from devbranch, which may be unstable or unusable.</flag>
+		<flag name="fluidsynth">Enable MIDI support through <pkg>media-sound/fluidsynth</pkg>.</flag>
+		<flag name="munt">Enable MIDI MT-32 support through <pkg>media-libs/munt-mt32emu</pkg>.</flag>
+		<flag name="dynarec">Enable dynamic recompiler, which should provide a better emulation speed.</flag>
+		<flag name="new-dynarec">Enable new dynamic recompiler from PCem 15, which should provide an even better emulation speed.</flag>
+		<flag name="vramdump">Enable the posibility to dump the virtual Video RAM.</flag>
+	</use>
+	<upstream>
+		<bugs-to>https://github.com/86Box/86Box/issues</bugs-to>
+		<remote-id type="github">86Box/86Box</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2022-02-14  0:04 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14  0:04 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-07 19:42 [gentoo-commits] repo/gentoo:master commit in: app-emulation/86Box/ Conrad Kostecki
2022-03-07 19:42 Conrad Kostecki
2022-03-19 15:21 Conrad Kostecki
2022-03-19 15:21 Conrad Kostecki
2022-03-19 19:45 Conrad Kostecki
2022-04-10 15:25 Conrad Kostecki
2022-04-21 21:26 Conrad Kostecki
2022-04-21 21:26 Conrad Kostecki
2022-04-22 20:15 Conrad Kostecki
2022-04-22 20:15 Conrad Kostecki
2022-05-12 21:20 Conrad Kostecki
2022-05-27 22:48 Conrad Kostecki
2022-05-27 22:48 Conrad Kostecki
2022-07-02 16:25 Conrad Kostecki
2022-07-02 16:25 Conrad Kostecki
2022-07-16 20:41 Conrad Kostecki
2022-07-16 20:51 Conrad Kostecki
2022-08-01 18:23 Conrad Kostecki
2022-08-01 18:23 Conrad Kostecki
2022-08-06 13:32 Conrad Kostecki
2022-08-06 13:33 Conrad Kostecki
2022-11-28 21:52 Conrad Kostecki
2022-11-28 21:52 Conrad Kostecki
2023-04-23  0:26 Conrad Kostecki
2023-10-04 16:46 Conrad Kostecki
2023-11-12  0:24 Conrad Kostecki
2023-12-28 13:50 Conrad Kostecki
2024-01-05 13:13 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2024-03-17 12:59 Conrad Kostecki
2024-03-23 21:24 Conrad Kostecki
2024-03-24 23:31 Conrad Kostecki
2024-07-27 17:54 Conrad Kostecki
2024-09-15 13:50 Conrad Kostecki
2025-02-10 21:10 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=1644797028.b79e8b8991d5b734d595ba77b65f2532ce50dd95.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