Package Details: hw-probe 1.6.5-3

Git Clone URL: https://aur.archlinux.org/hw-probe.git (read-only, click to copy)
Package Base: hw-probe
Description: Probe for hardware, check its operability and upload result to https://linux-hardware.org
Upstream URL: https://github.com/linuxhw/hw-probe
Licenses: LGPL-2.1-or-later OR BSD-4-Clause
Submitter: 1ace
Maintainer: Martchus
Last Packager: Martchus
Votes: 37
Popularity: 1.23
First Submitted: 2016-06-11 10:53 (UTC)
Last Updated: 2024-11-29 22:52 (UTC)

Latest Comments

1 2 3 4 Next › Last »

g1nger_bread commented on 2024-12-09 05:07 (UTC)

v4l-utils-git conflicts with v4l-utils which is needed for many core and extra packages. is it possible to switch to v4l-utils?

schinfo commented on 2024-12-01 11:54 (UTC)

... and optdepends pnputils is discontinued.

schinfo commented on 2024-12-01 11:28 (UTC)

Ok, I see that and understand it too. Maybe you can add the two lines for the license so that this is no longer criticized during the build.

  install -D "${srcdir}/${pkgname}-${pkgver}/LICENSES/BSD-4-Clause" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
  install -D "${srcdir}/${pkgname}-${pkgver}/LICENSES/LGPL-2.1-or-later" -t "${pkgdir}/usr/share/licenses/${pkgname}/"

Martchus commented on 2024-11-30 19:51 (UTC) (edited on 2024-11-30 19:52 (UTC) by Martchus)

nampcap says may not be needed. v4l-utils-git is requied for ediddecode and the other packages are also required for additional tools. It probably works also without those but data that can be gathered will be limited.

schinfo commented on 2024-11-30 19:04 (UTC)

This should eliminate all errors and work:

# Maintainer: Martchus <martchus@gmx.net>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>

# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.

pkgname=hw-probe
pkgver=1.6.5
pkgrel=4
pkgdesc="Probe for hardware, check its operability and upload result to https://linux-hardware.org"
arch=('any')
url="https://github.com/linuxhw/hw-probe"
license=('LGPL-2.1-or-later OR BSD-4-Clause')
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
sha256sums=('42030ba2fb3f6fb0772ab34744fbb91a89b1b6a9b0ed99e861fa05ff86968fb1')
depends=('perl')
optdepends=('hdparm' 'smartmontools' 'inxi' 'pnputils' 'efibootmgr')

package() {
  cd "${srcdir}/hw-probe-$pkgver"
  install -D "${srcdir}/${pkgname}-${pkgver}/LICENSES/BSD-4-Clause" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
  install -D "${srcdir}/${pkgname}-${pkgver}/LICENSES/LGPL-2.1-or-later" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
  install -dm755 "${pkgdir}"/usr
  DESTDIR="${pkgdir}" make install prefix=/usr
}

schinfo commented on 2024-11-30 18:36 (UTC) (edited on 2024-11-30 18:38 (UTC) by schinfo)

What does namcap say about dependencies - this is completely enough!!! depends=('perl')

hw-probe W: Dependency included, but may not be needed ('hwinfo')
hw-probe W: Dependency included, but may not be needed ('curl')
hw-probe W: Dependency included, but may not be needed ('dmidecode')
hw-probe W: Dependency included, but may not be needed ('pciutils')
hw-probe W: Dependency included, but may not be needed ('usbutils')
hw-probe W: Dependency included, but may not be needed ('net-tools')
hw-probe W: Dependency included, but may not be needed ('v4l-utils')
hw-probe W: Dependency included, but may not be needed ('ddcutil')
hw-probe W: Dependency included, but may not be needed ('acpica')