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: Sat,  5 Feb 2022 00:25:36 +0000 (UTC)	[thread overview]
Message-ID: <1644020690.82e15110de34bf13b8c37cf3ede692821985ca4b.me@gentoo> (raw)

commit:     82e15110de34bf13b8c37cf3ede692821985ca4b
Author:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
AuthorDate: Sat Feb  5 00:24:50 2022 +0000
Commit:     Kevin Thomas <me <AT> kevinthomas <DOT> dev>
CommitDate: Sat Feb  5 00:24:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82e15110

net-misc/xmrig-mo: bump to 6.16.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Kevin Thomas <me <AT> kevinthomas.dev>

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

diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
index c0b47e947..bfd575886 100644
--- a/net-misc/xmrig-mo/Manifest
+++ b/net-misc/xmrig-mo/Manifest
@@ -1,2 +1,3 @@
 DIST xmrig-mo-6.16.2-mo2.tar.gz 2480342 BLAKE2B cfb1078f67913f3719dd929a1a41ef2040fdf5c7696baca990e3d9f869566e609406b4d592db50d00024adc5da05427382688e826523a9a407c0a79b554d3f5a SHA512 961e52c8ac3de9a55cbbdc11d282fc65c1827e87ac55b5f892866e5193509b23ca4bc9eeb869c019d1b025be14a877142e3b55c7485b6ded6673c832df8c36c3
 DIST xmrig-mo-6.16.3-mo1.tar.gz 2481805 BLAKE2B 7d134bc4294824e5a79b2782a07a5e0513e77ecff79deb8434c3b36c3ac21053679e451cc3cde97a84908e56fa151b4cd142711c6a7d5c016b6968cec4d21e7d SHA512 e27a529315ea819d2ac41cb28ff9c5cf386e8c687aad29c170acd1d84563ca4aecf97efdbb2c5d766c63439f65aa3f44f055e0d146b365084053a139398e5608
+DIST xmrig-mo-6.16.4-mo1.tar.gz 2482875 BLAKE2B 659d4020c51c6e6c56d0fcca1e9e7e5e07b5aeb84b24cc0dfeb2d3b10c8116a9cdfb904cf82afcff7d6cf5320f54528399a0b36146a11a2c0172e2e579246da9 SHA512 dd2bb1e2279ab42116814d8e1ed04115719007a438cec5b6da36b8e60e1965e6bb94802cc079a6878f68f89c24d4af8561068a81ec316827784aaf82c30156e4

diff --git a/net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild
new file mode 100644
index 000000000..93bea0a1a
--- /dev/null
+++ b/net-misc/xmrig-mo/xmrig-mo-6.16.4.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:[~2022-02-05  0:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05  0:25 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-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-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=1644020690.82e15110de34bf13b8c37cf3ede692821985ca4b.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