From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02E31158087 for ; Wed, 26 Jan 2022 01:11:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F1462BC02F; Wed, 26 Jan 2022 01:11:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BABFF2BC02F for ; Wed, 26 Jan 2022 01:11:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA1EB342CDC for ; Wed, 26 Jan 2022 01:11:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33F0D1F0 for ; Wed, 26 Jan 2022 01:11:22 +0000 (UTC) From: "Kevin Thomas" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kevin Thomas" Message-ID: <1643159442.9c7b4a5459f6883e6bad333247b23309a91cb0f8.me@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/xmrig-mo/Manifest net-misc/xmrig-mo/xmrig-mo-6.16.3.ebuild X-VCS-Directories: net-misc/xmrig-mo/ X-VCS-Committer: me X-VCS-Committer-Name: Kevin Thomas X-VCS-Revision: 9c7b4a5459f6883e6bad333247b23309a91cb0f8 X-VCS-Branch: dev Date: Wed, 26 Jan 2022 01:11:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 02e4839f-13e6-44fa-9b6f-e13955ad1ea5 X-Archives-Hash: c224a05a5fc102b93e45d7887b74e5cd commit: 9c7b4a5459f6883e6bad333247b23309a91cb0f8 Author: Kevin Thomas kevinthomas dev> AuthorDate: Wed Jan 26 01:10:42 2022 +0000 Commit: Kevin Thomas kevinthomas dev> CommitDate: Wed Jan 26 01:10:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c7b4a54 net-misc/xmrig-mo: bump to 6.16.3 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Kevin Thomas kevinthomas.dev> net-misc/xmrig-mo/Manifest | 1 + net-misc/xmrig-mo/xmrig-mo-6.16.3.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest index 24b36b119..c0b47e947 100644 --- a/net-misc/xmrig-mo/Manifest +++ b/net-misc/xmrig-mo/Manifest @@ -1 +1,2 @@ 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 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.16.3.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.16.3.ebuild new file mode 100644 index 000000000..93bea0a1a --- /dev/null +++ b/net-misc/xmrig-mo/xmrig-mo-6.16.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 +}