diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/bochs |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/bochs')
-rw-r--r-- | app-emulation/bochs/Manifest | 5 | ||||
-rw-r--r-- | app-emulation/bochs/bochs-2.6.9.ebuild | 83 | ||||
-rw-r--r-- | app-emulation/bochs/metadata.xml | 17 |
3 files changed, 105 insertions, 0 deletions
diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest new file mode 100644 index 000000000000..aa8339fb8ff3 --- /dev/null +++ b/app-emulation/bochs/Manifest @@ -0,0 +1,5 @@ +DIST bochs-2.6.9.tar.gz 5169187 SHA256 ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c SHA512 dfecf3a1bad07f06c2f7bb989d146e4a8eaeca493b598d415f5a4aec2a85eb5524ba417422157608c8b0828832611df487c6923c8f4ad98a147ac089fc514c46 WHIRLPOOL 9bd7c7c171d93ad2ca517bc4d02f77a617541583818c77f29eb6b4f80ec92d53a5e7126d7287f148ac501a49a5358e5a18f2a7592949acf21291182e0049adf4 +EBUILD bochs-2.6.9.ebuild 1773 SHA256 dabe01d2021470d0c67f89cb085e5fdf40e46611abde4299cfb5c885d196b8ad SHA512 9556f61d1ffaf67f3a21f819ef5cedde45a06995827fc2f0856bd7052f2375dfd478976183b3fbb6795dd4d9a1690909cbdaafcfcda4b786d5462b4f74799dac WHIRLPOOL acdbeef44b242a594ec6754aec48a23c16dedba542f80fef55b3a5a6d876a41b5b27f1e38f568ab73951d77a16a8cf5b1c39757c959faef51a993527dc62ad96 +MISC ChangeLog 2659 SHA256 a697e0b7ea70b7a4acb13dc12e10d129ef4ee0194c7039ba16116283acc25081 SHA512 758478c2afe750a381a12b7c7f4a214bf0e93c73180d92791bc99c45fcdbd453ca2f6fc53340f3d2d62816f32a3ffe71a1f1a76199af8c27859d3a68ffe6d075 WHIRLPOOL 9b1cf97d55a20ebdb2408651ef627812f051386a9f5a16aadd423b062cc693aa6f5a6d84f02676f6045df34d04c97078903885db67e35a1f380ad5a3c34a80b6 +MISC ChangeLog-2015 12244 SHA256 0afaa1b7de205549b29f0cef8635fc0602e1b51e2de5e27b254d71288e699c4d SHA512 ca3b04c2d619e36fac5518dfca3e4e734d33312bc83919eb5e0d6ffa25db2fe5da7ba37b5ad7142c285054919006b770e019e9f2a857969b1741723a8e4a78b9 WHIRLPOOL 14cbb8356d9d267cf1f926d247a6485f863be61fd091fda33eab948afa6607be35e994ade7a9ab587e99c1332c44a57fbbe8fb936f99d6f7bcefef6e38536829 +MISC metadata.xml 694 SHA256 3fe699ed78a536e01a641a6344da96a6a8afd0bf53389fe35476e3fd70b0f6f7 SHA512 f485e816ba644c74965808ba68a2a4077ee7d8b6dc12777f7018fa27de0a8219d71ef513686fadd927dce8f1e9b0e011106b24b00b1cb88b2cdccef2f525ec19 WHIRLPOOL f64f2190bf76edb54c78ef2c124f38ef27148bb0a03e8b97c5782ae1c473fc1fdd809a38af432ee703f17eadb4d72945b29d90a5c3c92546d53e0352c09c026d 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..1fbf6c61aec6 --- /dev/null +++ b/app-emulation/bochs/bochs-2.6.9.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 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-proto/xproto ) + 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> |