Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/fstrm/
Date: Mon, 12 Oct 2020 09:06:16
Message-Id: 1602493555.fbf72a04f566bfb2208dc633982d10c56cd734c0.juippis@gentoo
1 commit: fbf72a04f566bfb2208dc633982d10c56cd734c0
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Tue Sep 29 14:31:12 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 09:05:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf72a04
7
8 dev-libs/fstrm: Version updated to 0.6.0 with changes:
9
10 * Added := to libevent dependency.
11 * Removed ${PN} in SRC_URI.
12
13 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
14 Closes: https://github.com/gentoo/gentoo/pull/17712
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 dev-libs/fstrm/Manifest | 1 +
18 dev-libs/fstrm/fstrm-0.6.0.ebuild | 35 +++++++++++++++++++++++++++++++++++
19 2 files changed, 36 insertions(+)
20
21 diff --git a/dev-libs/fstrm/Manifest b/dev-libs/fstrm/Manifest
22 index 2e97c37e0c8..12ff29612a1 100644
23 --- a/dev-libs/fstrm/Manifest
24 +++ b/dev-libs/fstrm/Manifest
25 @@ -1 +1,2 @@
26 DIST fstrm-0.3.0.tar.gz 185153 BLAKE2B 1e1e16792288255c1d963f2831b6f362d08a343cb58ae7ae8e24c5d9a70d870b238c399b9f2cb30da939dbfbf5faa49a61609725036113e579f2c7d63a36e599 SHA512 4134da0ed8579cb6784a419bba76b3be7487ec67b6fad65e0e662b40e668389010381176794d15da9c96339292f0faedc143f87b7ef3815b69bbc8b165af5c4d
27 +DIST fstrm-0.6.0.tar.gz 135214 BLAKE2B 237b371450ea2e92e466aaeab2d6ebf9ba7c6bbf14d1517431818b01a2609c1765299bb576bb3a4a3a99a9ce7644992c3f5eaf82c01d903a1bad358d49ed47b4 SHA512 8e327f40fb49b36998d8bb9353b30b9924630b85adf1e4462ce4b456daa7eea727892a59f43ddd48de5bf5059a450fef54726b09af6d7f210fa182c4055d65f4
28
29 diff --git a/dev-libs/fstrm/fstrm-0.6.0.ebuild b/dev-libs/fstrm/fstrm-0.6.0.ebuild
30 new file mode 100644
31 index 00000000000..57b1a4d205d
32 --- /dev/null
33 +++ b/dev-libs/fstrm/fstrm-0.6.0.ebuild
34 @@ -0,0 +1,35 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +inherit autotools multilib-minimal
40 +
41 +DESCRIPTION="Frame Streams implementation in C"
42 +HOMEPAGE="https://github.com/farsightsec/fstrm"
43 +SRC_URI="https://github.com/farsightsec/fstrm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
48 +IUSE="static-libs utils"
49 +
50 +BDEPEND="virtual/pkgconfig"
51 +RDEPEND="utils? ( dev-libs/libevent:=[${MULTILIB_USEDEP}] )"
52 +DEPEND="${RDEPEND}"
53 +
54 +src_prepare() {
55 + default
56 + eautoreconf
57 + multilib_copy_sources
58 +}
59 +
60 +multilib_src_configure() {
61 + econf \
62 + $(use_enable static-libs static) \
63 + $(use_enable utils programs)
64 +}
65 +
66 +multilib_src_install_all() {
67 + default
68 + find "${ED}" -name '*.la' -delete
69 +}