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
|
|
||||||
i686*|x86_64*|ppc64*)
|
|
||||||
hostmakedepends+=" desktop-file-utils"
|
|
||||||
makedepends+=" emacs"
|
|
||||||
subpackages+=" notmuch-emacs"
|
|
||||||
_args="--emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
|
||||||
--emacsetcdir=/usr/share/emacs/site-lisp/notmuch"
|
|
||||||
;;
|
|
||||||
*) _args="--without-emacs";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ ! "$CROSS_BUILD" ]; then
|
if [ ! "$CROSS_BUILD" ]; then
|
||||||
makedepends+=" ruby-devel"
|
hostmakedepends+=" desktop-file-utils"
|
||||||
subpackages+=" notmuch-ruby"
|
makedepends+=" ruby-devel emacs"
|
||||||
|
subpackages+=" notmuch-ruby notmuch-emacs"
|
||||||
|
_args="--emacslispdir=/usr/share/emacs/site-lisp/notmuch
|
||||||
|
--emacsetcdir=/usr/share/emacs/site-lisp/notmuch"
|
||||||
|
else
|
||||||
|
_args="--without-emacs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|
Loading…
Reference in a new issue