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