You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/app-admin/hardinfo/hardinfo-0.6_alpha_pre20221...

39 lines
893 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg cmake
GIT_COMMIT="a798cbaed6f1b083cc3c26dbede74cf40947d0ef"
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
net-libs/libsoup:2.4
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() {
local mycmakeargs=(
-DHARDINFO_GTK3=1
-DHARDINFO_DEBUG=$(usex debug 1 0)
)
cmake_src_configure
}