blob: 052acb3c44fae2e0b194f33ca8eeb3bd8ce9e5f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV="${PV/_/-}"
MY_PV_BETA="${MY_PV/2/}"
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/${MY_PV_BETA}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV_BETA}"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 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
}
|