1 |
commit: db948eff0ed1978f165e3b06aaa6990698e8493f |
2 |
Author: Luciano Degni <degni.public <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jan 7 20:10:05 2022 +0000 |
4 |
Commit: Luciano Degni <degni.public <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Jan 7 20:10:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db948eff |
7 |
|
8 |
app-editors/helix: added doc use flag |
9 |
|
10 |
Signed-off-by: Luciano Degni <degni.public <AT> gmail.com> |
11 |
|
12 |
app-editors/helix/helix-0.6.0.ebuild | 9 +++++++-- |
13 |
1 file changed, 7 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/app-editors/helix/helix-0.6.0.ebuild b/app-editors/helix/helix-0.6.0.ebuild |
16 |
index 2ac8338f6..00b0ac402 100644 |
17 |
--- a/app-editors/helix/helix-0.6.0.ebuild |
18 |
+++ b/app-editors/helix/helix-0.6.0.ebuild |
19 |
@@ -204,13 +204,17 @@ LICENSE=" |
20 |
" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64" |
23 |
+IUSE="doc" |
24 |
|
25 |
DEPEND=" |
26 |
app-shells/bash |
27 |
dev-vcs/git |
28 |
" |
29 |
|
30 |
-RDEPEND="app-shells/bash" |
31 |
+RDEPEND=" |
32 |
+ app-shells/bash |
33 |
+ !app-editors/${PN}-bin |
34 |
+" |
35 |
|
36 |
QA_FLAGS_IGNORED="usr/bin/.*" |
37 |
|
38 |
@@ -280,6 +284,7 @@ src_compile() { |
39 |
src_install() { |
40 |
insinto /usr/share/helix |
41 |
doins -r runtime |
42 |
- dodoc README.md CHANGELOG.md |
43 |
+ use doc && dodoc README.md CHANGELOG.md |
44 |
+ use doc && dodoc -r docs/ |
45 |
cargo_src_install --path helix-term |
46 |
} |
47 |
\ No newline at end of file |