aboutsummaryrefslogblamecommitdiffstats
path: root/community/qt5-qtusb/APKBUILD
blob: 9716dbc7cb0b29d103b558988a438fa6fdae17f7 (plain) (tree)
1
2
3
4


                                   
            

























                                                                                          
                                                                                                                                                                     
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=qt5-qtusb
pkgver=0.6.2
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="65f7213fa7d3b09c7923cdea13bc6c261040418bd9b93ac25891cdb198069e7a02ba6c60dd5f67eaf97cac4ffcea3047b3187969d95eabcc2c01987a871cd0cf  qt5-qtusb-0.6.2.tar.gz"