| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/libosinfo-0.0.5.ebuild,v 1.2 2012/05/04 07:33:11 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="no"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="GObject library for managing information about real and virtual OSes"
|
| 12 |
HOMEPAGE="https://fedorahosted.org/libosinfo/"
|
| 13 |
|
| 14 |
LICENSE="GPL-2 LGPL-2.1"
|
| 15 |
SLOT="0"
|
| 16 |
SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz"
|
| 17 |
KEYWORDS="~amd64 ~x86"
|
| 18 |
IUSE="doc +introspection +vala test"
|
| 19 |
|
| 20 |
REQUIRED_USE="vala? ( introspection )"
|
| 21 |
|
| 22 |
RDEPEND="
|
| 23 |
dev-libs/glib:2
|
| 24 |
>=dev-libs/libxml2-2.6.0:2
|
| 25 |
introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
|
| 26 |
DEPEND="${RDEPEND}
|
| 27 |
virtual/pkgconfig
|
| 28 |
doc? ( >=dev-util/gtk-doc-1.10 )
|
| 29 |
test? ( dev-libs/check )
|
| 30 |
vala? ( dev-lang/vala:0.14 )"
|
| 31 |
|
| 32 |
pkg_setup() {
|
| 33 |
DOCS="AUTHORS ChangeLog NEWS README"
|
| 34 |
# --enable-udev only installs udev rules
|
| 35 |
G2CONF="--disable-coverage
|
| 36 |
--disable-static
|
| 37 |
--enable-udev
|
| 38 |
--with-udev-rulesdir=/lib/udev/rules.d
|
| 39 |
VAPIGEN=$(type -P vapigen-0.14)
|
| 40 |
$(use_enable introspection)
|
| 41 |
$(use_enable test tests)
|
| 42 |
$(use_enable vala)"
|
| 43 |
}
|