Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/86Box/
Date: Sat, 02 Jul 2022 17:43:36
Message-Id: 1656779104.aeb78d2dd893802c93cd793412cefb9e69307152.conikost@gentoo
1 commit: aeb78d2dd893802c93cd793412cefb9e69307152
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 16:23:28 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 16:25:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb78d2d
7
8 app-emulation/86Box: add 3.6
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 app-emulation/86Box/86Box-3.6.ebuild | 69 ++++++++++++++++++++++++++++++++++++
13 app-emulation/86Box/Manifest | 1 +
14 2 files changed, 70 insertions(+)
15
16 diff --git a/app-emulation/86Box/86Box-3.6.ebuild b/app-emulation/86Box/86Box-3.6.ebuild
17 new file mode 100644
18 index 000000000000..83e0de773c6f
19 --- /dev/null
20 +++ b/app-emulation/86Box/86Box-3.6.ebuild
21 @@ -0,0 +1,69 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +inherit cmake
28 +
29 +DESCRIPTION="Emulator of x86-based machines based on PCem"
30 +HOMEPAGE="https://github.com/86Box/86Box"
31 +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="GPL-2+"
34 +SLOT="0"
35 +KEYWORDS="~amd64"
36 +IUSE="dinput +dynarec experimental +fluidsynth +munt new-dynarec +openal +qt5 +threads"
37 +
38 +DEPEND="
39 + app-emulation/faudio
40 + dev-libs/libevdev
41 + media-libs/freetype:2=
42 + media-libs/libpng:=
43 + media-libs/libsdl2
44 + media-libs/openal
45 + media-libs/rtmidi
46 + net-libs/libslirp
47 + sys-libs/zlib
48 + qt5? ( x11-libs/libXi )
49 +"
50 +
51 +RDEPEND="
52 + ${DEPEND}
53 + fluidsynth? ( media-sound/fluidsynth )
54 + munt? ( media-libs/munt-mt32emu )
55 + openal? ( media-libs/openal )
56 + qt5? (
57 + dev-qt/qtcore:5
58 + dev-qt/qtgui:5
59 + dev-qt/qtnetwork:5
60 + dev-qt/qtopengl:5
61 + dev-qt/qttranslations:5
62 + dev-qt/qtwidgets:5
63 + )
64 +"
65 +
66 +BDEPEND="virtual/pkgconfig"
67 +
68 +src_configure() {
69 + local mycmakeargs=(
70 + -DCPPTHREADS="$(usex threads)"
71 + -DDEV_BRANCH="$(usex experimental)"
72 + -DDINPUT="$(usex dinput)"
73 + -DDYNAREC="$(usex dynarec)"
74 + -DFLUIDSYNTH="$(usex fluidsynth)"
75 + -DMINITRACE="OFF"
76 + -DMUNT="$(usex munt)"
77 + -DNEW_DYNAREC="$(usex new-dynarec)"
78 + -DOPENAL="$(usex openal)"
79 + -DPREFER_STATIC="OFF"
80 + -DQT="$(usex qt5)"
81 + -DRELEASE="ON"
82 + )
83 +
84 + cmake_src_configure
85 +}
86 +
87 +pkg_postinst() {
88 + elog "In order to use 86Box, you will need some roms for various emulated systems."
89 + elog "See https://github.com/86Box/roms for more information."
90 +}
91
92 diff --git a/app-emulation/86Box/Manifest b/app-emulation/86Box/Manifest
93 index 048fa48cf024..602a4b647404 100644
94 --- a/app-emulation/86Box/Manifest
95 +++ b/app-emulation/86Box/Manifest
96 @@ -1 +1,2 @@
97 DIST 86Box-3.5.tar.gz 4260258 BLAKE2B 080f4b3f4937633cb60a9bba5ac9b70756ffd5096843158033c30ee648fa78d40b539a08383bd5d96e3208ad73ad811c21a24cda08d7ad54188b62753ef2ec2f SHA512 8f40d918e0fbae388a4aa4f037adaa7fa1920cafd5c0493f1f052ee59c677a898226ab7958b8f22899e3983664c2e63c9bcbaf82e27b42efebfb22bdcf4717dc
98 +DIST 86Box-3.6.tar.gz 5158884 BLAKE2B 7483b39ac377dba0f65680d40c88944bec5a77b64abeb859da586e6fecf2706f0803bbd18f443e4b6bdb3cfb03e50f3bdc264a586f629d3db62c5c965eb76ed5 SHA512 08f281f70afce47f8e483c0b16dc99b3704beb89c8ad007a6d1814f8cd3716d5bedc4ca4444cbd61c79960e89152b24cfa34c53d51a10f99c811ca3d3290225d