| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="4" |
| |
| CROS_WORKON_COMMIT="2582f80597cd1bc08cbc0987147e59c5fe7e5cb9" |
| CROS_WORKON_TREE="920306282528e7d063df6919013a04879c6d0f32" |
| CROS_WORKON_PROJECT="chromiumos/platform/inputcontrol" |
| |
| inherit cros-workon |
| |
| DESCRIPTION="A collection of utilities for configuring input devices" |
| HOMEPAGE="http://www.chromium.org/" |
| |
| LICENSE="BSD" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="+X" |
| |
| RDEPEND=" |
| app-arch/gzip |
| X? ( x11-apps/xinput ) |
| " |
| DEPEND="${RDEPEND}" |
| |
| src_configure() { |
| export HAVE_XINPUT=$(usex X 1 0) |
| cros-workon_src_configure |
| } |