From b8ea75c437126ce9b3455e017e0f7c70c8bd101c Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 28 Oct 2019 21:47:49 +0100 Subject: [PATCH] app-backup/btrbk: add USE=+mbuffer 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 --- app-backup/btrbk/btrbk-0.29.0.ebuild | 4 ++-- app-backup/btrbk/btrbk-9999.ebuild | 4 ++-- app-backup/btrbk/metadata.xml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app-backup/btrbk/btrbk-0.29.0.ebuild b/app-backup/btrbk/btrbk-0.29.0.ebuild index c9ddf6a8d10f..7b91fc51e8b7 100644 --- a/app-backup/btrbk/btrbk-0.29.0.ebuild +++ b/app-backup/btrbk/btrbk-0.29.0.ebuild @@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" 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() { diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild index c9ddf6a8d10f..7b91fc51e8b7 100644 --- a/app-backup/btrbk/btrbk-9999.ebuild +++ b/app-backup/btrbk/btrbk-9999.ebuild @@ -19,13 +19,13 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" 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() { diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml index d5e883ce6629..73a2d8bc134d 100644 --- a/app-backup/btrbk/metadata.xml +++ b/app-backup/btrbk/metadata.xml @@ -24,5 +24,6 @@ Use sys-apps/pv to enable progress bar functionality + Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality -- 2.26.2