summaryrefslogtreecommitdiff
path: root/extra/qt6-base/PKGBUILD
blob: a5dc07b9039b9cfe6971a7c5eb09d26e6f33f71e (plain)
1
2
3
4
5
6
7
8
9
10
11
# add -latomic where needed (i486)
if [ "$CARCH" = 'i486' ]; then
  source+=('qtbase-everywhere-src-6.1.0-atomic.patch')
  sha256sums+=('425e92fef5fe05530a73e80d00d574436de39101c27ffcf4901626598d997e5c')
  eval "$(
    declare -f prepare | \
      sed '
        /patch.*nostrip.*/ a \ patch -d $_pkgfn -p1 -i "${srcdir}/qtbase-everywhere-src-6.1.0-atomic.patch"
      '
  )"
fi