forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Conrad Kostecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST hw-probe-1.6.4.tar.gz 162317 BLAKE2B 5fc5ddf032c6b2504430349089d95be5310a7ac7752a2b6c3c504240dae6572ee773f8360d6449e9122b20de904a7348a2bdc0af660de44f14cf37b16664ef2a SHA512 c812ebdb23f6b8a4df2f2849a29ecc1307c09f758aeb912face6e899510af69f9dee606fb0ff1807a6de1e89a5f7a8b3259b894cc823b9d25efbf26accf60ac4 | ||
DIST hw-probe-1.6.5.tar.gz 163190 BLAKE2B 1d2ceb152d387018f427cd623897f8c4cc8828a6952c54bb9caa673797ac347b64d9daffcddeca16e8274e5ad42c2cff22efe3330209da1eee5476636167f0ad SHA512 68d6709ca4efe82e0e5de3b580c68f76fa31384af0c53645b6609cee14b944a410e58b12ac13f879d8d86220c1088cfaad17dc6edd24cf27700e449add6f6488 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit optfeature readme.gentoo-r1 | ||
|
||
DESCRIPTION="A tool to probe for hardware, check it's operability and find drivers" | ||
HOMEPAGE="https://github.com/linuxhw/hw-probe/" | ||
SRC_URI="https://github.com/linuxhw/hw-probe/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="LGPL-2.1+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64 ~x86" | ||
|
||
RDEPEND=" | ||
dev-lang/perl | ||
dev-perl/Digest-SHA1 | ||
net-misc/curl | ||
sys-apps/dmidecode | ||
sys-apps/edid-decode | ||
sys-apps/hwinfo | ||
sys-apps/pciutils | ||
sys-apps/smartmontools | ||
sys-apps/usbutils | ||
virtual/perl-Data-Dumper | ||
" | ||
|
||
src_compile() { | ||
:; | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
readme.gentoo_create_doc | ||
} | ||
|
||
pkg_postinst() { | ||
readme.gentoo_print_elog | ||
|
||
optfeature "showing Machine Check Exceptions." app-admin/mcelog | ||
optfeature "showing additional I/O statistics." app-admin/sysstat | ||
optfeature "showing display data channel (ddc) information." app-misc/ddcutil | ||
optfeature "showing smart card (reader) information." dev-libs/opensc | ||
optfeature "showing Vulkan GPU hardware information." dev-util/vulkan-tools | ||
optfeature "showing information of attached scanners." media-gfx/sane-backends | ||
optfeature "showing GPU information provided by MESA." media-libs/mesa | ||
optfeature "showing zeroconf statistics." net-dns/avahi | ||
optfeature "showing HP printer statistics." net-print/hplip | ||
optfeature "showing status about rfkill switches on communication devices." net-wireless/rfkill | ||
optfeature "showing additional CPU capabilities." sys-apps/cpuid | ||
optfeature "showing hard disk (HDD, SSD, ..) capabilities." sys-apps/hdparm | ||
optfeature "showing available I2C sensors." sys-apps/i2c-tools | ||
optfeature "showing additional hardware and system information detected by inxi." sys-apps/inxi | ||
optfeature "showing information about tested memory for faults." sys-apps/memtester | ||
optfeature "showing 'Plug & Play' devices." sys-apps/pnputils | ||
optfeature "showing systemd boot process information." sys-apps/systemd | ||
optfeature "showing ACPI statistics and tables." sys-power/iasl | ||
optfeature "showing information about NUMA." sys-process/numactl | ||
optfeature "showing additional GPU information provided by MESA progs." x11-apps/mesa-progs | ||
optfeature "showing available Xinput devices." x11-apps/xinput | ||
} |