1 |
commit: 6b5f47d490b109f56964a99f228826f722f14558 |
2 |
Author: Axel Burri <axel <AT> tty0 <DOT> ch> |
3 |
AuthorDate: Sat Sep 26 09:04:39 2020 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 15:25:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5f47d4 |
7 |
|
8 |
app-backup/btrbk: add USE=+lsbtr |
9 |
|
10 |
Add `lsbtr` use flag: enables the `lsbtr` command-line tool, useful |
11 |
for listing btrfs subvolumes and their mount points. |
12 |
|
13 |
Signed-off-by: Axel Burri <axel <AT> tty0.ch> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/17672 |
15 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
16 |
|
17 |
app-backup/btrbk/btrbk-0.30.0.ebuild | 3 ++- |
18 |
app-backup/btrbk/btrbk-9999.ebuild | 3 ++- |
19 |
app-backup/btrbk/metadata.xml | 1 + |
20 |
3 files changed, 5 insertions(+), 2 deletions(-) |
21 |
|
22 |
diff --git a/app-backup/btrbk/btrbk-0.30.0.ebuild b/app-backup/btrbk/btrbk-0.30.0.ebuild |
23 |
index 73afd3da370..11509324b00 100644 |
24 |
--- a/app-backup/btrbk/btrbk-0.30.0.ebuild |
25 |
+++ b/app-backup/btrbk/btrbk-0.30.0.ebuild |
26 |
@@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" |
27 |
HOMEPAGE="https://digint.ch/btrbk/" |
28 |
LICENSE="GPL-3+" |
29 |
SLOT="0" |
30 |
-IUSE="+mbuffer +doc" |
31 |
+IUSE="+mbuffer +doc +lsbtr" |
32 |
|
33 |
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" |
34 |
|
35 |
@@ -34,6 +34,7 @@ src_compile() { |
36 |
src_install() { |
37 |
local targets="install-bin install-etc install-share install-systemd" |
38 |
use doc && targets="${targets} install-man install-doc" |
39 |
+ use lsbtr && targets="${targets} install-bin-links" |
40 |
emake \ |
41 |
DESTDIR="${D}" \ |
42 |
DOCDIR="/usr/share/doc/${PF}" \ |
43 |
|
44 |
diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild |
45 |
index f82156e37d5..9406cd634c9 100644 |
46 |
--- a/app-backup/btrbk/btrbk-9999.ebuild |
47 |
+++ b/app-backup/btrbk/btrbk-9999.ebuild |
48 |
@@ -18,7 +18,7 @@ DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" |
49 |
HOMEPAGE="https://digint.ch/btrbk/" |
50 |
LICENSE="GPL-3+" |
51 |
SLOT="0" |
52 |
-IUSE="+mbuffer +doc" |
53 |
+IUSE="+mbuffer +doc +lsbtr" |
54 |
|
55 |
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" |
56 |
|
57 |
@@ -34,6 +34,7 @@ src_compile() { |
58 |
src_install() { |
59 |
local targets="install-bin install-etc install-share install-systemd" |
60 |
use doc && targets="${targets} install-man install-doc" |
61 |
+ use lsbtr && targets="${targets} install-bin-links" |
62 |
emake \ |
63 |
DESTDIR="${D}" \ |
64 |
DOCDIR="/usr/share/doc/${PF}" \ |
65 |
|
66 |
diff --git a/app-backup/btrbk/metadata.xml b/app-backup/btrbk/metadata.xml |
67 |
index c8d33bb141b..167b2b3b044 100644 |
68 |
--- a/app-backup/btrbk/metadata.xml |
69 |
+++ b/app-backup/btrbk/metadata.xml |
70 |
@@ -22,5 +22,6 @@ |
71 |
<use> |
72 |
<flag name="pv">Use sys-apps/pv to enable progress bar functionality</flag> |
73 |
<flag name="mbuffer">Use sys-block/mbuffer to enable progress bar and buffering/limiting functionality</flag> |
74 |
+ <flag name="lsbtr">Enable the lsbtr command-line tool</flag> |
75 |
</use> |
76 |
</pkgmetadata> |