# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}" if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-2" EXPERIMENTAL="true" fi inherit xorg-2 ${GIT_ECLASS} DESCRIPTION="X.Org xkbcommon library" MY_PN="xkbcommon" MY_P="${MY_PN}-${PV}" S="${WORKDIR}/${MY_P}" XORG_EAUTORECONF="yes" if [[ $PV = 9999* ]]; then SRC_URI="${SRC_PATCHES}" else SRC_URI="http://cgit.freedesktop.org/${PN}/snapshot/${MY_P}.tar.gz" fi KEYWORDS="~amd64" IUSE="doc" RDEPEND="x11-proto/xproto >=x11-proto/kbproto-1.0.5" DEPEND="${RDEPEND} sys-devel/bison sys-devel/flex doc? ( app-doc/doxygen )" XORG_CONFIGURE_OPTIONS=( --with-xkb-config-root=${EPREFIX}/usr/share/X11/xkb $(use_with doc doxygen) )