blob: 86adbc83afa6d00ee34672ccb92265e1fc55b705 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
EGIT_REPO_URI="http://git.chromium.org/chromiumos/third_party/${PN}.git"
EGIT_COMMIT="f91afe4f3ebcac3fb65a402c6c85cf1df5e2b52a"
XORG_EAUTORECONF="yes"
inherit xorg-2 git-2
SRC_URI=""
DESCRIPTION="X.Org xkbcommon library"
KEYWORDS="amd64 arm x86"
IUSE=""
RDEPEND="x11-proto/xproto
>=x11-proto/kbproto-1.0.5"
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex"
pkg_setup() {
xorg-2_pkg_setup
XORG_CONFIGURE_OPTIONS=(
--with-xkb-config-root=/usr/share/X11/xkb
)
}
src_prepare() {
# http://bugs.gentoo.org/show_bug.cgi?id=386181
cat <<-\EOF >> makekeys/Makefile.am
CFLAGS = $(BUILD_CFLAGS)
CPPFLAGS = $(BUILD_CPPFLAGS)
LDFLAGS = $(BUILD_LDFLAGS)
EOF
xorg-2_src_prepare
}