neomutt: update to 20230517

This commit is contained in:
Luca Matei Pintilie 2023-05-17 23:10:27 +00:00 committed by Toyam Cox
parent 43889c8f6b
commit 55bb44cc6d

View file

@ -1,29 +1,29 @@
# Template file for 'neomutt' # Template file for 'neomutt'
pkgname=neomutt pkgname=neomutt
version=20220429 version=20230517
revision=3 revision=1
create_wrksrc=true create_wrksrc=true
build_wrksrc="${pkgname}-${version}" build_wrksrc="${pkgname}-${version}"
build_style=configure build_style=configure
configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb configure_args="--ssl --gpgme --notmuch --gdbm --lua --sasl --zlib --tdb
--rocksdb --testing" --rocksdb"
make_check_target=test make_check_target=test
conf_files="/etc/neomuttrc" conf_files="/etc/neomuttrc"
# neomutt needs either w3m/lynx/elinks to build manual.html # neomutt needs either w3m/lynx/elinks to build manual.html
hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m" hostmakedepends="docbook-xsl gettext libxslt perl tcl w3m pkg-config"
makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel libidn-devel makedepends="aspell-devel gdbm-devel gettext-devel gpgme-devel
rocksdb-devel tdb-devel ncurses-devel rocksdb-devel tdb-devel ncurses-devel libidn2-devel libnotmuch-devel
libnotmuch-devel openssl-devel libsasl-devel lua54-devel zlib-devel" openssl-devel libsasl-devel lua54-devel zlib-devel"
depends="mime-types" depends="mime-types"
short_desc="Mutt with misc fixes and feature patches" short_desc="Mutt with misc fixes and feature patches"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>" maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://neomutt.org/" homepage="https://neomutt.org/"
_test_files_hash=dc9fb32a701eb9dce4fda93c27da1d9b5be23231 _test_files_hash=34f79ee9d91863a97f6e18700aea51157b8610cf
distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
https://github.com/neomutt/neomutt-test-files/archive/${_test_files_hash}.tar.gz" https://github.com/neomutt/neomutt-test-files/archive/${_test_files_hash}.tar.gz"
checksum="45496542897ba8de6bc7cce3f5951d9033ed1c49e5d6f1353adaeefe795d9043 checksum="4ac277b40e7ed5d67ba516338e2b26cc6810aa37564f6e9a2d45eb15b3a9213e
bda7c7f9f7bac528398040a46da505f906913a86f5db65cdbab743d595ee2947" 4507e70e7c8512c993d9188cf320aea601580345ae9fb0c399ed1402d4e39b1f"
python_version=3 python_version=3
# fix: # fix:
@ -34,13 +34,22 @@ if [ "${XBPS_CROSS_BASE}" ]; then
fi fi
case "${XBPS_TARGET_MACHINE}" in case "${XBPS_TARGET_MACHINE}" in
x86_64-musl) CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1";; x86_64-musl)
# FIXME: error: variable 'fp' has initializer but incomplete type
make_check=no # https://github.com/neomutt/neomutt/issues/3865
CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
;;
*-musl)
make_check=no # Same as in the x86_64-musl condition
;;
# Inquiry: Do we have largefile support on everywhere? # Inquiry: Do we have largefile support on everywhere?
esac esac
post_install() { post_install() {
# move dist to examples dir # move dist to examples dir
vsconf contrib/samples/gpg.rc Muttrc.gpg.dist vsconf contrib/oauth2/mutt_oauth2.py Muttrc.mutt_oauth2.dist
vsconf contrib/vim-keys/vim-keys.rc Muttrc.vim-keys.dist
vsconf contrib/smime_keys Muttrc.smime_keys.dist
} }
pre_check() { pre_check() {