blob: b1f97054a5b6613cabf9028eefe69e0c26f6e5d4 [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit appid udev
DESCRIPTION="Ebuild which pulls in any necessary ebuilds as dependencies
or portage actions."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
S="${WORKDIR}"
# Add dependencies on other ebuilds from within this board overlay
RDEPEND="
chromeos-base/chromeos-bsp-baseboard-reef
"
DEPEND="${RDEPEND}"
src_install() {
doappid "{8396029B-FCEF-9EEC-C684-3BCB8E3E9429}" "CHROMEBOOK"
# Install platform specific config files for power_manager.
insinto "/usr/share/power_manager/board_specific"
doins "${FILESDIR}"/powerd_prefs/*
# Install Power Manager rules.
udev_dorules "${FILESDIR}/92-powerd-overrides.rules"
# Install Bluetooth ID override.
insinto "/etc/bluetooth"
doins "${FILESDIR}/main.conf"
}