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: Sun,  4 Jun 2023 23:15:38 +0000 (UTC)	[thread overview]
Message-ID: <1685920519.4aaa7555495f66aa54c786b5121072d79b2811c1.me@gentoo> (raw)

commit:     4aaa7555495f66aa54c786b5121072d79b2811c1
Author:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
AuthorDate: Sun Jun  4 23:15:00 2023 +0000
Commit:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
CommitDate: Sun Jun  4 23:15:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4aaa7555

net-misc/xmrig-mo: add 6.19.3

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

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

diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
index 80e0012c0..40744c116 100644
--- a/net-misc/xmrig-mo/Manifest
+++ b/net-misc/xmrig-mo/Manifest
@@ -7,3 +7,4 @@ DIST xmrig-mo-6.18.1-mo1.tar.gz 2452916 BLAKE2B bd52bfb1a83b5efeee713f376040cd8b
 DIST xmrig-mo-6.19.0-mo1.tar.gz 2468314 BLAKE2B 612bc689b5c8c3bba63ea4fa55edad4b36aebf8e35cdd2d2ea33eab865bc9c6c923d2f770b0bc15a71dfc95781942fcb388cf1d82d78c25f03de57af8ea6427f SHA512 d1e8140530bf847f667ba89a49b1803cf6140cc2a1678a6df1f7b6a1c1f99eb966506a8d8398f65a9f829bb527e3476f427f3203a9692dd89efa7bd879b75c5c
 DIST xmrig-mo-6.19.1-mo1.tar.gz 2468434 BLAKE2B b60767cfecb25ad526b025f81d8565c97ff2e7deebcd04f3aa466782e2c85d0a52e2878e6597de688f87db7b43ef8a1c91b70053e4bceec2022db9acfc87d8c7 SHA512 33c197a37de981510d3ace619aa4d55b5cd8ad74e918cc93d0be453e2b707f6437d67e3110f16db13e98b6a345c50f50455b4be9ebbb47de30cc7e95221961c3
 DIST xmrig-mo-6.19.2-mo1.tar.gz 2468797 BLAKE2B 8918db8a82ed0d00dfe0e9c099939449b55143509f6a8f7afb814eece04286facbcf5c522a57515d6b4e711b44981e3f15347f09df5aa4d6b959a8fea76cf0ef SHA512 160aa795c97382c89e669b2753e32ef74a1ae546e531118dbfc4b3367af628aeed2f5965a587b5bc6cf3a903c31a1f73d1bc07259aaa16ab3c66083472a71f49
+DIST xmrig-mo-6.19.3-mo1.tar.gz 2469382 BLAKE2B ac4d7ab23d1f90885eaebd2f509f955c9cf88cdcf5d3296222f2b0990d5233022c5370c0e81d04eee0d5fa1002fa9fbf898d29bd831a6e44d4adde57e2501f8f SHA512 188445bd1071c062c9e98d67518b270ea8807317f3a74992c476546ab14b18a2e572dc3cfd3af6e21b1a1e908dcf4244367b8d31a98503dbff576ad5a66f1de0

diff --git a/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild
new file mode 100644
index 000000000..93bea0a1a
--- /dev/null
+++ b/net-misc/xmrig-mo/xmrig-mo-6.19.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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:= )
+	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:[~2023-06-04 23:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 23:15 Kevin Thomas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-14 22:11 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/ Kevin Thomas
2024-03-28 20:50 Kevin Thomas
2024-03-18 18:29 Kevin Thomas
2023-09-16 23:23 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=1685920519.4aaa7555495f66aa54c786b5121072d79b2811c1.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