qt5-styleplugins: rebuilt against qt5-5.11.2
This commit is contained in:
parent
cba98d600c
commit
aa33e8f926
1 changed files with 16 additions and 2 deletions
|
@ -1,15 +1,16 @@
|
|||
# Template file for 'qt5-styleplugins'
|
||||
pkgname=qt5-styleplugins
|
||||
version=5.0.0
|
||||
revision=5
|
||||
revision=6
|
||||
_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"
|
||||
depends="qt5>=5.11.2<5.11.3"
|
||||
short_desc="Additional style plugins for Qt5"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-3"
|
||||
license="LGPL-2.1-only, LGPL-3.0-only"
|
||||
homepage="https://github.com/qt/qtstyleplugins"
|
||||
distfiles="https://github.com/qt/qtstyleplugins/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=dbe1c03f00c6eadebc0ed9d5ec1eeb9129e8132c8574545dfa788f505c2dd9a3
|
||||
|
@ -17,6 +18,19 @@ checksum=dbe1c03f00c6eadebc0ed9d5ec1eeb9129e8132c8574545dfa788f505c2dd9a3
|
|||
# Cross builds fail with -fuse-ld=gold
|
||||
LDFLAGS="-Wl,-fuse-ld=bfd"
|
||||
|
||||
pre_configure() {
|
||||
_qt5_dep_ver="${depends#*>=}"
|
||||
_qt5_dep_ver="${_qt5_dep_ver%<*}"
|
||||
_qt5_version="$(xbps-uhelper version qt5)"
|
||||
|
||||
if [[ "${_qt5_version%_*}" != "${_qt5_dep_ver}" ]]; then
|
||||
echo
|
||||
msg_red "Qt5 version doesn't match version listed in \$depends\\n"
|
||||
msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
qt5-styleplugins-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue