summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-power-manager/ChangeLog10
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.2.1.ebuild67
2 files changed, 76 insertions, 1 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog
index ceb59440ec36..6721b68248d5 100644
--- a/gnome-extra/gnome-power-manager/ChangeLog
+++ b/gnome-extra/gnome-power-manager/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/gnome-power-manager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.163 2011/10/21 14:24:38 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.164 2011/10/30 01:52:43 tetromino Exp $
+
+*gnome-power-manager-3.2.1 (30 Oct 2011)
+
+ 30 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +gnome-power-manager-3.2.1.ebuild:
+ Bump to 3.2.1 from the gnome overlay. The docbook-docs are gone. In
+ gnome-3.2, most of gnome-power-manager's functionality has been moved to
+ gnome-settings-daemon.
21 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
gnome-power-manager-2.32.0-r2.ebuild:
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.2.1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.2.1.ebuild
new file mode 100644
index 000000000000..8a02e8935b9f
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.2.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-3.2.1.ebuild,v 1.1 2011/10/30 01:52:43 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+
+inherit eutils gnome2 virtualx
+
+DESCRIPTION="Gnome Power Manager"
+HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="test"
+
+# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic)
+RESTRICT="test"
+
+COMMON_DEPEND=">=dev-libs/glib-2.25.9
+ >=x11-libs/gtk+-2.91.7:3
+ >=x11-libs/cairo-1.0.0
+ >=sys-power/upower-0.9.1"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/consolekit-0.4[policykit]
+ sys-auth/polkit
+ gnome-extra/polkit-gnome"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/randrproto
+
+ sys-devel/gettext
+ app-text/scrollkeeper
+ app-text/docbook-sgml-utils
+ app-text/docbook-sgml-dtd:4.1
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.35
+ >=app-text/gnome-doc-utils-0.3.2
+ test? ( sys-apps/dbus )"
+
+# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages
+# (files under ${S}/man).
+# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs.
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable test tests)
+ --disable-strict
+ --enable-compile-warnings=minimum
+ --disable-schemas-compile"
+ DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Drop debugger CFLAGS from configure
+ # XXX: touch configure.ac only if running eautoreconf, otherwise
+ # maintainer mode gets triggered -- even if the order is correct
+ sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' \
+ -i configure || die "debugger sed failed"
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check || die "Test phase failed"
+}