summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-11-15 10:44:38 +0100
committerPacho Ramos <pacho@gentoo.org>2015-11-15 11:29:53 +0100
commit20261872e4351ec98131e7bbb978637838969e93 (patch)
tree29111363fa051bccd7e23e6ef663ff577e9a0805 /gnome-extra/gnome-power-manager
parentgnome-extra/gnome-logs: Version bump (diff)
downloadgentoo-20261872e4351ec98131e7bbb978637838969e93.tar.gz
gentoo-20261872e4351ec98131e7bbb978637838969e93.tar.bz2
gentoo-20261872e4351ec98131e7bbb978637838969e93.zip
gnome-extra/gnome-power-manager: Version bump
Package-Manager: portage-2.2.24
Diffstat (limited to 'gnome-extra/gnome-power-manager')
-rw-r--r--gnome-extra/gnome-power-manager/Manifest1
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.18.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest
index 989e7b045c5..52d0622cd7f 100644
--- a/gnome-extra/gnome-power-manager/Manifest
+++ b/gnome-extra/gnome-power-manager/Manifest
@@ -1,2 +1,3 @@
DIST gnome-power-manager-3.14.1.tar.xz 469568 SHA256 07790a9e8274fe950a6dd653a4e2f4a0f52cb9d89eb9d5320fa6e1b3b3aa9624 SHA512 4089cb3a35e96ac3566adbb2a0905efa048b80794643ca1d979d7208e9f06b9de94b55cad0da36805765d37e5e25727b2baf59af9dc6ea6b515a95600ec69db4 WHIRLPOOL a6d8ed9e42cdec053dfd09c6eb324d03c603278544b35f4b9f98da0c9aef60cfb6d23048bb2d3fbdbfe9766c17941bab16d1eca257328495073e813011914c69
DIST gnome-power-manager-3.16.1.tar.xz 432360 SHA256 a4177dbff9fac1f1babf0d2715f950ee0fa3dd143d7b5d89311f33afca924231 SHA512 b4f04196f88bb43eaefc910e733cb291fd88c260baae275595fa1e9913ccb2577ea2192238c6bf18297c4cc69b0d0e88571b96ee526f37ad260f6e1b429488da WHIRLPOOL 41841940544807974d8497f0cecd8a20b4b8f18a4bc30155ba9893d45553ac57cc3ee206bc162132933aef6343a19ca30572fe36b7af6d422aef6e7d63c208ee
+DIST gnome-power-manager-3.18.0.tar.xz 433960 SHA256 afe5921a4313d15757f39f6ff4ec6f7c9e9cbb9b2aaa0b8a290e1cd7557e28f0 SHA512 53ec940882b1b037e5d32bcda72b34582925608df30f96147b975651f26cde268a608bbc55242bfee67a48950fa0c395f6b893c047e6b4f1a1c45793376d9b44 WHIRLPOOL 05492c60557744fb86c92c4d47cc54a4b37b7d6ad1eb1701fa2d68acc9a39e3a9a69c3dec96efc0b306d7ba40a54d94da3d3c265cc2d6b643ae0964b4b211326
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.18.0.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.18.0.ebuild
new file mode 100644
index 00000000000..b696af1aa9f
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.18.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit eutils gnome2 virtualx
+
+DESCRIPTION="GNOME power management service"
+HOMEPAGE="https://projects.gnome.org/gnome-power-manager/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.45.8:2
+ >=x11-libs/gtk+-3.3.8:3
+ >=x11-libs/cairo-1
+ >=sys-power/upower-0.99:=
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/gnome-icon-theme-symbolic
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-sgml-dtd:4.1
+ app-text/docbook-sgml-utils
+ dev-libs/appstream-glib
+ >=dev-util/intltool-0.50
+ sys-devel/gettext
+ x11-proto/randrproto
+ virtual/pkgconfig
+ 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.
+
+src_prepare() {
+ # Drop debugger CFLAGS from configure
+ # 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"
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable test tests)
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check
+}