summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
blob: d175885863542f18824f65fa7b83a1a03f5cc1bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 486-specific
if [ "${CARCH}" = "i486" ]; then
  # no Python Shinx
  makedepends=(${makedepends[@]//python-sphinx/})
  eval "$(
    declare -f build | \
      sed '
        s/--sphinx-man//
      '
  )"

  # no Qt5 GUI
  makedepends=(${makedepends[@]//qt5-base/})
  eval "$(
    declare -f build | \
      sed '
        s/--qt-gui//
      '
  )"
fi