1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 VALA_MIN_API_VERSION="0.14"
8 VALA_USE_DEPEND="vapigen"
10 inherit gnome2 multilib-minimal vala
12 DESCRIPTION="A GObject-based API for handling resource discovery and announcement over SSDP"
13 HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
17 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
18 IUSE="+introspection +gtk"
21 >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
22 >=net-libs/libsoup-2.44.2:2.4[${MULTILIB_USEDEP},introspection?]
23 gtk? ( >=x11-libs/gtk+-3.0:3 )
26 >=dev-libs/gobject-introspection-0.6.7 )
27 !<net-libs/gupnp-vala-0.10.3
30 >=dev-util/gtk-doc-am-1.10
32 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
36 # Disable functional test as it requires port that might be used by rygel to
38 sed 's/\(check_PROGRAMS.*\)test-functional$(EXEEXT)/\1/' \
39 -i "${S}"/tests/gtest/Makefile.in || die
41 use introspection && vala_src_prepare
45 multilib_src_configure() {
47 gnome2_src_configure \
48 $(multilib_native_use_enable introspection) \
49 $(multilib_native_use_with gtk) \
52 if multilib_is_native_abi; then
54 ln -s "${S}"/doc/html doc/html || die
58 multilib_src_install() {