Skip to content

Commit

Permalink
app-admin/hardinfo: add 0.6_alpha_pre20201116
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jakov Smolic <[email protected]>
Closes: gentoo#18351
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
crabbedhaloablution authored and juippis committed Nov 23, 2020
1 parent 2cdded6 commit ac7356e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
1 change: 1 addition & 0 deletions app-admin/hardinfo/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST hardinfo-0.5.2_pre20130823.tar.xz 280472 BLAKE2B d72883e7e57234b3328d03daf4d81cc478b383b51f4de08981792c42b3278ede81731ca831fbc285a594aa7f00f861c870aa6d784b7c282960f5541f04f9ce45 SHA512 e36bd4eec0090461de5fdb6c17dccf76937ee8fa9cb3411068fc568847f519023037999278bbb8b9a24608ed5b1d7fd2bebfe7115c631ccca1c35fa259cb20b1
DIST hardinfo-0.6_alpha_pre20201116.tar.gz 1294614 BLAKE2B d585be00603a5da2873d0e15829039f3f5212e2ab294b71d7f53299d7eecdfbb2d46ee8d56913039bf03807cebe3f100f41ce6560a1a33fcd712eab59c2a92a9 SHA512 34ce849f2d1a9ea129502abfb186b43a0d8ddecc853d2edc3128389944a34efa3580c6d8a35b8fc40b55d64cc8f3c0d33b97f198a449ed0cacdbff2520853c1c
36 changes: 36 additions & 0 deletions app-admin/hardinfo/hardinfo-0.6_alpha_pre20201116.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion app-admin/hardinfo/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<!-- maintainer-needed -->
</pkgmetadata>

0 comments on commit ac7356e

Please sign in to comment.