Commit f0fd88f0 authored by TBK's avatar TBK Committed by Leo
Browse files

testing/qt5-qtusb: new aport

parent 16c9cc9f
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=qt5-qtusb
pkgver=0.6.0
pkgrel=0
pkgdesc="Qt5 - a cross-platform USB Module for Qt."
url="https://github.com/fpoussin/QtUsb/"
arch="all"
license="LGPL-3.0-only"
options="!check" # at the moment "make install" is needed for it to work
makedepends="hidapi-dev libusb-dev qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/fpoussin/QtUsb/archive/$pkgver.tar.gz"
builddir="$srcdir/QtUsb-$pkgver"
build() {
qmake-qt5
make
}
check() {
cd tests
qmake-qt5
make -i check TESTARGS="-o result.xml,xunitxml"
}
package() {
make INSTALL_ROOT="$pkgdir" install
}
sha512sums="ab0a69a0b1fc0d9c7a1c8bc0002531e9c210b3d73e54758b9a6d1ea1f8c001c455e7a0d750ab7fc234bee9c1d2dc6e3a27bec48fd669f730e5e8379f3b1a90ff qt5-qtusb-0.6.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment