| # Copyright 2014 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=4 |
| |
| inherit appid cros-audio-configs |
| |
| DESCRIPTION="Candy bsp (meta package to pull in driver/tool deps)" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="-* amd64 x86" |
| IUSE="" |
| S="${WORKDIR}" |
| |
| RDEPEND=" |
| " |
| DEPEND="${RDEPEND}" |
| S="${WORKDIR}" |
| |
| src_install() { |
| doappid "{BABC2E82-8F7D-26E5-EE66-4C60A2B41DBC}" "CHROMEBOOK" |
| |
| # Install platform specific config files for power_manager. |
| insinto "/usr/share/power_manager/board_specific" |
| doins "${FILESDIR}"/powerd_prefs/* |
| |
| # Install Bluetooth ID override. |
| insinto "/etc/bluetooth" |
| doins "${FILESDIR}/main.conf" |
| |
| # Install audio config files. |
| local audio_config_dir="${FILESDIR}/audio-config" |
| install_audio_configs swanky "${audio_config_dir}" |
| } |