blob: 8855860b0fccfc67699d729fc1dcfbdf13540e25 [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_COMMIT="5070aa395e69e09fec182f93dffef321dd0379d4"
CROS_WORKON_TREE="7253167bc409043d3e4056301b1db028744b2045"
CROS_WORKON_PROJECT="chromiumos/third_party/libqmi"
inherit meson cros-sanitizers cros-workon udev
DESCRIPTION="QMI modem protocol helper library"
HOMEPAGE="http://cgit.freedesktop.org/libqmi/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="-asan mbim qrtr"
RDEPEND=">=dev-libs/glib-2.36
>=net-libs/libmbim-1.18.0
net-libs/libqrtr-glib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
sanitizers-setup-env
local emesonargs=(
--prefix='/usr'
-Dqmi_username='modem'
-Dlibexecdir='/usr/libexec'
-Dudevdir='/lib/udev'
-Dintrospection=false
-Dman=false
-Dbash_completion=false
)
meson_src_configure
}