blob: 54f86a099f2abfe1846d04e533612e66b226287e [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_RUST_SUBDIR="sirenia/manatee-client"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR} sirenia/dbus_bindings"
inherit cros-workon cros-rust
DESCRIPTION="Rust D-Bus bindings for ManaTEE."
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/sirenia/manatee-client"
LICENSE="BSD-Google"
SLOT="0/${PVR}"
KEYWORDS="~*"
RDEPEND=""
DEPEND="${RDEPEND}
dev-rust/chromeos-dbus-bindings:=
=dev-rust/dbus-0.8*:=
=dev-rust/getopts-0.2*:=
dev-rust/libchromeos:=
>=dev-rust/thiserror-1.0.20:= <dev-rust/thiserror-2.0
=dev-rust/which-4*:=
"
src_install() {
cros-rust_src_install
local build_dir="$(cros-rust_get_build_dir)"
dobin "${build_dir}/manatee"
}