1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 VALA_USE_DEPEND="vapigen"
9 inherit gnome2 udev vala
11 DESCRIPTION="GObject library for managing information about real and virtual OSes"
12 HOMEPAGE="http://libosinfo.org/"
13 SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
15 LICENSE="GPL-2 LGPL-2.1"
17 IUSE="+introspection +vala test"
18 REQUIRED_USE="vala? ( introspection )"
20 KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
24 >=dev-libs/libxslt-1.0.0:=
26 net-libs/libsoup-gnome:2.4
28 introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
31 dev-libs/gobject-introspection-common
32 >=dev-util/gtk-doc-am-1.10
34 test? ( dev-libs/check )
35 vala? ( $(vala_depend) )
39 # --enable-udev is only for rules.d file install
40 gnome2_src_configure \
42 $(use_enable test tests) \
43 $(use_enable introspection) \
47 --with-html-dir=/usr/share/doc/${PF}/html \
48 --with-udev-rulesdir="$(get_udevdir)"/rules.d \
49 --with-usb-ids-path=/usr/share/misc/usb.ids \
50 --with-pci-ids-path=/usr/share/misc/pci.ids