Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/flatbuffers/
Date: Tue, 07 Sep 2021 16:56:17
Message-Id: 1631033759.78250007f070caaade82599a15f34e9d837350ed.sam@gentoo
1 commit: 78250007f070caaade82599a15f34e9d837350ed
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 7 16:52:01 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 16:55:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78250007
7
8 dev-libs/flatbuffers: add subslot for 2.x
9
10 Bit of a frustrating one as it appears to be ABI compatible
11 modulo the SONAME change, but it is what it is -- it's a good
12 thing upstream adopted semver anyway.
13
14 Closes: https://bugs.gentoo.org/812023
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../{flatbuffers-2.0.0.ebuild => flatbuffers-2.0.0-r1.ebuild} | 4 +++-
18 1 file changed, 3 insertions(+), 1 deletion(-)
19
20 diff --git a/dev-libs/flatbuffers/flatbuffers-2.0.0.ebuild b/dev-libs/flatbuffers/flatbuffers-2.0.0-r1.ebuild
21 similarity index 84%
22 rename from dev-libs/flatbuffers/flatbuffers-2.0.0.ebuild
23 rename to dev-libs/flatbuffers/flatbuffers-2.0.0-r1.ebuild
24 index 59a0c5212ca..4be03e4e789 100644
25 --- a/dev-libs/flatbuffers/flatbuffers-2.0.0.ebuild
26 +++ b/dev-libs/flatbuffers/flatbuffers-2.0.0-r1.ebuild
27 @@ -10,7 +10,9 @@ HOMEPAGE="https://google.github.io/flatbuffers/"
28 SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
29
30 LICENSE="Apache-2.0"
31 -SLOT="0"
32 +# From 1.2.0->2.0.0, incremented SONAME, although the interface didn't actually change.
33 +# (Apparently to adopt semver.)
34 +SLOT="0/2"
35 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
36 IUSE="static-libs test"