commit: e426b9e547e904f7f69a9f3b423bfd812cd3eb88
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 25 08:41:08 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Aug 25 08:43:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e426b9e5
sys-apps/ripgrep-all: add missing xz-utils (R)DEPEND, use optfeature
Most of the previous RDEPEND where actually optional run time
dependencies, like pandoc. Having those as optfeature should make itX
easier to stabilize rga, as it no longer depends on pandoc (which is,
sadly, currently unstable only in ::gentoo).
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
...{ripgrep-all-0.9.6.ebuild => ripgrep-all-0.9.6-r1.ebuild} | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/sys-apps/ripgrep-all/ripgrep-all-0.9.6.ebuild
b/sys-apps/ripgrep-all/ripgrep-all-0.9.6-r1.ebuild
similarity index 94%
rename from sys-apps/ripgrep-all/ripgrep-all-0.9.6.ebuild
rename to sys-apps/ripgrep-all/ripgrep-all-0.9.6-r1.ebuild
index 42c4e92f3cf..f3c4070d21b 100644
--- a/sys-apps/ripgrep-all/ripgrep-all-0.9.6.ebuild
+++ b/sys-apps/ripgrep-all/ripgrep-all-0.9.6-r1.ebuild
@@ -5,6 +5,8 @@
EAPI=7
+inherit optfeature
+
CRATES="
addr2line-0.12.0
adler32-1.0.4
@@ -182,10 +184,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
- app-text/pandoc
- app-text/poppler
+ app-arch/xz-utils
sys-apps/ripgrep
- media-video/ffmpeg
"
DEPEND="${RDEPEND}"
@@ -193,3 +193,9 @@ QA_FLAGS_IGNORED="
usr/bin/rga
usr/bin/rga-preproc
"
+
+pkg_postinst() {
+ optfeature "pandoc support" app-text/pandoc
+ optfeature "pdf support" app-text/poppler
+ optfeature "media support" media-video/ffmpeg
+}