Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/inotify-tools/
Date: Fri, 21 Jan 2022 17:44:23
Message-Id: 1642787050.c38c1d6235ef1b765a8e74a0d8826f75c3717789.polynomial-c@gentoo
1 commit: c38c1d6235ef1b765a8e74a0d8826f75c3717789
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 21 17:42:31 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 17:44:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38c1d62
7
8 sys-fs/inotify-tools: Bump to version 3.22.1.0
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-fs/inotify-tools/Manifest | 1 +
13 sys-fs/inotify-tools/inotify-tools-3.22.1.0.ebuild | 42 ++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/sys-fs/inotify-tools/Manifest b/sys-fs/inotify-tools/Manifest
17 index b95d58c1a022..8c4a6f3d9ee8 100644
18 --- a/sys-fs/inotify-tools/Manifest
19 +++ b/sys-fs/inotify-tools/Manifest
20 @@ -2,3 +2,4 @@ DIST inotify-tools-3.20.11.0.tar.gz 84827 BLAKE2B 1d3e25c4e213c9c6da74575677a6dc
21 DIST inotify-tools-3.20.2.2.tar.gz 81006 BLAKE2B 7dd29985f68096fe2146a3ad84d619b3d1238b0db25eeb125f2fe9591fa678078351f00c7e09b526cf2251e4736201d5625ff0e477523cae370a307ccb667730 SHA512 72d6fdcc216d8083cd384c71c02dc8e800d3a9702613568b3c571f704aee3d42bf084c52f2141c9afb8d28e8b87ebb6391ed3d825b3d664ed51c552debeb1881
22 DIST inotify-tools-3.21.9.5.tar.gz 91711 BLAKE2B cf6575cdd445a823c8272a9f8394ed241af1cc729784ec363c9dac6cd3c5cf37856076e88d389669d9da768b899e7ecb64c997e25b42cd5fccc2ebbbf145b273 SHA512 d0ae070f4fa3ea261913bba4ed6edf865aa8ddb9235cf5e967d11f54168a78d92739a5110a1afbdedbe3e6f0cbaf395883e2d47a182c9e6847986da184a52a97
23 DIST inotify-tools-3.21.9.6.tar.gz 91668 BLAKE2B cfb279d69e650b275af03052f4f76522670b7a563aa4e81bd5883b3ff825ecb70382cd4a5d48a9eb50b59930685a60b59a17376958d111d129c61fbced47a6bb SHA512 206eeebfd948499d81e6666b153cd7d9b05df618291fd3ada6479251b0773ce629c19f73117442a9093f028e294c5ba2dfa0aa4cf711510284ab7cad657da21c
24 +DIST inotify-tools-3.22.1.0.tar.gz 92922 BLAKE2B 42558ca62f79e2bdf5a6071334a05cee826ec00b0666b1c0971af64d769eb7852cbcd8d6e630f88af68f26f5607ca4ef94ec832fbe2e89d42182120aac4896ce SHA512 53317147af4803b69603839c010a2b0b3fa527f0e32b08126f24805600728c0a9570b2a3d94bf987f0b9a4bfbe7207b5faa9337f0d7add91b062e68de4245548
25
26 diff --git a/sys-fs/inotify-tools/inotify-tools-3.22.1.0.ebuild b/sys-fs/inotify-tools/inotify-tools-3.22.1.0.ebuild
27 new file mode 100644
28 index 000000000000..2d25f84ae71b
29 --- /dev/null
30 +++ b/sys-fs/inotify-tools/inotify-tools-3.22.1.0.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="a set of command-line programs providing a simple interface to inotify"
40 +HOMEPAGE="https://github.com/inotify-tools/inotify-tools"
41 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~riscv ~sparc ~x86"
46 +IUSE="doc"
47 +
48 +BDEPEND="doc? ( app-doc/doxygen )"
49 +
50 +src_prepare() {
51 + default
52 +
53 + # Remove -Werror from CFLAGS (#745069)
54 + find -name "Makefile.am" -print0 \
55 + | xargs --null sed 's@ -Werror@@' -i || die
56 +
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + # only docs installed are doxygen ones, so use /html
62 + local myeconfargs=(
63 + --disable-static
64 + --docdir='$(datarootdir)'/doc/${PF}/html
65 + $(use_enable doc doxygen)
66 + )
67 + econf "${myeconfargs[@]}"
68 +}
69 +
70 +src_install() {
71 + default
72 + find "${ED}" -type f -name '*.la' -delete || die
73 +}