summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-04-20 21:25:38 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-04-20 21:25:38 +0000
commit95a251e17d5374ed6519a63f1de929e25c05dd38 (patch)
tree3a574580985e40d67b680213875b42bfeddd544c /sys-power
parentremove media-libs/libpano12 mask, as it has been removed from the tree (diff)
downloadgentoo-2-95a251e17d5374ed6519a63f1de929e25c05dd38.tar.gz
gentoo-2-95a251e17d5374ed6519a63f1de929e25c05dd38.tar.bz2
gentoo-2-95a251e17d5374ed6519a63f1de929e25c05dd38.zip
Bump to 1.2.5. Add support for KMS.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/pm-utils/ChangeLog8
-rw-r--r--sys-power/pm-utils/pm-utils-1.2.5.ebuild58
2 files changed, 65 insertions, 1 deletions
diff --git a/sys-power/pm-utils/ChangeLog b/sys-power/pm-utils/ChangeLog
index 771ee8a98f49..3182ae376421 100644
--- a/sys-power/pm-utils/ChangeLog
+++ b/sys-power/pm-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/pm-utils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.19 2009/03/22 12:34:52 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.20 2009/04/20 21:25:38 eva Exp $
+
+*pm-utils-1.2.5 (20 Apr 2009)
+
+ 20 Apr 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +pm-utils-1.2.5.ebuild:
+ Bump to 1.2.5. Add support for KMS.
22 Mar 2009; Gilles Dartiguelongue <eva@gentoo.org> pm-utils-1.2.4.ebuild:
Remove -Werror from configure, bug #260943.
diff --git a/sys-power/pm-utils/pm-utils-1.2.5.ebuild b/sys-power/pm-utils/pm-utils-1.2.5.ebuild
new file mode 100644
index 000000000000..a3507accfef8
--- /dev/null
+++ b/sys-power/pm-utils/pm-utils-1.2.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/pm-utils-1.2.5.ebuild,v 1.1 2009/04/20 21:25:38 eva Exp $
+
+EAPI="2"
+
+inherit autotools eutils
+
+DESCRIPTION="Suspend and hibernation utilties for HAL"
+HOMEPAGE="http://pm-utils.freedesktop.org/"
+SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon"
+
+RDEPEND=">=sys-apps/hal-0.5.10
+ >=sys-apps/dbus-1.0.0
+ !sys-power/powermgmt-base
+ >=sys-apps/util-linux-2.13
+ alsa? ( media-sound/alsa-utils )
+ networkmanager? ( net-misc/networkmanager )
+ ntp? ( net-misc/ntp )
+ !ppc? (
+ !video_cards_intel? ( sys-apps/vbetool )
+ video_cards_radeon? ( app-laptop/radeontool )
+ )"
+DEPEND="!sys-power/powermgmt-base
+ app-text/xmlto"
+
+src_prepare() {
+ local ignore="01grub"
+ use networkmanager || ignore="${ignore} 55NetworkManager"
+ use ntp || ignore="${ignore} 90clock"
+
+ touch "${S}/gentoo"
+ use debug && echo 'PM_DEBUG="true"' >> "${S}/gentoo"
+ echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${S}/gentoo"
+
+ # Be a bit more future proof, bug #260943
+ sed "s/-Werror//" -i configure.ac || die "sed failed"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir=/usr/share/doc/${P}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO || die "dodoc failed"
+
+ insinto /etc/pm/config.d/
+ doins "${S}/gentoo" || die "doins failed"
+}