From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2587A158086 for ; Wed, 20 Oct 2021 02:04:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E680E083D; Wed, 20 Oct 2021 02:04:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B0C0E083D for ; Wed, 20 Oct 2021 02:04:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A7B43438DC for ; Wed, 20 Oct 2021 02:04:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9168E101 for ; Wed, 20 Oct 2021 02:04:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634695411.3d040b84bb53f6c236b14584b164ecfa4f47680c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/bochs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/bochs/Manifest app-emulation/bochs/bochs-2.7.ebuild X-VCS-Directories: app-emulation/bochs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3d040b84bb53f6c236b14584b164ecfa4f47680c X-VCS-Branch: master Date: Wed, 20 Oct 2021 02:04:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52e4b219-999b-42c1-8124-fb5faba46c8c X-Archives-Hash: b3010c80b1b2531f0b1fe0c45901d840 commit: 3d040b84bb53f6c236b14584b164ecfa4f47680c Author: Pierre-Nicolas Clauss protonmail com> AuthorDate: Tue Aug 10 11:31:49 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 20 02:03:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d040b84 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 protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/21944 Signed-off-by: Sam James gentoo.org> app-emulation/bochs/Manifest | 1 + app-emulation/bochs/bochs-2.7.ebuild | 85 ++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest index 2dc0bd9aff9..37499a1033c 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 00000000000..0f90dbea151 --- /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} +}