blob: 667e10e33274e942205fb6de5cd58cb65eb8165b [file] [log] [blame]
# 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="e66ffaf049688befe244e4768a5c6ac2e9c2345e"
CROS_WORKON_TREE="9b3d5322b62c29cdd30d44bd3f469ad50424aaac"
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
x11-apps/xinput"
DEPEND="${RDEPEND}"
src_prepare() {
if ! use X; then
epatch "${FILESDIR}"/0001-chgrp-dev-input-devices-to-chronos-for-DRM.patch
fi
}