diff options
Diffstat (limited to 'app-admin/hardinfo2/hardinfo2-2.1.11-r1.ebuild')
-rw-r--r-- | app-admin/hardinfo2/hardinfo2-2.1.11-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app-admin/hardinfo2/hardinfo2-2.1.11-r1.ebuild b/app-admin/hardinfo2/hardinfo2-2.1.11-r1.ebuild new file mode 100644 index 000000000..3b81691bd --- /dev/null +++ b/app-admin/hardinfo2/hardinfo2-2.1.11-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="System Information and Benchmark for Linux Systems" +HOMEPAGE="https://www.hardinfo2.org" +SRC_URI="https://github.com/hardinfo2/hardinfo2/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}-release-${PV}" + +LICENSE="GPL-2+ GPL-3+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="benchmark dmi fwupd +gtk3 mesa network scsi sensors udisks +xdg" + +DEPEND=" + gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) + >=dev-libs/glib-2.24 + sys-libs/zlib + dev-libs/json-glib + net-libs/libsoup:3.0 + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + x11-libs/pango +" +RDEPEND=" + ${DEPEND} + benchmark? ( app-benchmarks/sysbench ) + dmi? ( sys-apps/dmidecode ) + sensors? ( sys-apps/lm-sensors ) + scsi? ( sys-fs/lsscsi ) + mesa? ( x11-apps/mesa-progs ) + udisks? ( sys-fs/udisks:2 ) + xdg? ( x11-misc/xdg-utils ) + network? ( net-misc/iperf:3 ) + fwupd? ( sys-apps/fwupd ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DHARDINFO2_GTK3=$(usex gtk3) + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |