summaryrefslogtreecommitdiff
path: root/extra/poppler/PKGBUILD
blob: dcff5d6ee77b3e40098df0d3a7ea30c39e4e7229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# no gtk3 and qt5-base on i486 (yet)
# gtk3 seems to be auto-detected (there is a switch in build(), but it
# does not need to be set to "OFF" apparently).
makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -vxF gtk3 \
    | grep -vxF qt5-base
  )
)
makedepends_i686+=(gtk3 qt5base)
makedepends_pentium4+=(gtk3 qt5base)

eval "$(
  declare -f package_poppler-qt5 \
  | sed '
    /^\s*cd build;/i [ "${CARCH}" != i486 ] || return 0
  '
)"