Package Details: hidviz 0.1.5-1

Git Clone URL: https://aur.archlinux.org/hidviz.git (read-only, click to copy)
Package Base: hidviz
Description: Tool for in-depth analysis of USB HID devices communication
Upstream URL: https://github.com/ondrejbudai/hidviz
Licenses: GPL3
Conflicts: hidviz
Provides: hidviz
Submitter: craftyguy
Maintainer: None
Last Packager: craftyguy
Votes: 4
Popularity: 0.000000
First Submitted: 2017-05-07 20:17 (UTC)
Last Updated: 2019-12-15 00:04 (UTC)

Latest Comments

noabody commented on 2022-04-05 17:15 (UTC) (edited on 2022-04-05 22:22 (UTC) by noabody)

Doesn't build. Try this instead:

pkgname=hidviz
pkgver=0.1.5.r1.g8b30a7e
pkgrel=1
pkgdesc="Tool for in-depth analysis of USB HID devices communication"
arch=('i686' 'x86_64')
url="https://github.com/ondrejbudai/hidviz"
license=('GPL3')
depends=('libusb' 'protobuf' 'qt5-base' 'cmake')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("$pkgname"::git+https://github.com/ondrejbudai/"$pkgname")
sha256sums=('SKIP')
pkgver() {
  cd "${pkgname}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
  cd "${pkgname}"
  git submodule update --init --recursive
  perl -pi -e 's/(\#include \<string\>)/\#include <memory>\n\1/g' libhidx/libhidx/include/libhidx/Interface.hh
  perl -pi -e 's|(.*/usr/local/libexec.*)|\1\n            \"/usr/lib/hidviz\",|g' libhidx/libhidx/src/Connector.cc
  mkdir -p build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_LIBEXECDIR="lib/${pkgname}" ..
}

build() {
  cd "${pkgname}"/build
  make
}

package() {
  cd "${pkgname}"/build
  make DESTDIR="${pkgdir}" install
}

Styx85 commented on 2017-12-31 15:45 (UTC) (edited on 2017-12-31 15:51 (UTC) by Styx85)

It does not build, see error report on github.

https://github.com/ondrejbudai/hidviz/issues/20