diff options
author | Pierre-Nicolas Clauss <pinicarus@protonmail.com> | 2021-08-10 13:31:49 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-20 02:03:31 +0000 |
commit | 3d040b84bb53f6c236b14584b164ecfa4f47680c (patch) | |
tree | 6a83ae6ca55d95f5ef2c83ef0caff6b6239c1d4e /app-emulation | |
parent | net-misc/networkmanager: Version bump to 1.32.12 (diff) | |
download | gentoo-3d040b84bb53f6c236b14584b164ecfa4f47680c.tar.gz gentoo-3d040b84bb53f6c236b14584b164ecfa4f47680c.tar.bz2 gentoo-3d040b84bb53f6c236b14584b164ecfa4f47680c.zip |
app-emulation/bochs: add version 2.7 ebuild
Closes: https://bugs.gentoo.org/774195
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Pierre-Nicolas Clauss <pinicarus@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21944
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/bochs/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/bochs/bochs-2.7.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest index 2dc0bd9aff99..37499a1033c0 100644 --- a/app-emulation/bochs/Manifest +++ b/app-emulation/bochs/Manifest @@ -1 +1,2 @@ DIST bochs-2.6.10.tar.gz 5282176 BLAKE2B 9f75d5afd6bad9f91eb18dc0bd5c9ed998bf12077d3e8d944769055f0def1eed019756346071d3809d492c54177ec798e739259ee13f67ff4760744377dc877c SHA512 eff422cadc3e0db7a47c4015a59ca0fa8caf88ed3026706c1f766e802449ec8e4798e5f147a583e1cfbbc578f71da8800542c0e1f4d04bc2dea77955855e8689 +DIST bochs-2.7.tar.gz 5298413 BLAKE2B 570ac0fec74b8e79a8e78d32a1a8655b8e3a202a3247407a45b66991598486bd6c566711a1f8e18e717d4f2119b82ae03bf4a792eebdd25a6e7ca4dedb3901ab SHA512 d43bd557316dc370ba1c317f5c3292f724460515db01316614b2d585b2760120cadd1d27a286083ac3e6f57466ed889959abd7fe960c219c149dab9a053c6967 diff --git a/app-emulation/bochs/bochs-2.7.ebuild b/app-emulation/bochs/bochs-2.7.ebuild new file mode 100644 index 000000000000..0f90dbea1511 --- /dev/null +++ b/app-emulation/bochs/bochs-2.7.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="LGPL-ed pc emulator" +HOMEPAGE="http://bochs.sourceforge.net/" +SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +IUSE="3dnow avx debugger doc gdb ncurses readline svga sdl +smp vnc X +x86-64" +REQUIRED_USE=" + avx? ( x86-64 ) + gdb? ( !debugger !smp ) + debugger? ( !gdb ) +" + +RDEPEND=" + X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXpm ) + sdl? ( media-libs/libsdl ) + svga? ( media-libs/svgalib ) + readline? ( sys-libs/readline:= ) + ncurses? ( sys-libs/ncurses:= ) +" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + doc? ( app-text/docbook-sgml-utils ) + sys-apps/sed + >=app-text/opensp-1.5 +" + +src_prepare() { + default + sed -i "s:^docdir.*:docdir = ${EPREFIX}/usr/share/doc/${PF}:" \ + Makefile.in || die +} + +src_configure() { + econf \ + --enable-all-optimizations \ + --enable-idle-hack \ + --enable-cdrom \ + --enable-clgd54xx \ + --enable-cpu-level=6 \ + --enable-disasm \ + --enable-e1000 \ + --enable-gameport \ + --enable-iodebug \ + --enable-monitor-mwait \ + --enable-ne2000 \ + --enable-plugins \ + --enable-pci \ + --enable-pnic \ + --enable-raw-serial \ + --enable-sb16=linux \ + --enable-usb \ + --enable-usb-ohci \ + --enable-usb-xhci \ + --prefix=/usr \ + --with-nogui \ + --without-wx \ + $(use_enable 3dnow) \ + $(use_enable avx) \ + $(use_enable debugger) \ + $(use_enable doc docbook) \ + $(use_enable gdb gdb-stub) \ + $(use_enable readline) \ + $(use_enable smp) \ + $(use_enable x86-64) \ + $(use_with ncurses term) \ + $(use_with sdl) \ + $(use_with svga) \ + $(use_with vnc rfb) \ + $(use_with X x) \ + $(use_with X x11) \ + ${myconf} +} |