aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtusb/APKBUILD
blob: 4d5f3b66eb03b89052d91d56312089857255cf1f (plain) (blame)
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
# 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"