From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1708877-garchives=archives.gentoo.org@lists.gentoo.org>
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 (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5355815813A
	for <garchives@archives.gentoo.org>; Sun, 12 Jan 2025 17:32:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EC020E0809;
	Sun, 12 Jan 2025 17:32:25 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 pigeon.gentoo.org (Postfix) with ESMTPS id A6E3FE07E2
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 17:32:25 +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 AF52B340CC9
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 17:32:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 15243207D
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 17:32:23 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1736702956.c08f2c5435dbd5023f52f41de8d4a7f04bb5f695.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/hardinfo/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-admin/hardinfo/Manifest app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild
X-VCS-Directories: app-admin/hardinfo/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: c08f2c5435dbd5023f52f41de8d4a7f04bb5f695
X-VCS-Branch: master
Date: Sun, 12 Jan 2025 17:32:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 071145c4-55db-4ec4-a2d9-61b1d185919d
X-Archives-Hash: b78e82d9c5543dec4f11e74c6ccb3013

commit:     c08f2c5435dbd5023f52f41de8d4a7f04bb5f695
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 17:29:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 17:29:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08f2c54

app-admin/hardinfo: add 0.6_alpha_pre20240320

We should still switch to hardinfo2 but this just drops the libsoup:2.4
dep by bumping to latest snapshot in the old repo (which includes a fix
for no-libsoup build) and then disabling libsoup entirely which was only
used for an update checker.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/hardinfo/Manifest                        |  1 +
 .../hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-admin/hardinfo/Manifest b/app-admin/hardinfo/Manifest
index 413516588e6e..777b0f995074 100644
--- a/app-admin/hardinfo/Manifest
+++ b/app-admin/hardinfo/Manifest
@@ -1 +1,2 @@
 DIST hardinfo-0.6_alpha_pre20221113-a798cbaed6f1b083cc3c26dbede74cf40947d0ef.tar.gz 1411038 BLAKE2B 8a6ca1a8e2bd53804cd6f55f0b9ce89d24d61aff9e267636301331d329229cd11778ea087e1906e7313cb1bd077ca69766e6fdf86c21985deba51f942cedf904 SHA512 faa7db1c8a7ac4f432a27cf10d21b453091136dd2d171b63f0b91eeea65c3cec25e7b4c2a845dfb64ff572ee6acaddfec56bd51f7292ed8b3674b44755a7a631
+DIST hardinfo-0.6_alpha_pre20240320-4c97625c5666fa5fc353e7cab322b09159e54ed4.tar.gz 1467190 BLAKE2B 7d34e5ace15008471bb488fe19cde320e8a4fd4939b69bc417ea653bdd4fffe49c87e60b5c03c57a30130350a2b9fe649673738bffe8e5d2246ebea5076054bb SHA512 022646e78ed90e36db432fa6a49ba327d455012e91059a41f8e0f5d5a2b1619cd4b22b93e6d2c6bab80965f2bb7cb295b2c24b780938ac24507d654a95b44fc8

diff --git a/app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild b/app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild
new file mode 100644
index 000000000000..aa7605b5124c
--- /dev/null
+++ b/app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake
+
+GIT_COMMIT="4c97625c5666fa5fc353e7cab322b09159e54ed4"
+
+DESCRIPTION="System information and benchmark tool for Linux systems"
+HOMEPAGE="https://github.com/lpereira/hardinfo"
+SRC_URI="https://github.com/lpereira/hardinfo/archive/${GIT_COMMIT}.tar.gz -> ${P}-${GIT_COMMIT}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="debug"
+
+RDEPEND="dev-libs/glib:2
+	dev-libs/json-glib
+	sys-libs/zlib
+	x11-libs/cairo
+	>=x11-libs/gtk+-3.0:3"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+PATCHES=( "${FILESDIR}"/hardinfo-0.6-fix-function-declarations.patch )
+
+src_configure() {
+	# Only used for update checking. Revisit when switching to hardinfo2.
+	sed -i -e '/LIBSOUP/d' CMakeLists.txt || die
+
+	local mycmakeargs=(
+		-DHARDINFO_GTK3=1
+		-DHARDINFO_DEBUG=$(usex debug 1 0)
+	)
+	cmake_src_configure
+}