# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libconnman-qt
pkgver=1.2.46
pkgrel=1
pkgdesc="Qt bindings for ConnMan"
url="https://github.com/sailfishos/libconnman-qt"
arch="all"
license="Apache-2.0"
depends="connman"
depends_dev="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/libconnman-qt/archive/$pkgver/libconnman-qt-$pkgver.tar.gz"

build() {
	qmake-qt5
	make -j1
}

package() {
	INSTALL_ROOT="$pkgdir" make -j1 install
}

sha512sums="
bc9621f2444d85d40ceb9970c659549fb09eb803a4fa4f871764c8dc5a8e4db795f3ffad592fc29be504c57a0757fe18fec8497aaaef1c10591184333e345978  libconnman-qt-1.2.46.tar.gz
"
