mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
notmuch: emacs is cross, not arch controlled, + texinfo on host
This commit is contained in:
parent
74e013276d
commit
aa78df5a9c
1 changed files with 8 additions and 14 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgname=notmuch
|
pkgname=notmuch
|
||||||
version=0.29.3
|
version=0.29.3
|
||||||
revision=2
|
revision=2
|
||||||
hostmakedepends="perl pkg-config python-devel python3-Sphinx python3-devel"
|
hostmakedepends="perl pkg-config python-devel python3-Sphinx python3-devel texinfo"
|
||||||
makedepends="bash-completion gmime3-devel talloc-devel xapian-core-devel"
|
makedepends="bash-completion gmime3-devel talloc-devel xapian-core-devel"
|
||||||
short_desc="Thread-based email index, search, and tagging"
|
short_desc="Thread-based email index, search, and tagging"
|
||||||
maintainer="Jan S. <jan.schreib@gmail.com>"
|
maintainer="Jan S. <jan.schreib@gmail.com>"
|
||||||
|
@ -14,20 +14,14 @@ checksum=d5f704b9a72395e43303de9b1f4d8e14dd27bf3646fdbb374bb3dbb7d150dc35
|
||||||
subpackages="libnotmuch libnotmuch-devel notmuch-mutt notmuch-python notmuch-python3"
|
subpackages="libnotmuch libnotmuch-devel notmuch-mutt notmuch-python notmuch-python3"
|
||||||
patch_args=-Np1
|
patch_args=-Np1
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ ! "$CROSS_BUILD" ]; then
|
||||||
i686*|x86_64*|ppc64*)
|
|
||||||
hostmakedepends+=" desktop-file-utils"
|
hostmakedepends+=" desktop-file-utils"
|
||||||
makedepends+=" emacs"
|
makedepends+=" ruby-devel emacs"
|
||||||
subpackages+=" notmuch-emacs"
|
subpackages+=" notmuch-ruby notmuch-emacs"
|
||||||
_args="--emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
_args="--emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
||||||
--emacsetcdir=/usr/share/emacs/site-lisp/notmuch"
|
--emacsetcdir=/usr/share/emacs/site-lisp/notmuch"
|
||||||
;;
|
else
|
||||||
*) _args="--without-emacs";;
|
_args="--without-emacs"
|
||||||
esac
|
|
||||||
|
|
||||||
if [ ! "$CROSS_BUILD" ]; then
|
|
||||||
makedepends+=" ruby-devel"
|
|
||||||
subpackages+=" notmuch-ruby"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue