diff options
author | 2014-07-28 16:19:56 +0000 | |
---|---|---|
committer | 2014-07-28 16:19:56 +0000 | |
commit | 3107bc450ed84563d028a9e1e0d793d39c7f5bed (patch) | |
tree | c0dde64782dbcd9146ae100feafedef83a6bdd23 /app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild | |
parent | amd64 stable wrt bug #381424 (diff) | |
download | gentoo-2-3107bc450ed84563d028a9e1e0d793d39c7f5bed.tar.gz gentoo-2-3107bc450ed84563d028a9e1e0d793d39c7f5bed.tar.bz2 gentoo-2-3107bc450ed84563d028a9e1e0d793d39c7f5bed.zip |
Fix handling of UPower dependencies to be exact.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild')
-rw-r--r-- | app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild b/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild index 83f3be45c813..7974c904d6db 100644 --- a/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild +++ b/app-leechcraft/lc-liznoo/lc-liznoo-9999.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/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild,v 1.4 2014/07/27 18:00:13 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-liznoo/lc-liznoo-9999.ebuild,v 1.5 2014/07/28 16:19:56 ssuominen Exp $ EAPI="4" @@ -10,18 +10,21 @@ DESCRIPTION="UPower-based power manager for LeechCraft" SLOT="0" KEYWORDS="" -IUSE="debug" +IUSE="debug systemd" DEPEND="~app-leechcraft/lc-core-${PV} x11-libs/qwt:6 dev-qt/qtdbus:4 virtual/leechcraft-trayarea" RDEPEND="${DEPEND} - || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils )" + !systemd? ( || ( >=sys-power/upower-0.99 sys-power/upower-pm-utils ) ) + systemd? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )" pkg_postinst() { if has_version '>=sys-power/upower-0.99'; then - ewarn "If you need hibernate and suspend support, you need to downgrade" - ewarn "sys-power/upower to 0.9.23 or switch to sys-power/upower-pm-utils" + ewarn "The new sys-power/upower version you have installed doesn't have hibernate" + ewarn "and suspend. If you need hibernate and suspend in ${PN}, and you use" + ewarn "systemd, you should downgrade sys-power/upower to 0.9.23 series. All others" + ewarn "should switch to sys-power/upower-pm-utils, also to 0.9.23 series." fi } |