1 |
commit: 513d6cf7957e630a558c6bb79beb2cdd5aa9fa5b |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 30 18:11:36 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 30 18:15:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513d6cf7 |
7 |
|
8 |
sys-fs/btrfs-progs: Bump to version 5.13.1 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-fs/btrfs-progs/Manifest | 1 + |
13 |
sys-fs/btrfs-progs/btrfs-progs-5.13.1.ebuild | 130 +++++++++++++++++++++++++++ |
14 |
2 files changed, 131 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/btrfs-progs/Manifest b/sys-fs/btrfs-progs/Manifest |
17 |
index 8530848c265..1d260b1b9e1 100644 |
18 |
--- a/sys-fs/btrfs-progs/Manifest |
19 |
+++ b/sys-fs/btrfs-progs/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST btrfs-progs-v5.10.1.tar.xz 2204164 BLAKE2B ed83729754f9abd22d4d2e7ae9a7e90e80be9b63d49a4a9692e20e5939467dbd864834b71495661e1c7a1fca89e253a62fbda37f1d01d2eadecb13f5904f0dd0 SHA512 32e5b8bda1863e34613802db91946f240b2cde21288ff8f95c1807e7afd0a67c5a704aa4d2bc0d7b1ca094de6831adbfec83fe61f74e1caf6d1975be7d972f2d |
22 |
DIST btrfs-progs-v5.12.1.tar.xz 2220424 BLAKE2B 1e6120609feb37dd2ced04b27d8cba9a28c3b962add6f037927dcb05bdcd46a229f981f7f68231ee58e7e36a65fae4e6041e92c0db11dba56fe63b09bca30cc7 SHA512 a4044ad7e40e232442601f102ea1c64a65aa4d9765be303813d2547a5b730c5f2f84c9b9c652a4218ab16821fdd049dd8573a1f7f6cc27974c2c4389243e20f5 |
23 |
+DIST btrfs-progs-v5.13.1.tar.xz 2237108 BLAKE2B 6de5d70d1b3611dc7c502530c08f9b58da798b33a97a415a787c5ed55b3369432f362c4d61636b6c85d952bf4482125a2d59397214ac543cf7160de28fe20a0b SHA512 4ef8256da59614d17316db9c19909a2aa4f0557504201e421332c63a4935dbd6578791484b9f3f2dbeaaa28f6f4b4fd59c5a7adf6853fd76546ac213a0f09823 |
24 |
DIST btrfs-progs-v5.13.tar.xz 2234256 BLAKE2B dd6dc6977c2a21471b59573c3ae6f7853d5ec4434549873174a6bde6b3ed4c5ed03c5adaed896538cb74699f538ec13403c193f132fcc8a2ba1b4f6bbdbac67e SHA512 7832ca02b77410edd8d80f10c6f1482dee944073518dbacd5773e70f27b7c632231ea66bdb64aa4611869465c15d2d60d364bfd25c2e40e0a2c198edbf9741cd |
25 |
|
26 |
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.13.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.13.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..10909cb0c94 |
29 |
--- /dev/null |
30 |
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.13.1.ebuild |
31 |
@@ -0,0 +1,130 @@ |
32 |
+# Copyright 2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+ |
39 |
+inherit bash-completion-r1 python-single-r1 |
40 |
+ |
41 |
+libbtrfs_soname=0 |
42 |
+ |
43 |
+if [[ ${PV} != 9999 ]]; then |
44 |
+ MY_PV="v${PV/_/-}" |
45 |
+ [[ "${PV}" = *_rc* ]] || \ |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
47 |
+ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/kdave/${PN}/${PN}-${MY_PV}.tar.xz" |
48 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
49 |
+else |
50 |
+ WANT_LIBTOOL=none |
51 |
+ inherit autotools git-r3 |
52 |
+ EGIT_REPO_URI="https://github.com/kdave/btrfs-progs.git" |
53 |
+ EGIT_BRANCH="devel" |
54 |
+fi |
55 |
+ |
56 |
+DESCRIPTION="Btrfs filesystem utilities" |
57 |
+HOMEPAGE="https://btrfs.wiki.kernel.org" |
58 |
+ |
59 |
+LICENSE="GPL-2" |
60 |
+SLOT="0/${libbtrfs_soname}" |
61 |
+IUSE="+convert doc python reiserfs static static-libs +zstd" |
62 |
+ |
63 |
+RESTRICT=test # tries to mount repared filesystems |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ dev-libs/lzo:2= |
67 |
+ sys-apps/util-linux:0=[static-libs(+)?] |
68 |
+ sys-libs/zlib:0= |
69 |
+ convert? ( |
70 |
+ sys-fs/e2fsprogs:0= |
71 |
+ sys-libs/e2fsprogs-libs:0= |
72 |
+ reiserfs? ( |
73 |
+ >=sys-fs/reiserfsprogs-3.6.27 |
74 |
+ ) |
75 |
+ ) |
76 |
+ python? ( ${PYTHON_DEPS} ) |
77 |
+ zstd? ( app-arch/zstd:0= ) |
78 |
+" |
79 |
+DEPEND="${RDEPEND} |
80 |
+ >=sys-kernel/linux-headers-5.10 |
81 |
+ convert? ( sys-apps/acl ) |
82 |
+ python? ( |
83 |
+ $(python_gen_cond_dep ' |
84 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
85 |
+ ') |
86 |
+ ) |
87 |
+ static? ( |
88 |
+ dev-libs/lzo:2[static-libs(+)] |
89 |
+ sys-apps/util-linux:0[static-libs(+)] |
90 |
+ sys-libs/zlib:0[static-libs(+)] |
91 |
+ convert? ( |
92 |
+ sys-fs/e2fsprogs:0[static-libs(+)] |
93 |
+ sys-libs/e2fsprogs-libs:0[static-libs(+)] |
94 |
+ reiserfs? ( |
95 |
+ >=sys-fs/reiserfsprogs-3.6.27[static-libs(+)] |
96 |
+ ) |
97 |
+ ) |
98 |
+ zstd? ( app-arch/zstd:0[static-libs(+)] ) |
99 |
+ ) |
100 |
+" |
101 |
+BDEPEND=" |
102 |
+ doc? ( |
103 |
+ || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) |
104 |
+ app-text/docbook-xml-dtd:4.5 |
105 |
+ app-text/xmlto |
106 |
+ ) |
107 |
+" |
108 |
+ |
109 |
+if [[ ${PV} == 9999 ]]; then |
110 |
+ DEPEND+=" sys-devel/gnuconfig" |
111 |
+fi |
112 |
+ |
113 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
114 |
+ |
115 |
+pkg_setup() { |
116 |
+ use python && python-single-r1_pkg_setup |
117 |
+} |
118 |
+ |
119 |
+src_prepare() { |
120 |
+ default |
121 |
+ if [[ ${PV} == 9999 ]]; then |
122 |
+ AT_M4DIR=m4 eautoreconf |
123 |
+ mkdir config || die |
124 |
+ local automakedir="$(autotools_run_tool --at-output automake --print-libdir)" |
125 |
+ [[ -e ${automakedir} ]] || die "Could not locate automake directory" |
126 |
+ ln -s "${automakedir}"/install-sh config/install-sh || die |
127 |
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.guess config/config.guess || die |
128 |
+ ln -s "${EPREFIX}"/usr/share/gnuconfig/config.sub config/config.sub || die |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_configure() { |
133 |
+ local myeconfargs=( |
134 |
+ --bindir="${EPREFIX}"/sbin |
135 |
+ $(use_enable convert) |
136 |
+ $(use_enable doc documentation) |
137 |
+ $(use_enable elibc_glibc backtrace) |
138 |
+ $(use_enable python) |
139 |
+ $(use_enable static-libs static) |
140 |
+ $(use_enable zstd) |
141 |
+ --with-convert=ext2$(usex reiserfs ',reiserfs' '') |
142 |
+ ) |
143 |
+ econf "${myeconfargs[@]}" |
144 |
+} |
145 |
+ |
146 |
+src_compile() { |
147 |
+ emake V=1 all $(usev static) |
148 |
+} |
149 |
+ |
150 |
+src_install() { |
151 |
+ local makeargs=( |
152 |
+ $(usex python install_python '') |
153 |
+ $(usex static install-static '') |
154 |
+ ) |
155 |
+ emake V=1 DESTDIR="${D}" install "${makeargs[@]}" |
156 |
+ newbashcomp btrfs-completion btrfs |
157 |
+ use python && python_optimize |
158 |
+ |
159 |
+ # install prebuilt subset of manuals |
160 |
+ use doc || doman Documentation/*.[58] |
161 |
+} |