| # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=4 |
| CROS_WORKON_COMMIT="67c14ecd9f00a574abc59d45516dc35289c4119c" |
| CROS_WORKON_TREE="d7fcb5829210dd7840f8fd1d982709c765253187" |
| CROS_WORKON_PROJECT="chromiumos/platform/system_api" |
| |
| inherit cros-workon toolchain-funcs |
| |
| DESCRIPTION="Chrome OS system API (D-Bus service names, etc.)" |
| HOMEPAGE="http://www.chromium.org/" |
| LICENSE="BSD" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="platform2" |
| |
| src_prepare() { |
| if use platform2; then |
| printf '\n\n\n' |
| ewarn "This package doesn't install anything with USE=platform2." |
| ewarn "You want to use the new chromeos-base/platform2 package." |
| printf '\n\n\n' |
| return 0 |
| fi |
| cros-workon_src_prepare |
| } |
| |
| src_install() { |
| use platform2 && return 0 |
| insinto /usr/include/chromeos |
| doins -r dbus switches constants |
| } |