public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin Thomas" <me@kevinthomas.dev>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/
Date: Wed, 14 May 2025 22:11:46 +0000 (UTC)	[thread overview]
Message-ID: <1747260622.62d2f0787fc79e3a76475c20c744ffc7345dc4f2.me@gentoo> (raw)

commit:     62d2f0787fc79e3a76475c20c744ffc7345dc4f2
Author:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
AuthorDate: Wed May 14 22:10:22 2025 +0000
Commit:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
CommitDate: Wed May 14 22:10:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62d2f078

net-misc/xmrig-mo: add 6.22.2

Signed-off-by: Kevin Thomas <me <AT> kevinthomas.dev>

 net-misc/xmrig-mo/Manifest               |  1 +
 net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild | 59 ++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
index 71e91ed93..28e8f95e3 100644
--- a/net-misc/xmrig-mo/Manifest
+++ b/net-misc/xmrig-mo/Manifest
@@ -1 +1,2 @@
 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

diff --git a/net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild
new file mode 100644
index 000000000..776fee69e
--- /dev/null
+++ b/net-misc/xmrig-mo/xmrig-mo-6.22.2.ebuild
@@ -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
+}


             reply	other threads:[~2025-05-14 22:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14 22:11 Kevin Thomas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-28 20:50 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/ Kevin Thomas
2024-03-18 18:29 Kevin Thomas
2023-09-16 23:23 Kevin Thomas
2023-06-04 23:15 Kevin Thomas
2023-04-06  0:06 Kevin Thomas
2023-03-27  4:46 Kevin Thomas
2023-02-15  0:51 Kevin Thomas
2022-10-23 21:51 Kevin Thomas
2022-06-29 19:47 Kevin Thomas
2022-06-05 21:16 Alessandro Barbieri
2022-04-01  2:55 Kevin Thomas
2022-02-05  0:25 Kevin Thomas
2022-01-26  1:11 Kevin Thomas
2021-10-04  8:11 Theo Anderson
2021-04-28  2:16 Theo Anderson
2021-04-28  2:16 Theo Anderson
2020-12-28  7:08 Theo Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1747260622.62d2f0787fc79e3a76475c20c744ffc7345dc4f2.me@gentoo \
    --to=me@kevinthomas.dev \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox