summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-06-08 06:13:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-06-08 06:13:11 +0000
commit3207ab4934cc759d9fab0d53c9bdecf84c304ccb (patch)
tree2e64d1d9fdde9a9651c675c5212203ee4432c406 /dev-libs
parentDo not force the acl, gudev, hwdb or keymap use flags on since these (diff)
downloadgentoo-2-3207ab4934cc759d9fab0d53c9bdecf84c304ccb.tar.gz
gentoo-2-3207ab4934cc759d9fab0d53c9bdecf84c304ccb.tar.bz2
gentoo-2-3207ab4934cc759d9fab0d53c9bdecf84c304ccb.zip
Version bump.
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dbus-glib/ChangeLog7
-rw-r--r--dev-libs/dbus-glib/dbus-glib-0.94.ebuild90
2 files changed, 96 insertions, 1 deletions
diff --git a/dev-libs/dbus-glib/ChangeLog b/dev-libs/dbus-glib/ChangeLog
index 7f5a2212d8d4..ce5bf76c1ab9 100644
--- a/dev-libs/dbus-glib/ChangeLog
+++ b/dev-libs/dbus-glib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/dbus-glib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.84 2011/03/22 20:05:27 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.85 2011/06/08 06:13:11 ssuominen Exp $
+
+*dbus-glib-0.94 (08 Jun 2011)
+
+ 08 Jun 2011; Samuli Suominen <ssuominen@gentoo.org> +dbus-glib-0.94.ebuild:
+ Version bump.
22 Mar 2011; Brent Baude <ranger@gentoo.org> dbus-glib-0.92.ebuild:
Marking dbus-glib-0.92 ppc stable for bug 353436
diff --git a/dev-libs/dbus-glib/dbus-glib-0.94.ebuild b/dev-libs/dbus-glib/dbus-glib-0.94.ebuild
new file mode 100644
index 000000000000..2d24fab0a836
--- /dev/null
+++ b/dev-libs/dbus-glib/dbus-glib-0.94.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.94.ebuild,v 1.1 2011/06/08 06:13:11 ssuominen Exp $
+
+EAPI=4
+inherit bash-completion
+
+DESCRIPTION="D-Bus bindings for glib"
+HOMEPAGE="http://dbus.freedesktop.org/"
+SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 AFL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="bash-completion debug doc static-libs test"
+
+RDEPEND=">=sys-apps/dbus-1.4.1
+ >=dev-libs/glib-2.26
+ >=dev-libs/expat-1.95.8"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.4 )"
+
+# out of sources build directory
+BD=${WORKDIR}/${P}-build
+# out of sources build dir for make check
+TBD=${WORKDIR}/${P}-tests-build
+
+BASHCOMPLETION_NAME="dbus"
+
+src_configure() {
+ local my_conf
+
+ my_conf="--localstatedir=/var
+ $(use_enable bash-completion)
+ $(use_enable debug verbose-mode)
+ $(use_enable debug asserts)
+ $(use_enable static-libs static)
+ $(use_enable doc gtk-doc)
+ --with-html-dir=/usr/share/doc/${PF}/html"
+
+ mkdir "${BD}"
+ cd "${BD}"
+ einfo "Running configure in ${BD}"
+ ECONF_SOURCE="${S}" econf ${my_conf}
+
+ if use test; then
+ mkdir "${TBD}"
+ cd "${TBD}"
+ einfo "Running configure in ${TBD}"
+ ECONF_SOURCE="${S}" econf \
+ ${my_conf} \
+ $(use_enable test checks) \
+ $(use_enable test tests) \
+ $(use_enable test asserts) \
+ $(use_with test test-socket-dir "${T}"/dbus-test-socket)
+ fi
+}
+
+src_compile() {
+ cd "${BD}"
+ einfo "Running make in ${BD}"
+ emake
+
+ if use test; then
+ cd "${TBD}"
+ einfo "Running make in ${TBD}"
+ emake
+ fi
+}
+
+src_test() {
+ cd "${TBD}"
+ emake check
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog HACKING NEWS README
+
+ cd "${BD}"
+ emake DESTDIR="${D}" install
+
+ # FIXME: We need --with-bash-completion-dir
+ if use bash-completion ; then
+ dobashcompletion "${D}"/etc/bash_completion.d/dbus-bash-completion.sh
+ rm -rf "${D}"/etc/bash_completion.d || die
+ fi
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}