diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-12 23:30:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-12 23:41:39 +0200 |
commit | 19f5fec439ce9196ae0736f2cd605b7d53187c18 (patch) | |
tree | 67e169a19638a0228b539874fd3cea406df45628 /net-libs/libgfbgraph | |
parent | net-p2p/pybitmessage: new revision to fix audio dependencies. (diff) | |
download | gentoo-19f5fec439ce9196ae0736f2cd605b7d53187c18.tar.gz gentoo-19f5fec439ce9196ae0736f2cd605b7d53187c18.tar.bz2 gentoo-19f5fec439ce9196ae0736f2cd605b7d53187c18.zip |
net-libs/libgfbgraph: Fix USE=introspection
Fix respecting USE=-introspection and add appropriate transitive
'introspection?' USE dependencies to the packages. The patch is based on
the initial PR submitted by Bruno Henc, and follows suggestions given
afterwards by Gilles Dartiguelongue.
Bug: https://bugs.funtoo.org/browse/FL-3647
Closes: https://github.com/gentoo/gentoo/pull/4206
Diffstat (limited to 'net-libs/libgfbgraph')
-rw-r--r-- | net-libs/libgfbgraph/libgfbgraph-0.2.3-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/libgfbgraph/libgfbgraph-0.2.3-r1.ebuild b/net-libs/libgfbgraph/libgfbgraph-0.2.3-r1.ebuild new file mode 100644 index 000000000000..6d0f39061850 --- /dev/null +++ b/net-libs/libgfbgraph/libgfbgraph-0.2.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" +GNOME_ORG_MODULE="gfbgraph" + +inherit gnome2 + +DESCRIPTION="A GObject library for Facebook Graph API" +HOMEPAGE="https://git.gnome.org/browse/libgfbgraph/" + +LICENSE="LGPL-2.1+" +SLOT="0.2" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +RDEPEND=" + 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:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.14 + virtual/pkgconfig +" + +# FIXME: most tests seem to fail +RESTRICT="test" + +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 +} |