summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-08-06 21:14:57 +0200
committerUlrich Müller <ulm@gentoo.org>2018-08-06 22:07:29 +0200
commitacb58e9a166d68c0b84074a6499198eb0dda2809 (patch)
tree83419f969496b0230c9110cf11c17428efd633f1 /app-editors
parentapp-xemacs/eudc: version bump (diff)
downloadgentoo-acb58e9a166d68c0b84074a6499198eb0dda2809.tar.gz
gentoo-acb58e9a166d68c0b84074a6499198eb0dda2809.tar.bz2
gentoo-acb58e9a166d68c0b84074a6499198eb0dda2809.zip
app-editors/emacs-vcs: Add json USE flag.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild4
-rw-r--r--app-editors/emacs-vcs/metadata.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
index 542cd77830f..fd476819ba3 100644
--- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
@@ -28,7 +28,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="27"
-IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
+IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses:0=
@@ -39,6 +39,7 @@ RDEPEND="sys-libs/ncurses:0=
dbus? ( sys-apps/dbus )
gpm? ( sys-libs/gpm )
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
+ json? ( dev-libs/jansson )
kerberos? ( virtual/krb5 )
lcms? ( media-libs/lcms:2 )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
@@ -257,6 +258,7 @@ src_configure() {
$(use_with dynamic-loading modules) \
$(use_with games gameuser ":gamestat") \
$(use_with gpm) \
+ $(use_with json) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with lcms lcms2) \
$(use_with libxml2 xml2) \
diff --git a/app-editors/emacs-vcs/metadata.xml b/app-editors/emacs-vcs/metadata.xml
index ba717307034..3562545ef0a 100644
--- a/app-editors/emacs-vcs/metadata.xml
+++ b/app-editors/emacs-vcs/metadata.xml
@@ -36,6 +36,8 @@
<flag name="gzip-el">Compress bundled Emacs Lisp source</flag>
<flag name="imagemagick">Use <pkg>media-gfx/imagemagick</pkg> for image
processing</flag>
+ <flag name="json">Compile with native JSON support using
+ <pkg>dev-libs/jansson</pkg></flag>
<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML instead
of the internal Lisp implementations</flag>
<flag name="mailutils">Retrieve e-mail using <pkg>net-mail/mailutils</pkg>