summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-10 23:27:32 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-10 23:27:32 +0000
commitd72bc4cde4459ec4e0414ec0112de974146477e1 (patch)
treee95b117b331042123a844ee88ee6a84672fc3054 /dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild
parentAdd arm love. (diff)
downloadgentoo-2-d72bc4cde4459ec4e0414ec0112de974146477e1.tar.gz
gentoo-2-d72bc4cde4459ec4e0414ec0112de974146477e1.tar.bz2
gentoo-2-d72bc4cde4459ec4e0414ec0112de974146477e1.zip
Add fix from ChromiumOS for building with gcc-4.7 #424707 by Diego Elio Pettenò. Update to EAPI=4 and add more USE flags to control optional behavior.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild')
-rw-r--r--dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild b/dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..d620880811bf
--- /dev/null
+++ b/dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-c++/dbus-c++-0.9.0-r1.ebuild,v 1.1 2012/09/10 23:27:32 vapier Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="provide a C++ API for D-BUS"
+HOMEPAGE="http://sourceforge.net/projects/dbus-cplusplus/ http://sourceforge.net/apps/mediawiki/dbus-cplusplus/index.php?title=Main_Page"
+SRC_URI="mirror://sourceforge/dbus-cplusplus/lib${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc ecore glib static-libs test"
+
+RDEPEND="sys-apps/dbus
+ ecore? ( dev-libs/ecore )
+ glib? ( dev-libs/glib )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ dev-util/cppunit
+ virtual/pkgconfig"
+
+S=${WORKDIR}/lib${P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc-4.7.patch #424707
+}
+
+src_configure() {
+ econf \
+ --disable-examples \
+ $(use_enable doc doxygen-docs) \
+ $(use_enable ecore) \
+ $(use_enable glib) \
+ $(use_enable static-libs static) \
+ $(use_enable test tests)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}