commit:     9334524f84207ca83282aa3e84f7401b153f40b1
Author:     Quincy Fleming <quincyf467 <AT> protonmail <DOT> com>
AuthorDate: Fri Nov  1 00:16:50 2024 +0000
Commit:     Quincy Fleming <quincyf467 <AT> protonmail <DOT> com>
CommitDate: Fri Nov  1 00:16:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9334524f

app-admin/hardinfo2: add 2.2.1

Signed-off-by: Quincy Fleming <quincyf467 <AT> protonmail.com>

 app-admin/hardinfo2/Manifest               |  1 +
 app-admin/hardinfo2/hardinfo2-2.2.1.ebuild | 60 ++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-admin/hardinfo2/Manifest b/app-admin/hardinfo2/Manifest
index 5b445ee4d..ec8de759e 100644
--- a/app-admin/hardinfo2/Manifest
+++ b/app-admin/hardinfo2/Manifest
@@ -1 +1,2 @@
 DIST hardinfo2-2.1.17.tar.gz 6975565 BLAKE2B 
0832b797b88f730efc1a43cee67e6fb46fd875081223978b81e41fb79fd1f1d690f77f0a4c748e07d5962978aab12758682c166c5cd43409774a850f9b95a37d
 SHA512 
6953337b33a8ef34671725f2719ce83b5716150fe8182dcff94fd5dfc87f3c1899c736079f9d81b106da52ccd275f31521b2cb5d167282a2e7f5654c71bdf7c0
+DIST hardinfo2-2.2.1.tar.gz 13786788 BLAKE2B 
afac0972be12e89538bea2466b9291754c05c78206543ec0a66595a06d9d33862de80763980c30d52fed8ac6eff9924dec02a8ee1307060b961598c1ee076e9c
 SHA512 
960f6c6f853fc32da82eceff27b6de609ef51bf43abbe6e480496789f3d68a8701c8ce730353a6ca1c4ccd2fc4eca0b9c42a2998b192447089346a7b8e78d106

diff --git a/app-admin/hardinfo2/hardinfo2-2.2.1.ebuild 
b/app-admin/hardinfo2/hardinfo2-2.2.1.ebuild
new file mode 100644
index 000000000..337cb0252
--- /dev/null
+++ b/app-admin/hardinfo2/hardinfo2-2.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="System Information and Benchmark for Linux Systems"
+HOMEPAGE="https://www.hardinfo2.org";
+SRC_URI="https://github.com/hardinfo2/hardinfo2/archive/refs/tags/release-${PV}.tar.gz
 -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+LICENSE="GPL-2+ GPL-3+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="benchmark fwupd +gtk3"
+
+DEPEND="
+       gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 )
+       >=dev-libs/glib-2.24
+       sys-libs/zlib
+       dev-libs/json-glib
+       net-libs/libsoup:3.0
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf
+       x11-libs/libX11
+       x11-libs/pango
+"
+RDEPEND="
+       ${DEPEND}
+       dev-util/vulkan-tools
+       net-misc/iperf:3
+       sys-apps/dmidecode
+       sys-apps/lm-sensors
+       sys-fs/lsscsi
+       sys-fs/udisks:2
+       x11-apps/mesa-progs
+       x11-apps/xrandr
+       x11-misc/xdg-utils
+       benchmark? ( app-benchmarks/sysbench )
+       fwupd? ( sys-apps/fwupd )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local mycmakeargs=(
+               -DHARDINFO2_GTK3=$(usex gtk3)
+               -DHARDINFO2_QT5=0
+       )
+       cmake_src_configure
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to