# Template file for 'qt5-styleplugins'
pkgname=qt5-styleplugins
version=5.0.0
revision=4
_gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
wrksrc="qtstyleplugins-${_gitrev}"
build_style=qmake
hostmakedepends="pkg-config qt5-host-tools qt5-devel"
makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
short_desc="Additional style plugins for Qt5"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://github.com/qt/qtstyleplugins"
distfiles="https://github.com/qt/qtstyleplugins/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=193a196bd6428378b081ae0fe5aadbfb0ad909986a836f9c187093f33030a81b

# Cross builds fail with -fuse-ld=gold
LDFLAGS="-Wl,-fuse-ld=bfd"

qt5-styleplugins-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/lib/cmake
	}
}
