1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils gnome2 multilib-minimal virtualx
9 DESCRIPTION="Helper library for RESTful services"
10 HOMEPAGE="https://wiki.gnome.org/Projects/Librest"
14 IUSE="+introspection test"
15 RESTRICT="!test? ( test )"
16 KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc x86"
18 # Coverage testing should not be enabled
20 app-misc/ca-certificates
21 >=dev-libs/glib-2.24:2[${MULTILIB_USEDEP}]
22 dev-libs/libxml2:2[${MULTILIB_USEDEP}]
23 net-libs/libsoup:2.4[${MULTILIB_USEDEP}]
24 introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
28 >=dev-util/gtk-doc-am-1.13
29 >=dev-util/intltool-0.40
30 virtual/pkgconfig[${MULTILIB_USEDEP}]
31 test? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
34 multilib_src_configure() {
35 # gnome support only adds dependency on obsolete libsoup-gnome
36 # https://bugzilla.gnome.org/show_bug.cgi?id=758166
38 gnome2_src_configure \
42 --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
43 $(multilib_native_use_enable introspection)
45 if multilib_is_native_abi; then
46 ln -s "${S}"/docs/reference/rest/html docs/reference/rest/html || die
55 multilib_src_compile() {
59 multilib_src_install() {