summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2021-08-25 10:41:08 +0200
committerFlorian Schmaus <flow@gentoo.org>2021-08-25 10:43:21 +0200
commite426b9e547e904f7f69a9f3b423bfd812cd3eb88 (patch)
tree4a09d55ac9030c78a3f1f735b46def15c2fc064a /sys-apps/ripgrep-all
parentnet-fs/samba: Bump to version 4.14.7 (diff)
downloadgentoo-e426b9e547e904f7f69a9f3b423bfd812cd3eb88.tar.gz
gentoo-e426b9e547e904f7f69a9f3b423bfd812cd3eb88.tar.bz2
gentoo-e426b9e547e904f7f69a9f3b423bfd812cd3eb88.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/ripgrep-all')
-rw-r--r--sys-apps/ripgrep-all/ripgrep-all-0.9.6-r1.ebuild (renamed from sys-apps/ripgrep-all/ripgrep-all-0.9.6.ebuild)12
1 files 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
index 42c4e92f3cf4..f3c4070d21b4 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
+}