From ddb4d80a30d3ffaca33f707d6d9f4c11eac9c5cf Mon Sep 17 00:00:00 2001 From: Quincy Fleming Date: Sun, 26 May 2024 20:22:55 -0500 Subject: [PATCH] app-admin/hardinfo2: new package, add 2.1.8 Signed-off-by: Quincy Fleming --- app-admin/hardinfo2/Manifest | 1 + app-admin/hardinfo2/hardinfo2-2.1.8.ebuild | 42 ++++++++++++++++++++++ app-admin/hardinfo2/metadata.xml | 21 +++++++++++ 3 files changed, 64 insertions(+) create mode 100644 app-admin/hardinfo2/Manifest create mode 100644 app-admin/hardinfo2/hardinfo2-2.1.8.ebuild create mode 100644 app-admin/hardinfo2/metadata.xml diff --git a/app-admin/hardinfo2/Manifest b/app-admin/hardinfo2/Manifest new file mode 100644 index 0000000000..ac611ae5fc --- /dev/null +++ b/app-admin/hardinfo2/Manifest @@ -0,0 +1 @@ +DIST hardinfo2-2.1.8.tar.gz 5806410 BLAKE2B 99126306dad2e7ae8438de53513051a967911dc5d8ff15051807128765b95079ab91da1bde3eb9baa88383b33061326b3dc46e6381f72c32eb5adea09fba7653 SHA512 9c22181b7cd184c4aeb5ea09a3a6fdac1a6ac5faa11cc427b8b8efd29b3758056276d7d6e1f67e78d59bf86aeced3fc9080431faa92ce9ac0b0427cf17168d25 diff --git a/app-admin/hardinfo2/hardinfo2-2.1.8.ebuild b/app-admin/hardinfo2/hardinfo2-2.1.8.ebuild new file mode 100644 index 0000000000..17aa43f1a0 --- /dev/null +++ b/app-admin/hardinfo2/hardinfo2-2.1.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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 dmi +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 + benchmark? ( app-benchmarks/sysbench ) + dmi? ( sys-apps/dmidecode )" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DHARDINFO2_GTK3=$(usex gtk3) + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/app-admin/hardinfo2/metadata.xml b/app-admin/hardinfo2/metadata.xml new file mode 100644 index 0000000000..7e1d2cba37 --- /dev/null +++ b/app-admin/hardinfo2/metadata.xml @@ -0,0 +1,21 @@ + + + + + quincyf467@protonmail.com + Quincy Fleming + + + hardinfo2/hardinfo2 + https://github.com/hardinfo2/hardinfo2/blob/master/README.md + https://github.com/hardinfo2/hardinfo2/issues + + + Hardinfo2 is based on hardinfo, which has not been released for more than 10 years. + Hardinfo2 is the reboot that was needed. + + Hardinfo2 offers System Information and Benchmark for Linux Systems. + It is able to obtain information from both hardware and basic software. + It can benchmark your system and compare to other machines online. + +