commit:     aeb78d2dd893802c93cd793412cefb9e69307152
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 16:23:28 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 16:25:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb78d2d

app-emulation/86Box: add 3.6

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

 app-emulation/86Box/86Box-3.6.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 app-emulation/86Box/Manifest         |  1 +
 2 files changed, 70 insertions(+)

diff --git a/app-emulation/86Box/86Box-3.6.ebuild 
b/app-emulation/86Box/86Box-3.6.ebuild
new file mode 100644
index 000000000000..83e0de773c6f
--- /dev/null
+++ b/app-emulation/86Box/86Box-3.6.ebuild
@@ -0,0 +1,69 @@
+# 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 +dynarec experimental +fluidsynth +munt new-dynarec +openal +qt5 
+threads"
+
+DEPEND="
+       app-emulation/faudio
+       dev-libs/libevdev
+       media-libs/freetype:2=
+       media-libs/libpng:=
+       media-libs/libsdl2
+       media-libs/openal
+       media-libs/rtmidi
+       net-libs/libslirp
+       sys-libs/zlib
+       qt5? ( x11-libs/libXi )
+"
+
+RDEPEND="
+       ${DEPEND}
+       fluidsynth? ( media-sound/fluidsynth )
+       munt? ( media-libs/munt-mt32emu )
+       openal? ( media-libs/openal )
+       qt5? (
+               dev-qt/qtcore:5
+               dev-qt/qtgui:5
+               dev-qt/qtnetwork:5
+               dev-qt/qtopengl:5
+               dev-qt/qttranslations:5
+               dev-qt/qtwidgets:5
+       )
+"
+
+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)"
+               -DOPENAL="$(usex openal)"
+               -DPREFER_STATIC="OFF"
+               -DQT="$(usex qt5)"
+               -DRELEASE="ON"
+       )
+
+       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
index 048fa48cf024..602a4b647404 100644
--- a/app-emulation/86Box/Manifest
+++ b/app-emulation/86Box/Manifest
@@ -1 +1,2 @@
 DIST 86Box-3.5.tar.gz 4260258 BLAKE2B 
080f4b3f4937633cb60a9bba5ac9b70756ffd5096843158033c30ee648fa78d40b539a08383bd5d96e3208ad73ad811c21a24cda08d7ad54188b62753ef2ec2f
 SHA512 
8f40d918e0fbae388a4aa4f037adaa7fa1920cafd5c0493f1f052ee59c677a898226ab7958b8f22899e3983664c2e63c9bcbaf82e27b42efebfb22bdcf4717dc
+DIST 86Box-3.6.tar.gz 5158884 BLAKE2B 
7483b39ac377dba0f65680d40c88944bec5a77b64abeb859da586e6fecf2706f0803bbd18f443e4b6bdb3cfb03e50f3bdc264a586f629d3db62c5c965eb76ed5
 SHA512 
08f281f70afce47f8e483c0b16dc99b3704beb89c8ad007a6d1814f8cd3716d5bedc4ca4444cbd61c79960e89152b24cfa34c53d51a10f99c811ca3d3290225d

Reply via email to