mbuffer is not a strict dependency: on many it is only used by btrbk if
progress-bar and/or buffering/limiting is enabled.
Closes: https://github.com/gentoo/gentoo/pull/13480
Signed-off-by: Craig Andrews <candrews@gentoo.org>
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE="+doc"
+IUSE="+mbuffer +doc"
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
RDEPEND="dev-lang/perl
net-misc/openssh
- >=sys-block/mbuffer-20180505
+ mbuffer? ( >=sys-block/mbuffer-20180505 )
>=sys-fs/btrfs-progs-4.12"
src_compile() {
HOMEPAGE="https://digint.ch/btrbk/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE="+doc"
+IUSE="+mbuffer +doc"
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )"
RDEPEND="dev-lang/perl
net-misc/openssh
- >=sys-block/mbuffer-20180505
+ mbuffer? ( >=sys-block/mbuffer-20180505 )
>=sys-fs/btrfs-progs-4.12"
src_compile() {
</upstream>
<use>
<flag name='pv'>Use sys-apps/pv to enable progress bar functionality</flag>
+ <flag name='mbuffer'>Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality</flag>
</use>
</pkgmetadata>