commit:     168f14244361a8dcb702bfd56c6f856f7642c0d8
Author:     Luca Molari <molari.luca <AT> gmail <DOT> com>
AuthorDate: Fri Feb 13 22:10:13 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 13 22:10:13 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=168f1424

projects/sci: dev-util/smartgit: git mercurial USE flags

Package-Manager: portage-2.2.14

---
 dev-util/smartgit/ChangeLog             |  4 ++++
 dev-util/smartgit/metadata.xml          |  4 ++++
 dev-util/smartgit/smartgit-6.5.6.ebuild | 10 +++++++---
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-util/smartgit/ChangeLog b/dev-util/smartgit/ChangeLog
index 89a071f..d3df9c8 100644
--- a/dev-util/smartgit/ChangeLog
+++ b/dev-util/smartgit/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Feb 2015; Luca Molari (LMolr) <[email protected]> metadata.xml,
+  smartgit-6.5.6.ebuild:
+  projects/sci: dev-util/smartgit: git mercurial USE flags
+
 *smartgit-6.5.6 (13 Feb 2015)
 
   13 Feb 2015; Luca Molari <[email protected]> +smartgit-6.5.6.ebuild,

diff --git a/dev-util/smartgit/metadata.xml b/dev-util/smartgit/metadata.xml
index f7716e5..c29684a 100644
--- a/dev-util/smartgit/metadata.xml
+++ b/dev-util/smartgit/metadata.xml
@@ -2,4 +2,8 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
   <longdescription>SmartSVN is a powerful GUI SVN client written in 
Java</longdescription>
+  <use>
+    <flag name="git">Enable git support through <pkg>dev-vcs/git</pkg></flag>
+    <flag name="mercurial">Enable hg support through 
<pkg>dev-vcs/mercurial</pkg></flag>
+  </use>
 </pkgmetadata>

diff --git a/dev-util/smartgit/smartgit-6.5.6.ebuild 
b/dev-util/smartgit/smartgit-6.5.6.ebuild
index 2afab2d..9a01969 100644
--- a/dev-util/smartgit/smartgit-6.5.6.ebuild
+++ b/dev-util/smartgit/smartgit-6.5.6.ebuild
@@ -16,12 +16,16 @@ 
SRC_URI="http://www.syntevo.com/download/${PN}/${MY_P}.tar.gz";
 SLOT="0"
 LICENSE="smartgit"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="git mercurial"
 
 RESTRICT="fetch"
 
-RDEPEND=">=virtual/jre-1.7:1.7"
-DEPEND="${RDEPEND}"
+DEPEND=">=virtual/jre-1.7:1.7"
+RDEPEND="
+       ${DEPEND}
+       git? ( dev-vcs/git )
+       mercurial? ( dev-vcs/mercurial )
+       "
 
 S="${WORKDIR}"/${PN}
 

Reply via email to