1 |
commit: 3d040b84bb53f6c236b14584b164ecfa4f47680c |
2 |
Author: Pierre-Nicolas Clauss <pinicarus <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Aug 10 11:31:49 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 20 02:03:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d040b84 |
7 |
|
8 |
app-emulation/bochs: add version 2.7 ebuild |
9 |
|
10 |
Closes: https://bugs.gentoo.org/774195 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
12 |
Signed-off-by: Pierre-Nicolas Clauss <pinicarus <AT> protonmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/21944 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
app-emulation/bochs/Manifest | 1 + |
17 |
app-emulation/bochs/bochs-2.7.ebuild | 85 ++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 86 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest |
21 |
index 2dc0bd9aff9..37499a1033c 100644 |
22 |
--- a/app-emulation/bochs/Manifest |
23 |
+++ b/app-emulation/bochs/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST bochs-2.6.10.tar.gz 5282176 BLAKE2B 9f75d5afd6bad9f91eb18dc0bd5c9ed998bf12077d3e8d944769055f0def1eed019756346071d3809d492c54177ec798e739259ee13f67ff4760744377dc877c SHA512 eff422cadc3e0db7a47c4015a59ca0fa8caf88ed3026706c1f766e802449ec8e4798e5f147a583e1cfbbc578f71da8800542c0e1f4d04bc2dea77955855e8689 |
26 |
+DIST bochs-2.7.tar.gz 5298413 BLAKE2B 570ac0fec74b8e79a8e78d32a1a8655b8e3a202a3247407a45b66991598486bd6c566711a1f8e18e717d4f2119b82ae03bf4a792eebdd25a6e7ca4dedb3901ab SHA512 d43bd557316dc370ba1c317f5c3292f724460515db01316614b2d585b2760120cadd1d27a286083ac3e6f57466ed889959abd7fe960c219c149dab9a053c6967 |
27 |
|
28 |
diff --git a/app-emulation/bochs/bochs-2.7.ebuild b/app-emulation/bochs/bochs-2.7.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..0f90dbea151 |
31 |
--- /dev/null |
32 |
+++ b/app-emulation/bochs/bochs-2.7.ebuild |
33 |
@@ -0,0 +1,85 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+DESCRIPTION="LGPL-ed pc emulator" |
40 |
+HOMEPAGE="http://bochs.sourceforge.net/" |
41 |
+SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
46 |
+ |
47 |
+IUSE="3dnow avx debugger doc gdb ncurses readline svga sdl +smp vnc X +x86-64" |
48 |
+REQUIRED_USE=" |
49 |
+ avx? ( x86-64 ) |
50 |
+ gdb? ( !debugger !smp ) |
51 |
+ debugger? ( !gdb ) |
52 |
+" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ X? ( x11-libs/libICE |
56 |
+ x11-libs/libSM |
57 |
+ x11-libs/libX11 |
58 |
+ x11-libs/libXpm ) |
59 |
+ sdl? ( media-libs/libsdl ) |
60 |
+ svga? ( media-libs/svgalib ) |
61 |
+ readline? ( sys-libs/readline:= ) |
62 |
+ ncurses? ( sys-libs/ncurses:= ) |
63 |
+" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ X? ( x11-base/xorg-proto ) |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ doc? ( app-text/docbook-sgml-utils ) |
69 |
+ sys-apps/sed |
70 |
+ >=app-text/opensp-1.5 |
71 |
+" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ default |
75 |
+ sed -i "s:^docdir.*:docdir = ${EPREFIX}/usr/share/doc/${PF}:" \ |
76 |
+ Makefile.in || die |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ econf \ |
81 |
+ --enable-all-optimizations \ |
82 |
+ --enable-idle-hack \ |
83 |
+ --enable-cdrom \ |
84 |
+ --enable-clgd54xx \ |
85 |
+ --enable-cpu-level=6 \ |
86 |
+ --enable-disasm \ |
87 |
+ --enable-e1000 \ |
88 |
+ --enable-gameport \ |
89 |
+ --enable-iodebug \ |
90 |
+ --enable-monitor-mwait \ |
91 |
+ --enable-ne2000 \ |
92 |
+ --enable-plugins \ |
93 |
+ --enable-pci \ |
94 |
+ --enable-pnic \ |
95 |
+ --enable-raw-serial \ |
96 |
+ --enable-sb16=linux \ |
97 |
+ --enable-usb \ |
98 |
+ --enable-usb-ohci \ |
99 |
+ --enable-usb-xhci \ |
100 |
+ --prefix=/usr \ |
101 |
+ --with-nogui \ |
102 |
+ --without-wx \ |
103 |
+ $(use_enable 3dnow) \ |
104 |
+ $(use_enable avx) \ |
105 |
+ $(use_enable debugger) \ |
106 |
+ $(use_enable doc docbook) \ |
107 |
+ $(use_enable gdb gdb-stub) \ |
108 |
+ $(use_enable readline) \ |
109 |
+ $(use_enable smp) \ |
110 |
+ $(use_enable x86-64) \ |
111 |
+ $(use_with ncurses term) \ |
112 |
+ $(use_with sdl) \ |
113 |
+ $(use_with svga) \ |
114 |
+ $(use_with vnc rfb) \ |
115 |
+ $(use_with X x) \ |
116 |
+ $(use_with X x11) \ |
117 |
+ ${myconf} |
118 |
+} |