emacs: update to 26.2, remove dbus, make imagemagick optional

Emacs does not support dbus on Windows.
This commit is contained in:
Oscar Fuentes
2019-06-02 00:51:40 +02:00
parent 9e0a8e469d
commit 542c4e3658

View File

@@ -4,7 +4,7 @@
_realname=emacs
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=26.1
pkgver=26.2
pkgrel=1
pkgdesc="The extensible, customizable, self-documenting, real-time display editor (mingw-w64)"
url="https://www.gnu.org/software/${_realname}/"
@@ -13,26 +13,29 @@ arch=('any')
depends=("${MINGW_PACKAGE_PREFIX}-ctags"
"${MINGW_PACKAGE_PREFIX}-zlib"
"${MINGW_PACKAGE_PREFIX}-xpm-nox"
"${MINGW_PACKAGE_PREFIX}-dbus"
"${MINGW_PACKAGE_PREFIX}-gnutls"
"${MINGW_PACKAGE_PREFIX}-imagemagick"
"${MINGW_PACKAGE_PREFIX}-libwinpthread")
optdepends=("${MINGW_PACKAGE_PREFIX}-giflib"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
"${MINGW_PACKAGE_PREFIX}-libpng"
"${MINGW_PACKAGE_PREFIX}-librsvg"
"${MINGW_PACKAGE_PREFIX}-libtiff"
"${MINGW_PACKAGE_PREFIX}-imagemagick"
"${MINGW_PACKAGE_PREFIX}-libxml2")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
"patch")
"make"
"autoconf"
"texinfo"
"patch"
"${optdepends[@]}")
# Don't zip info files because the built-in info reader uses gzip to
# decompress them. gzip is not available as a mingw binary.
options=('strip' '!zipman')
source=("https://ftp.gnu.org/gnu/${_realname}/${_realname}-${pkgver}.tar.xz"{,.sig}
'image.c.diff'
'lread.c.diff')
sha256sums=('1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c'
sha256sums=('151ce69dbe5b809d4492ffae4a4b153b2778459de6deb26f35691e1281a9c58e'
'SKIP'
'4571d45ec26fd556e73a70bb0ab0a2a8fa1efc5e3b3c5b472ab68bb7dc9bf52c'
'24b2201aa2e965c759cfc9539aa4b610d97f1d0240d9888e335da490b87b84b5')
@@ -53,6 +56,7 @@ build() {
--prefix="${MINGW_PREFIX}" \
--build="${MINGW_CHOST}" \
--with-modules \
--without-dbus \
--without-compress-install
# --without-compress-install is needed because we don't have gzip in