commit: ddb4d80a30d3ffaca33f707d6d9f4c11eac9c5cf Author: Quincy Fleming <quincyf467 <AT> protonmail <DOT> com> AuthorDate: Mon May 27 01:22:55 2024 +0000 Commit: Quincy Fleming <quincyf467 <AT> protonmail <DOT> com> CommitDate: Mon May 27 01:22:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ddb4d80a
app-admin/hardinfo2: new package, add 2.1.8 Signed-off-by: Quincy Fleming <quincyf467 <AT> protonmail.com> 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(+) diff --git a/app-admin/hardinfo2/Manifest b/app-admin/hardinfo2/Manifest new file mode 100644 index 000000000..ac611ae5f --- /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 000000000..17aa43f1a --- /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 000000000..7e1d2cba3 --- /dev/null +++ b/app-admin/hardinfo2/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>quincyf...@protonmail.com</email> + <name>Quincy Fleming</name> + </maintainer> + <upstream> + <remote-id type="github">hardinfo2/hardinfo2</remote-id> + <doc lang="en">https://github.com/hardinfo2/hardinfo2/blob/master/README.md</doc> + <bugs-to>https://github.com/hardinfo2/hardinfo2/issues</bugs-to> + </upstream> + <longdescription lang="en"> + 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. + </longdescription> +</pkgmetadata>