blob: 0c752115abb9afee364538bcd243648964791194 [file] [log] [blame]
# Copyright (c) 2013 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 udev
DESCRIPTION="Board-specific packages for x86-alex"
HOMEPAGE="http://src.chromium.org"
SRC_URI=""
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
DEPEND="!chromeos-base/light-sensor"
S="${WORKDIR}"
src_install() {
doappid "{C776D42E-287A-435E-8BA7-E770BD30B46D}" "CHROMEBOOK"
# Install Bluetooth ID override.
insinto "/etc/bluetooth"
doins "${FILESDIR}/main.conf"
# Install platform-specific ambient light sensor configuration.
udev_dorules "${FILESDIR}/99-light-sensor.rules"
exeinto $(get_udevdir)
doexe "${FILESDIR}/light-sensor-set-multiplier.sh"
# Install audio configs.
local audio_config_dir="${FILESDIR}/audio-config"
install_audio_configs x86-alex "${audio_config_dir}"
}