diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild')
-rw-r--r-- | net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild b/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild new file mode 100644 index 000000000000..25eaeeb87edf --- /dev/null +++ b/net-libs/libgfbgraph/libgfbgraph-0.2.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GNOME_ORG_MODULE="gfbgraph" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 + +DESCRIPTION="A GObject library for Facebook Graph API" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libgfbgraph/" + +LICENSE="LGPL-2.1+" +SLOT="0.2" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+introspection" + +DEPEND=" + dev-libs/glib:2 + dev-libs/json-glib[introspection?] + net-libs/libsoup:2.4[introspection?] + net-libs/gnome-online-accounts + net-libs/rest:0.7[introspection?] + introspection? ( >=dev-libs/gobject-introspection-1.30:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/gtk-doc + >=dev-util/gtk-doc-am-1.14 + virtual/pkgconfig +" +# gtk-doc needed for autoreconf + +src_prepare() { + # Test requires a credentials.ini file. + # https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/7#note_802926 + sed -i -e 's:TESTS = gtestutils:TESTS =:' tests/Makefile.am || die + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + $(use_enable introspection) +} + +src_install() { + gnome2_src_install + # Remove files installed in the wrong place + # Also, already done by portage + # https://bugzilla.gnome.org/show_bug.cgi?id=752581 + rm -rf "${ED}"/usr/doc +} |