qt5integration: rebuilt against qt5-5.11.2

This commit is contained in:
John 2018-11-22 11:05:54 +01:00 committed by maxice8
parent f7dcd56a92
commit 008f0956ae
1 changed files with 15 additions and 2 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'qt5integration'
pkgname=qt5integration
version=0.3.6
revision=1
revision=2
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
depends="qt5dxcb-plugin qt5-styleplugins"
depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.11.2<5.11.3"
short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
@ -15,6 +15,19 @@ changelog="https://github.com/linuxdeepin/qt5integration/blob/${version}/CHANGEL
distfiles="https://github.com/linuxdeepin/qt5integration/archive/${version}.tar.gz"
checksum=bd8bdb4fd1e437adfc29472f389983ef118929b18b45cca81fcc313203c7e922
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
}
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-x11extras-devel"
pre_configure() {