commit: 6b5f47d490b109f56964a99f228826f722f14558 Author: Axel Burri <axel <AT> tty0 <DOT> ch> AuthorDate: Sat Sep 26 09:04:39 2020 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Wed Sep 30 15:25:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5f47d4
app-backup/btrbk: add USE=+lsbtr Add `lsbtr` use flag: enables the `lsbtr` command-line tool, useful for listing btrfs subvolumes and their mount points. Signed-off-by: Axel Burri <axel <AT> tty0.ch> Closes: https://github.com/gentoo/gentoo/pull/17672 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> app-backup/btrbk/btrbk-0.30.0.ebuild | 3 ++- app-backup/btrbk/btrbk-9999.ebuild | 3 ++- app-backup/btrbk/metadata.xml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app-backup/btrbk/btrbk-0.30.0.ebuild b/app-backup/btrbk/btrbk-0.30.0.ebuild index 73afd3da370..11509324b00 100644 --- a/app-backup/btrbk/btrbk-0.30.0.ebuild +++ b/app-backup/btrbk/btrbk-0.30.0.ebuild @@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" HOMEPAGE="https://digint.ch/btrbk/" LICENSE="GPL-3+" SLOT="0" -IUSE="+mbuffer +doc" +IUSE="+mbuffer +doc +lsbtr" DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" @@ -34,6 +34,7 @@ src_compile() { src_install() { local targets="install-bin install-etc install-share install-systemd" use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" emake \ DESTDIR="${D}" \ DOCDIR="/usr/share/doc/${PF}" \ diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild index f82156e37d5..9406cd634c9 100644 --- a/app-backup/btrbk/btrbk-9999.ebuild +++ b/app-backup/btrbk/btrbk-9999.ebuild @@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" HOMEPAGE="https://digint.ch/btrbk/" LICENSE="GPL-3+" SLOT="0" -IUSE="+mbuffer +doc" +IUSE="+mbuffer +doc +lsbtr" DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" @@ -34,6 +34,7 @@ src_compile() { src_install() { local targets="install-bin install-etc install-share install-systemd" use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" emake \ DESTDIR="${D}" \ DOCDIR="/usr/share/doc/${PF}" \ diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml index c8d33bb141b..167b2b3b044 100644 --- a/app-backup/btrbk/metadata.xml +++ b/app-backup/btrbk/metadata.xml @@ -22,5 +22,6 @@ <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> + <flag name="lsbtr">Enable the lsbtr command-line tool</flag> </use> </pkgmetadata>
