flacon: unbreak build on platfoms without 64-bit atomics
This commit is contained in:
parent
01325842ac
commit
54626e4c9b
@ -14,6 +14,14 @@ changelog="https://flacon.github.io/changelog/"
|
|||||||
distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Flacon/flacon/archive/v${version}.tar.gz"
|
||||||
checksum=3c073ad29cc91601b9ecd66058b644ed2b1c12f3c0a96cbaa9e0167baf7acf75
|
checksum=3c073ad29cc91601b9ecd66058b644ed2b1c12f3c0a96cbaa9e0167baf7acf75
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# no support for 64-bit atomics on these platforms in qt
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
vsed -i 's/QAtomicInteger<quint64>/QAtomicInteger<quint32>/' \
|
||||||
|
converter/splitter.cpp
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user