summaryrefslogtreecommitdiff
path: root/app-admin/hardinfo
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/hardinfo')
-rw-r--r--app-admin/hardinfo/Manifest2
-rw-r--r--app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/hardinfo/Manifest b/app-admin/hardinfo/Manifest
index 23ae3303004e..66f371d871c3 100644
--- a/app-admin/hardinfo/Manifest
+++ b/app-admin/hardinfo/Manifest
@@ -1,4 +1,6 @@
AUX hardinfo-0.6-fix-function-declarations.patch 5559 BLAKE2B df1c7393b645067f68a128fbf39b2eb75501fd40c4f5de52662aeaa77ed94193b6e0b7975993fbb1e64619a1e9f0a6e72c4333ec51e30ba6f4483319f3fd041e SHA512 5d5fef6fd8e6f9817b871b635a53c1682f193a7303b308d7a3493f63b2334589f278b4a40d7e87b62634aeffab82a2227cf142f29c9b8548d13a07d69133fead
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
EBUILD hardinfo-0.6_alpha_pre20221113.ebuild 892 BLAKE2B a6051037db0b2fb45f15e51c9e205a7d24a9ea46671439bed3b04b539aa77677a97655600f8bb493b90fe9e8de1ed0c620b5993795fb4699ab476403b48596e5 SHA512 5bb228fccb9e19143df6117e5f563b1f322e95bd59b491730786c7e588c4a201cadfe9cf38512e3eed3728c65c57034a15fe6a2f1f2a87143537876dff8dffb0
+EBUILD hardinfo-0.6_alpha_pre20240320.ebuild 991 BLAKE2B a9689517b49b5e43d8aab6627f0cf0a185e4d1d5185d6615c14bb49c28cba1f61ee51be038501050c051955444ad98d3b0f53e66f8224cd0074b1a07c82a0c98 SHA512 c784fe1df209f70dccfc93e74d98086308e702d9a3c91125c5b39ee12ff8edba65746dd8eed862a597cdc8b9164daecc2a0e3a03b06db7b0ec5645bc3f96a862
MISC metadata.xml 250 BLAKE2B ba7b806be711ae1988ec55d849a15675432fc0e75efb82b2e7fdd8a2366dbc01fbf0d56985af11c2da599849b01e5edf6a4076a5c3d3cb5893145e87bf3cdab1 SHA512 b08f58427154512cd38957b241f0226ef4cdd2edc202044af62720696116d408164773ca67f86b72ffd83587827ea2d4717f3feb7ba7fc978633079b08989bc2
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
+}