1 |
commit: 3364dbeda0c6a73a24c786eb7edf72a4de942d4e |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 6 13:30:40 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 6 13:30:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3364dbed |
7 |
|
8 |
app-emulation/86Box: add 3.7.1 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
app-emulation/86Box/86Box-3.7.1.ebuild | 74 ++++++++++++++++++++++++++++++++++ |
13 |
app-emulation/86Box/Manifest | 1 + |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/86Box/86Box-3.7.1.ebuild b/app-emulation/86Box/86Box-3.7.1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..ab0476394bfd |
19 |
--- /dev/null |
20 |
+++ b/app-emulation/86Box/86Box-3.7.1.ebuild |
21 |
@@ -0,0 +1,74 @@ |
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 flag-o-matic |
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 |
+ # LTO needs to be filtered |
70 |
+ # See https://bugs.gentoo.org/854507 |
71 |
+ filter-lto |
72 |
+ append-flags -fno-strict-aliasing |
73 |
+ |
74 |
+ local mycmakeargs=( |
75 |
+ -DCPPTHREADS="$(usex threads)" |
76 |
+ -DDEV_BRANCH="$(usex experimental)" |
77 |
+ -DDINPUT="$(usex dinput)" |
78 |
+ -DDYNAREC="$(usex dynarec)" |
79 |
+ -DFLUIDSYNTH="$(usex fluidsynth)" |
80 |
+ -DMINITRACE="OFF" |
81 |
+ -DMUNT="$(usex munt)" |
82 |
+ -DNEW_DYNAREC="$(usex new-dynarec)" |
83 |
+ -DOPENAL="$(usex openal)" |
84 |
+ -DPREFER_STATIC="OFF" |
85 |
+ -DQT="$(usex qt5)" |
86 |
+ -DRELEASE="ON" |
87 |
+ ) |
88 |
+ |
89 |
+ cmake_src_configure |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ elog "In order to use 86Box, you will need some roms for various emulated systems." |
94 |
+ elog "See https://github.com/86Box/roms for more information." |
95 |
+} |
96 |
|
97 |
diff --git a/app-emulation/86Box/Manifest b/app-emulation/86Box/Manifest |
98 |
index b399f7a95c43..9e2458274ae4 100644 |
99 |
--- a/app-emulation/86Box/Manifest |
100 |
+++ b/app-emulation/86Box/Manifest |
101 |
@@ -1 +1,2 @@ |
102 |
+DIST 86Box-3.7.1.tar.gz 4454288 BLAKE2B cd2678b1b0beb6fc37145cd38139a27f7789af8fc98bcb6d98644d60642edf618be6aa5509085826539a6146042f14bec59aabd5f1b38725b41d630390d23b11 SHA512 38abe254ea24eb6430eb87eca517bf7b318188df0f0f6d6dec5a04fefac143d591cea303398b7179fe72dc80cd0393778f9c64012b6183a6c8a6e615d40340e7 |
103 |
DIST 86Box-3.7.tar.gz 4452842 BLAKE2B 90efc4f6c9f1f59e875d91f09b0fc97a435d93f4dd3db6cd6ad9405760f3f57c15803d8fc6974a5886230a57644f09a079258fbc34a05597c8a5ff78ffbffd90 SHA512 fde59f957387b907f62dac26ef903727d47576c2c82036e877fe6508b4d9c8bee843789f23ed6d963f12e3a502391b55077841b80faac036ed7071608caff4c9 |