blob: c6430781515b19f1428804cc0aedad01aff19612 [file] [log] [blame]
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_COMMIT="ec335c53a29f189f9291a97c3826cc6e4b733bb5"
CROS_WORKON_TREE="480d56792a8ad8f719683bcde4cc72c935669187"
CROS_WORKON_PROJECT="chromiumos/third_party/libmbim"
inherit meson cros-sanitizers cros-workon udev
DESCRIPTION="MBIM modem protocol helper library"
HOMEPAGE="http://cgit.freedesktop.org/libmbim/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="-asan doc static-libs"
RDEPEND=">=dev-libs/glib-2.36
virtual/libgudev"
DEPEND="${RDEPEND}
doc? ( dev-util/gtk-doc )
virtual/pkgconfig"
src_configure() {
sanitizers-setup-env
local emesonargs=(
--prefix='/usr'
-Dmbim_username='modem'
-Dlibexecdir='/usr/libexec'
-Dudevdir='/lib/udev'
-Dintrospection=false
-Dman=false
-Dbash_completion=false
)
meson_src_configure
}