dtkwidget: fix build w/ gcc10

Also cross builds now w/o gsettings-qt in the hostmakedepends.
This commit is contained in:
Jürgen Buchmüller 2020-09-01 14:44:02 +02:00
parent 7770286f0c
commit 073d451129
1 changed files with 4 additions and 2 deletions

View File

@ -17,10 +17,12 @@ distfiles="https://github.com/linuxdeepin/dtkwidget/archive/${version}.tar.gz"
checksum=451c86d93a3336df61418e1d41ec6e976d6a710c967ac74379a353b33e58c914
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dtkcore-devel qt5-multimedia-devel qt5-x11extras-devel
qt5-svg-devel gsettings-qt-devel"
hostmakedepends+=" dtkcore-devel qt5-multimedia-devel
qt5-x11extras-devel qt5-svg-devel"
fi
CXXFLAGS="-fcommon"
dtkwidget-devel_package() {
depends="${sourcepkg}>=${version}_${revision} dtkcore-devel"
short_desc+=" - development files"