Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/emacs/PKGBUILD
blob: baff0e8965e8940b07c75332fd682b188634e368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
depends=(
  $(
    printf '%s\n' "${depends[@]}" \
    | grep -vxF librsvg \
    | grep -vxF libotf \
    | grep -vxF m17n-lib \
    | grep -vxF gtk3 \
    | grep -vxF libmagick6
  )
)
depends_i686=(librsvg libotf m17n-lib gtk3 libmagick6)
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