dtkwidget: fix build w/ gcc10
Also cross builds now w/o gsettings-qt in the hostmakedepends.
This commit is contained in:
parent
7770286f0c
commit
073d451129
|
@ -17,10 +17,12 @@ distfiles="https://github.com/linuxdeepin/dtkwidget/archive/${version}.tar.gz"
|
||||||
checksum=451c86d93a3336df61418e1d41ec6e976d6a710c967ac74379a353b33e58c914
|
checksum=451c86d93a3336df61418e1d41ec6e976d6a710c967ac74379a353b33e58c914
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" dtkcore-devel qt5-multimedia-devel qt5-x11extras-devel
|
hostmakedepends+=" dtkcore-devel qt5-multimedia-devel
|
||||||
qt5-svg-devel gsettings-qt-devel"
|
qt5-x11extras-devel qt5-svg-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CXXFLAGS="-fcommon"
|
||||||
|
|
||||||
dtkwidget-devel_package() {
|
dtkwidget-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} dtkcore-devel"
|
depends="${sourcepkg}>=${version}_${revision} dtkcore-devel"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue