mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
net-misc/xmrig-mo: add 6.22.2
Signed-off-by: Kevin Thomas <me@kevinthomas.dev>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST xmrig-mo-6.21.2-mo1.tar.gz 2486976 BLAKE2B 2bee7d461657f1c20b786b546c3c79d78bccc2eccaf5a7c91aa2fcea75f8a1a4069db38ce2e8b229b1e6a6d34439ca1f384f04249da0f17189a50c88511379a4 SHA512 0d6a89fedfe06988f1d85c6f6b87c651244a9222657e29c833ed368c782e3fe16f4d4b56b327e2af6cb89b201c5d892039da1185459699348fbdb996a9226253
|
DIST xmrig-mo-6.21.2-mo1.tar.gz 2486976 BLAKE2B 2bee7d461657f1c20b786b546c3c79d78bccc2eccaf5a7c91aa2fcea75f8a1a4069db38ce2e8b229b1e6a6d34439ca1f384f04249da0f17189a50c88511379a4 SHA512 0d6a89fedfe06988f1d85c6f6b87c651244a9222657e29c833ed368c782e3fe16f4d4b56b327e2af6cb89b201c5d892039da1185459699348fbdb996a9226253
|
||||||
|
DIST xmrig-mo-6.22.2-mo1.tar.gz 2512628 BLAKE2B 7099cb205eead10cfa3def0e09ff96224b5fbbd2411bc648059ae5e433d11d8eadc74212cdccbd2a5b6c6499a80aebcb67705a541b3c60060228bdd8c8376ef4 SHA512 9c4b84e4a6bfe91b8d4e9162b0c57638f1c5b2cda051eb886984d865c49884af6619a908e0663a32d73f2167af755b1dfe18ba76808383d3e19255c40ff43527
|
||||||
|
|||||||
59
net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild
Normal file
59
net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
MO_PV="mo1"
|
||||||
|
DESCRIPTION="MoneroOcean fork of xmrig that supports algo switching"
|
||||||
|
HOMEPAGE="https://github.com/MoneroOcean/xmrig"
|
||||||
|
SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 GPL-3+ MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/libuv:=
|
||||||
|
hwloc? ( >=sys-apps/hwloc-2.5.0:= )
|
||||||
|
opencl? ( virtual/opencl )
|
||||||
|
ssl? ( dev-libs/openssl:= )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
!arm64? ( sys-apps/msr-tools )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if ! use donate ; then
|
||||||
|
sed -i 's/1;/0;/g' src/donate.h || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1)
|
||||||
|
-DWITH_HWLOC=$(usex hwloc)
|
||||||
|
-DWITH_TLS=$(usex ssl)
|
||||||
|
-DWITH_OPENCL=$(usex opencl)
|
||||||
|
-DWITH_CUDA=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
newbin "${BUILD_DIR}/xmrig" xmrig-mo
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user