summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <crabbedhaloablution@icloud.com>2020-11-21 21:03:17 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-23 15:11:26 +0200
commitac7356e9da3996737f2187edc82cc0e0cb9b7f49 (patch)
tree9485ebb97b74a2ab80a587950e6be0dfe5127dba /app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild
parentapp-crypt/tpm2-tss: Remove old (diff)
downloadgentoo-ac7356e9da3996737f2187edc82cc0e0cb9b7f49.tar.gz
gentoo-ac7356e9da3996737f2187edc82cc0e0cb9b7f49.tar.bz2
gentoo-ac7356e9da3996737f2187edc82cc0e0cb9b7f49.zip
app-admin/hardinfo: add 0.6_alpha_pre20201116
Fix building with gcc-10. Thanks to Peter Alfredsen for submitting the ebuild. Closes: https://bugs.gentoo.org/752054 Closes: https://bugs.gentoo.org/707722 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com> Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/18351 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild')
-rw-r--r--app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild b/app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild
new file mode 100644
index 00000000000..3f3b864aafe
--- /dev/null
+++ b/app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+GIT_COMMIT=54b2e307af763ce87bc8c88e80785d8114bf38dd
+
+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}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="dev-libs/json-glib
+ dev-libs/glib:2
+ net-libs/libsoup
+ sys-libs/zlib
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.0:3"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DHARDINFO_GTK3=1
+ -DHARDINFO_DEBUG=$(usex debug 1 0)
+ )
+ cmake_src_configure
+}