index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/emacs/PKGBUILD | 22 |
diff --git a/extra/emacs/PKGBUILD b/extra/emacs/PKGBUILD new file mode 100644 index 00000000..e1295496 --- /dev/null +++ b/extra/emacs/PKGBUILD @@ -0,0 +1,22 @@ +depends=( + $( + printf '%s\n' "${depends[@]}" \ + | grep -vxF librsvg \ + | grep -vxF libotf \ + | grep -vxF m17n-lib \ + | grep -vxF gtk3 \ + | grep -vxF libmagick6 + ) +) +depends_i686=(librscg 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 |