Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libgfbgraph/
Date: Fri, 16 Apr 2021 20:37:59
Message-Id: 1618605470.812dce69bb6e2068e6115ddfe4cb6e15f16d30a1.mattst88@gentoo
1 commit: 812dce69bb6e2068e6115ddfe4cb6e15f16d30a1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 20:02:13 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 20:37:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812dce69
7
8 net-libs/libgfbgraph: Version bump to 0.2.4
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-libs/libgfbgraph/Manifest | 1 +
13 net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild | 52 +++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/net-libs/libgfbgraph/Manifest b/net-libs/libgfbgraph/Manifest
17 index ca3735e9733..1939f897f27 100644
18 --- a/net-libs/libgfbgraph/Manifest
19 +++ b/net-libs/libgfbgraph/Manifest
20 @@ -1 +1,2 @@
21 DIST gfbgraph-0.2.3.tar.xz 270772 BLAKE2B 4e9e1d9ed5d0bc58d6b01f6d58d7d9dc8cddb28c09bc820927e242a7d6118aabc8e4d808050205cf2d516571c598a0dbc75e09588e64d53db1456d519d23b810 SHA512 4e03beb4172a591c7d1eb4cfac56009b0d25183168f73344d24ac47554334d1edf2c5087c523025cee5d565182a02dc7ef72adc66cff1e4ad53a1d0990d3afb8
22 +DIST gfbgraph-0.2.4.tar.xz 39520 BLAKE2B 71ce5a091b5ab7d27b7b5353ff76cb67c90a358371f1afe41a561bab195c7e01353854fbd28c3970c3179ded24daf41f7150f70b5efcb1c81aac89de9fed2c88 SHA512 e6d63e56f4d67b59b0abbfb9dfe3aad8b142023413246015a84078c76f631eaa6e9fa7eb5771f64156ea01e160eb07b17783059e449036b372b4bcb26751ff68
23
24 diff --git a/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild b/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild
25 new file mode 100644
26 index 00000000000..1032f0a26ad
27 --- /dev/null
28 +++ b/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +GNOME_ORG_MODULE="gfbgraph"
35 +GNOME2_EAUTORECONF="yes"
36 +
37 +inherit gnome2
38 +
39 +DESCRIPTION="A GObject library for Facebook Graph API"
40 +HOMEPAGE="https://gitlab.gnome.org/GNOME/libgfbgraph/"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0.2"
44 +KEYWORDS="amd64 ~arm64 x86"
45 +IUSE="+introspection"
46 +
47 +DEPEND="
48 + dev-libs/glib:2
49 + dev-libs/json-glib[introspection?]
50 + net-libs/libsoup:2.4[introspection?]
51 + net-libs/gnome-online-accounts
52 + net-libs/rest:0.7[introspection?]
53 + introspection? ( >=dev-libs/gobject-introspection-1.30:= )
54 +"
55 +RDEPEND="${DEPEND}"
56 +BDEPEND="
57 + >=dev-util/gtk-doc-am-1.14
58 + virtual/pkgconfig
59 +"
60 +
61 +src_prepare() {
62 + # Test requires a credentials.ini file.
63 + # https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/7#note_802926
64 + sed -i -e 's:TESTS = gtestutils:TESTS =:' tests/Makefile.am || die
65 +
66 + gnome2_src_prepare
67 +}
68 +
69 +src_configure() {
70 + gnome2_src_configure \
71 + --disable-static \
72 + $(use_enable introspection)
73 +}
74 +
75 +src_install() {
76 + gnome2_src_install
77 + # Remove files installed in the wrong place
78 + # Also, already done by portage
79 + # https://bugzilla.gnome.org/show_bug.cgi?id=752581
80 + rm -rf "${ED}"/usr/doc
81 +}