blob: c5491f3ee3cd1c75723c13c0b6d5f5e8531a9923 [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_WORKON_COMMIT="1da1cad5d615cf74bc411e73d09db73d00413d33"
CROS_WORKON_TREE=("7635a8e2d1db6e542aa2ffcbde3fb56684182bad" "3508d2f3db0647ef3871071db0b2fbfd7b6af042")
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"
}