blob: dd93abd7b5765f83ccade6bcce8076c46c39dea5 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="6e643d64f634f83f3ba7233f4fb4869e38a306e5"
CROS_WORKON_TREE="d02c7c4fa5cc0fa3c52fe5f9d0bc24e4d3fd786c"
CROS_WORKON_PROJECT="chromiumos/third_party/aver-updater"
inherit cros-workon cros-common.mk libchrome udev user
DESCRIPTION="AVer firmware updater"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/aver-updater"
LICENSE="BSD"
SLOT="0"
KEYWORDS="*"
RDEPEND="
chromeos-base/libbrillo:=
"
DEPEND="${RDEPEND}"
src_configure() {
# Disable tautological-compare warnings, crbug.com/1042142
append-cppflags "-Wno-tautological-compare"
cros-common.mk_src_configure
default
}
src_install() {
dosbin "${OUT}/aver-updater"
udev_dorules conf/99-run-aver-updater.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}