diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/bochs | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/bochs')
-rw-r--r-- | app-emulation/bochs/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/bochs/bochs-2.6.9.ebuild | 83 | ||||
-rw-r--r-- | app-emulation/bochs/metadata.xml | 17 |
3 files changed, 103 insertions, 0 deletions
diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest new file mode 100644 index 000000000000..c33556b3b641 --- /dev/null +++ b/app-emulation/bochs/Manifest @@ -0,0 +1,3 @@ +DIST bochs-2.6.9.tar.gz 5169187 BLAKE2B 49824a96a48294d8d507bc15128103e9c2839515554657d282c7c9533aa299cb6289581e760ea40a6c659adfb7ebdac0d273d2a9e7b598c95b145d65e8cdc977 SHA512 dfecf3a1bad07f06c2f7bb989d146e4a8eaeca493b598d415f5a4aec2a85eb5524ba417422157608c8b0828832611df487c6923c8f4ad98a147ac089fc514c46 +EBUILD bochs-2.6.9.ebuild 1776 BLAKE2B ed0856066057c1e31272b17bb2133864cac4c6bccf954b471219764a535cb5bde293fa8970e7ed494d0022e153c6755f5453d3441de8d3ff9d10d87945bfb22b SHA512 0a68372737dad8f465996caf4308b200efbb3be5854fc018b269f38d7017ffa40715be83eea143abd902e46f13f07445585db3dafccc904f9878d14b6214fe06 +MISC metadata.xml 694 BLAKE2B 5800f617f2bbcceb04ec0398182dd7dd025fc98991e25009fa0fab64ee7e4ce516cc4dc69ef84e8bf3804f52732ce35463295ff2621edbe8848620739cdbef5e SHA512 f485e816ba644c74965808ba68a2a4077ee7d8b6dc12777f7018fa27de0a8219d71ef513686fadd927dce8f1e9b0e011106b24b00b1cb88b2cdccef2f525ec19 diff --git a/app-emulation/bochs/bochs-2.6.9.ebuild b/app-emulation/bochs/bochs-2.6.9.ebuild new file mode 100644 index 000000000000..80e103e7f589 --- /dev/null +++ b/app-emulation/bochs/bochs-2.6.9.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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} + doc? ( app-text/docbook-sgml-utils ) + X? ( x11-base/xorg-proto ) + 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} +} diff --git a/app-emulation/bochs/metadata.xml b/app-emulation/bochs/metadata.xml new file mode 100644 index 000000000000..4e953a303483 --- /dev/null +++ b/app-emulation/bochs/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lu_zero@gentoo.org</email> + </maintainer> + <use> + <flag name="3dnow">Enable support for emulating 3DNow! instructions (incomplete)</flag> + <flag name="avx">Enable support for emulating Advanced Vector Extensions (AVX)</flag> + <flag name="debugger">Enable debugger (slows down emulation)</flag> + <flag name="gdb">Enable support for the remote GDB stub</flag> + <flag name="x86-64">Enable support for emulation of 64-bit CPUs</flag> + </use> + <upstream> + <remote-id type="sourceforge">bochs</remote-id> + </upstream> +</pkgmetadata> |