# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit multilib-build

DESCRIPTION="Virtual for libgudev providers"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0/0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="introspection static-libs systemd"

DEPEND=""
RDEPEND="
	!systemd? ( || (
		>=sys-fs/udev-208-r1:0/0[${MULTILIB_USEDEP},gudev,introspection?,static-libs?]
		>=sys-fs/eudev-1.5.3-r1:0/0[${MULTILIB_USEDEP},gudev,introspection?,static-libs?] )
	)
	systemd? ( || (
		>=sys-apps/systemd-212-r5:0/2[${MULTILIB_USEDEP},gudev,introspection?]
		>=sys-apps/systemd-208-r3:0/1[${MULTILIB_USEDEP},gudev,introspection?]
		>=sys-apps/systemd-208:0/0[${MULTILIB_USEDEP},gudev,introspection?] )
	)"

REQUIRED_USE="systemd? ( !static-libs )"