summaryrefslogtreecommitdiff
path: root/extra/emacs/PKGBUILD
blob: 8057214a03b92719998a58e5a0b83cb633eb18c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
depends=(
  $(
    printf '%s\n' "${depends[@]}" \
    | grep -vxF libotf \
    | grep -vxF m17n-lib \
    | grep -vxF gtk3
  )
)
depends_i686=(libotf m17n-lib gtk3)
depends_pentium4=("${depends_i686[@]}")
if [ "${CARCH}" = 'i486' ]; then
  eval "$(
    declare -f build \
    | sed '
      \,\./configure, {
        s/--with-x-toolkit=gtk3/--with-x-toolkit=no --with-jpeg=no --with-png=no --with-tiff=no --with-xft/
      }
    '
  )"
fi