Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/pm-utils: ChangeLog pm-utils-1.2.5.ebuild
Date: Mon, 20 Apr 2009 21:25:40
Message-Id: E1Lw0zi-0007UR-92@stork.gentoo.org
1 eva 09/04/20 21:25:38
2
3 Modified: ChangeLog
4 Added: pm-utils-1.2.5.ebuild
5 Log:
6 Bump to 1.2.5. Add support for KMS.
7 (Portage version: 2.2_rc30/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.20 sys-power/pm-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 22 Mar 2009 12:34:52 -0000 1.19
23 +++ ChangeLog 20 Apr 2009 21:25:38 -0000 1.20
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-power/pm-utils
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.19 2009/03/22 12:34:52 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pm-utils/ChangeLog,v 1.20 2009/04/20 21:25:38 eva Exp $
29 +
30 +*pm-utils-1.2.5 (20 Apr 2009)
31 +
32 + 20 Apr 2009; Gilles Dartiguelongue <eva@g.o>
33 + +pm-utils-1.2.5.ebuild:
34 + Bump to 1.2.5. Add support for KMS.
35
36 22 Mar 2009; Gilles Dartiguelongue <eva@g.o> pm-utils-1.2.4.ebuild:
37 Remove -Werror from configure, bug #260943.
38
39
40
41 1.1 sys-power/pm-utils/pm-utils-1.2.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/pm-utils-1.2.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pm-utils/pm-utils-1.2.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pm-utils-1.2.5.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 EAPI="2"
53
54 inherit autotools eutils
55
56 DESCRIPTION="Suspend and hibernation utilties for HAL"
57 HOMEPAGE="http://pm-utils.freedesktop.org/"
58 SRC_URI="http://pm-utils.freedesktop.org/releases/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="alsa debug networkmanager ntp video_cards_intel video_cards_radeon"
64
65 RDEPEND=">=sys-apps/hal-0.5.10
66 >=sys-apps/dbus-1.0.0
67 !sys-power/powermgmt-base
68 >=sys-apps/util-linux-2.13
69 alsa? ( media-sound/alsa-utils )
70 networkmanager? ( net-misc/networkmanager )
71 ntp? ( net-misc/ntp )
72 !ppc? (
73 !video_cards_intel? ( sys-apps/vbetool )
74 video_cards_radeon? ( app-laptop/radeontool )
75 )"
76 DEPEND="!sys-power/powermgmt-base
77 app-text/xmlto"
78
79 src_prepare() {
80 local ignore="01grub"
81 use networkmanager || ignore="${ignore} 55NetworkManager"
82 use ntp || ignore="${ignore} 90clock"
83
84 touch "${S}/gentoo"
85 use debug && echo 'PM_DEBUG="true"' >> "${S}/gentoo"
86 echo "HOOK_BLACKLIST=\"${ignore}\"" >> "${S}/gentoo"
87
88 # Be a bit more future proof, bug #260943
89 sed "s/-Werror//" -i configure.ac || die "sed failed"
90
91 eautoreconf
92 }
93
94 src_configure() {
95 econf --docdir=/usr/share/doc/${P}
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "emake install failed"
100
101 dodoc AUTHORS ChangeLog NEWS README* TODO || die "dodoc failed"
102
103 insinto /etc/pm/config.d/
104 doins "${S}/gentoo" || die "doins failed"
105 }