diff options
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-2.5.0.ebuild | 123 | ||||
-rw-r--r-- | net-misc/bfgminer/metadata.xml | 3 |
3 files changed, 5 insertions, 127 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index cce72707b731..3f52fc069fd7 100644 --- a/net-misc/bfgminer/ChangeLog +++ b/net-misc/bfgminer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/bfgminer # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.75 2015/02/01 12:11:28 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.76 2015/02/01 12:29:25 mgorny Exp $ + + 01 Feb 2015; Michał Górny <mgorny@gentoo.org> -bfgminer-2.5.0.ebuild, + metadata.xml: + Drop old. Fixes CPU_FLAGS_X86 incompat, bug #538266. 01 Feb 2015; Mikle Kolyada <zlogene@gentoo.org> bfgminer-3.10.5.ebuild: x86 stable wrt bug #516646 diff --git a/net-misc/bfgminer/bfgminer-2.5.0.ebuild b/net-misc/bfgminer/bfgminer-2.5.0.ebuild deleted file mode 100644 index 1d97241debf5..000000000000 --- a/net-misc/bfgminer/bfgminer-2.5.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.5.0.ebuild,v 1.10 2015/01/30 20:53:36 blueness Exp $ - -EAPI="4" - -inherit eutils - -DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" -HOMEPAGE="https://bitcointalk.org/?topic=168174" -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" -REQUIRED_USE=" - || ( bitforce cpumining icarus modminer opencl ztex ) - adl? ( opencl ) - altivec? ( cpumining ppc ppc64 ) - opencl? ( ncurses ) - padlock? ( cpumining || ( amd64 x86 ) ) - sse2? ( cpumining || ( amd64 x86 ) ) - sse4? ( cpumining amd64 ) -" - -DEPEND=" - net-misc/curl - ncurses? ( - sys-libs/ncurses - ) - dev-libs/jansson - udev? ( - virtual/udev - ) - ztex? ( - virtual/libusb:1 - ) -" -RDEPEND="${DEPEND} - opencl? ( - virtual/opencl - ) -" -DEPEND="${DEPEND} - virtual/pkgconfig - sys-apps/sed - adl? ( - x11-libs/amd-adl-sdk - ) - sse2? ( - >=dev-lang/yasm-1.0.1 - ) - sse4? ( - >=dev-lang/yasm-1.0.1 - ) -" - -src_prepare() { - sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h - ln -s /usr/include/ADL/* ADL_SDK/ -} - -src_configure() { - local CFLAGS="${CFLAGS}" - if ! use altivec; then - sed -i 's/-faltivec//g' configure - else - CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1" - fi - use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1" - if use sse2; then - if use amd64; then - CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1" - else - CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1" - fi - fi - use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" - use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" - use hardened && CFLAGS="${CFLAGS} -nopie" - - CFLAGS="${CFLAGS}" \ - econf \ - $(use_enable adl) \ - $(use_enable bitforce) \ - $(use_enable cpumining) \ - $(use_enable icarus) \ - $(use_enable modminer) \ - $(use_with ncurses curses) \ - $(use_enable opencl) \ - $(use_with udev libudev) \ - $(use_enable ztex) - # sanitize directories - sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h -} - -src_install() { - dobin bfgminer - dodoc AUTHORS NEWS README API-README - if use icarus || use bitforce; then - dodoc FPGA-README - fi - if use modminer; then - insinto /usr/lib/bfgminer/modminer - doins bitstreams/*.ncd - dodoc bitstreams/COPYING_fpgaminer - fi - if use opencl; then - insinto /usr/lib/bfgminer - doins *.cl - fi - if use ztex; then - insinto /usr/lib/bfgminer/ztex - doins bitstreams/*.bit - dodoc bitstreams/COPYING_ztex - fi - if use examples; then - docinto examples - dodoc api-example.php miner.php API.java api-example.c - fi -} diff --git a/net-misc/bfgminer/metadata.xml b/net-misc/bfgminer/metadata.xml index 30a7ac02230d..00d5daf29b7b 100644 --- a/net-misc/bfgminer/metadata.xml +++ b/net-misc/bfgminer/metadata.xml @@ -39,7 +39,6 @@ <flag name='modminer'>Enable support for mining with ModMiner FPGAs</flag> <flag name='nanofury'>Enable support for mining with NanoFury USB sticks</flag> <flag name='opencl'>Enable support for mining with OpenCL-capable devices (GPUs)</flag> - <flag name='padlock'>Enable support for mining with VIA Padlock CPUs</flag> <flag name='proxy'>Enable support for virtual proxy device</flag> <flag name='proxy_getwork'>Enable proxy support for getwork protocol (often used with Block Erupter Blades)</flag> <flag name='proxy_stratum'>Enable proxy support for stratum protocol</flag> @@ -47,8 +46,6 @@ <flag name='screen'>Provide start-bfgminer.sh script to launch BFGMiner in app-misc/screen</flag> <flag name='scrypt'>Enable support for scrypt mining algorithm</flag> <flag name='sha256d'>Enable support for SHA256d mining algorithm</flag> - <flag name='sse2_4way'>Enable support for CPU SSE2 4way mining algorithm</flag> - <flag name='sse4'>Enable support for CPU SSE4 mining algorithm</flag> <flag name='twinfury'>Enable support for mining with Twinfury USB sticks</flag> <flag name='udev-broad-rules'>Enable broader udev rules that may match non-mining devices</flag> <flag name='x6500'>Enable support for mining with X6500 FPGAs</flag> |