commit: 721e48d625d4cf925165219270e28524b3d27352 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Nov 23 16:54:26 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Nov 23 16:54:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721e48d6
app-editors/emacs: Add tree-sitter USE flag Closes: https://bugs.gentoo.org/882567 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-editors/emacs/emacs-29.0.9999.ebuild | 4 +++- app-editors/emacs/metadata.xml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app-editors/emacs/emacs-29.0.9999.ebuild b/app-editors/emacs/emacs-29.0.9999.ebuild index 45c74701752b..fb40e01fa66e 100644 --- a/app-editors/emacs/emacs-29.0.9999.ebuild +++ b/app-editors/emacs/emacs-29.0.9999.ebuild @@ -40,7 +40,7 @@ DESCRIPTION="The extensible, customizable, self-documenting real-time display ed HOMEPAGE="https://www.gnu.org/software/emacs/" LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" -IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars webp wide-int +X Xaw3d xft +xpm xwidgets zlib" +IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars tree-sitter webp wide-int +X Xaw3d xft +xpm xwidgets zlib" X_DEPEND="x11-libs/libICE x11-libs/libSM @@ -115,6 +115,7 @@ RDEPEND="app-emacs/emacs-common[games?,gui(-)?] sqlite? ( dev-db/sqlite:3 ) ssl? ( net-libs/gnutls:0= ) systemd? ( sys-apps/systemd ) + tree-sitter? ( dev-libs/tree-sitter ) zlib? ( sys-libs/zlib ) gui? ( gif? ( media-libs/giflib:0= ) @@ -362,6 +363,7 @@ src_configure() { $(use_with ssl gnutls) \ $(use_with systemd libsystemd) \ $(use_with threads) \ + $(use_with tree-sitter) \ $(use_with wide-int) \ ${myconf} } diff --git a/app-editors/emacs/metadata.xml b/app-editors/emacs/metadata.xml index 56aa7e519e56..60b51c8f6ecf 100644 --- a/app-editors/emacs/metadata.xml +++ b/app-editors/emacs/metadata.xml @@ -51,6 +51,8 @@ <flag name="threads">Add elisp threading support</flag> <flag name="toolkit-scroll-bars">Use the selected toolkit's scrollbars in preference to Emacs' own scrollbars</flag> + <flag name="tree-sitter">Support the <pkg>dev-libs/tree-sitter</pkg> + parsing library</flag> <flag name="wide-int">Prefer wide Emacs integers (typically 62-bit). This option has an effect only on architectures where "long" and "long long" types have different size.</flag>