mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/hardinfo: add 0.6_alpha_pre20240320
We should still switch to hardinfo2 but this just drops the libsoup:2.4 dep by bumping to latest snapshot in the old repo (which includes a fix for no-libsoup build) and then disabling libsoup entirely which was only used for an update checker. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
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
|
||||
|
||||
40
app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild
Normal file
40
app-admin/hardinfo/hardinfo-0.6_alpha_pre20240320.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user