blob: 3a24a3e9ca52cbe42d9b2b967f4a83577b1f405e [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="5d09da682db7af24a938a38d333c69b48334d888"
CROS_WORKON_TREE="93769ec1391c3f8c81f3184e7db55007801f18fc"
CROS_WORKON_PROJECT="chromiumos/third_party/mimo-updater"
inherit cros-debug cros-workon libchrome udev user
DESCRIPTION="A tool to interact with a Mimo device from Chromium OS."
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/mimo-updater"
LICENSE="BSD-Google"
KEYWORDS="*"
DEPEND="
chromeos-base/libbrillo:=
virtual/libusb:1
virtual/libudev:0="
RDEPEND="${DEPEND}"
src_configure() {
# See crbug/1078297
cros-debug-add-NDEBUG
default
}
src_install() {
dosbin mimo-updater
udev_dorules conf/90-displaylink-usb.rules
}
pkg_preinst() {
enewuser cfm-firmware-updaters
enewgroup cfm-firmware-updaters
}