summaryrefslogtreecommitdiff
path: root/extra/poppler/PKGBUILD
blob: 8b1dede0aafa54b83df098614e22329839776a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 \
    | grep -vxF qt6-base
  )
)
makedepends_i686+=(gtk3 qt5-base qt6-base)
makedepends_pentium4+=(gtk3 qt5-base qt6-base)

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