summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-06-02 19:49:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-06-02 19:49:27 +0000
commitfdd558020a3248f1b265e4c53f16083b0597544b (patch)
treee2174dcc2232c07d35716445240a7092764d143f /xfce-extra
parentUpdate multilib support in libsemanage with thanks to Arfrever (diff)
downloadgentoo-2-fdd558020a3248f1b265e4c53f16083b0597544b.tar.gz
gentoo-2-fdd558020a3248f1b265e4c53f16083b0597544b.tar.bz2
gentoo-2-fdd558020a3248f1b265e4c53f16083b0597544b.zip
Use macro -DUPOWER_ENABLE_DEPRECATED when UPower 0.9.x is built with --enable-deprecated, see http://bugzilla.xfce.org/show_bug.cgi?id=10931
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-power-manager/ChangeLog7
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild8
2 files changed, 13 insertions, 2 deletions
diff --git a/xfce-extra/xfce4-power-manager/ChangeLog b/xfce-extra/xfce4-power-manager/ChangeLog
index 6993bf042b64..06f870c73bf4 100644
--- a/xfce-extra/xfce4-power-manager/ChangeLog
+++ b/xfce-extra/xfce4-power-manager/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for xfce-extra/xfce4-power-manager
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/ChangeLog,v 1.76 2014/06/02 16:29:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/ChangeLog,v 1.77 2014/06/02 19:49:27 ssuominen Exp $
+
+ 02 Jun 2014; Samuli Suominen <ssuominen@gentoo.org>
+ xfce4-power-manager-1.3.0.ebuild:
+ Use macro -DUPOWER_ENABLE_DEPRECATED when UPower 0.9.x is built with --enable-
+ deprecated, see http://bugzilla.xfce.org/show_bug.cgi?id=10931
02 Jun 2014; Samuli Suominen <ssuominen@gentoo.org>
-xfce4-power-manager-1.2.0_p20140527.ebuild:
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild
index d15434927a44..31212370be0c 100644
--- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild,v 1.1 2014/06/02 16:28:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild,v 1.2 2014/06/02 19:49:27 ssuominen Exp $
EAPI=5
inherit flag-o-matic linux-info xfconf
@@ -57,3 +57,9 @@ pkg_setup() {
DOCS=( AUTHORS NEWS README TODO )
}
+
+src_configure() {
+ # http://bugzilla.xfce.org/show_bug.cgi?id=10931
+ has_version 'sys-power/upower-pm-utils' && append-cppflags -DUPOWER_ENABLE_DEPRECATED
+ xfconf_src_configure
+}