blob: 69d026a69e886e0b10355e81129121d3cf16742d [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="be12b2f2dd5be1445df39c48088faf47641d872e"
CROS_WORKON_TREE="ebfaf4f42b903545aa35638201ea8ee89748115e"
CROS_WORKON_PROJECT="chromiumos/third_party/dbus-cplusplus"
inherit cros-workon autotools
DESCRIPTION="C++ D-Bus bindings"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/dbus-c%2B%2B"
SRC_URI=""
LICENSE="LGPL-2"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="-asan -clang debug doc +glib"
REQUIRED_USE="asan? ( clang )"
RDEPEND="
glib? ( >=dev-libs/dbus-glib-0.76 )
glib? ( >=dev-libs/glib-2.19:2 )
>=sys-apps/dbus-1.0
>=dev-cpp/ctemplate-1.0"
DEPEND="${DEPEND}
doc? ( dev-libs/libxslt )
doc? ( app-doc/doxygen )
virtual/pkgconfig"
src_prepare() {
eautoreconf
}
src_configure() {
clang-setup-env
cros-workon_src_configure \
$(use_enable debug) \
$(use_enable doc doxygen-docs) \
$(use_enable glib glib)
}