diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2009-03-23 21:54:05 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2009-03-23 21:54:05 +0000 |
commit | 421227f12f2cd02e5eeb1adea69c5516c80d9dd6 (patch) | |
tree | aef42bd0226bcaa4c9db425725d8137f4305160c /sys-power | |
parent | Not using this anymore. (diff) | |
download | gentoo-2-421227f12f2cd02e5eeb1adea69c5516c80d9dd6.tar.gz gentoo-2-421227f12f2cd02e5eeb1adea69c5516c80d9dd6.tar.bz2 gentoo-2-421227f12f2cd02e5eeb1adea69c5516c80d9dd6.zip |
Apply Debian's 05-battery_rescan.patch thanks to Ottxor <kleiner_otti@gmx.de> in bug 253776
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/kpowersave/ChangeLog | 11 | ||||
-rw-r--r-- | sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild | 41 |
2 files changed, 50 insertions, 2 deletions
diff --git a/sys-power/kpowersave/ChangeLog b/sys-power/kpowersave/ChangeLog index d62878b5d49b..1d3acfc7f909 100644 --- a/sys-power/kpowersave/ChangeLog +++ b/sys-power/kpowersave/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-power/kpowersave -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/ChangeLog,v 1.23 2008/11/12 04:07:54 josejx Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/ChangeLog,v 1.24 2009/03/23 21:54:05 genstef Exp $ + +*kpowersave-0.7.3-r1 (23 Mar 2009) + + 23 Mar 2009; Stefan Schweizer <genstef@gentoo.org> + +kpowersave-0.7.3-r1.ebuild: + Apply Debian's 05-battery_rescan.patch thanks to Ottxor + <kleiner_otti@gmx.de> in bug 253776 12 Nov 2008; Joseph Jezak <josejx@gentoo.org> kpowersave-0.7.3.ebuild: Marked ~ppc for bug #200266. diff --git a/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild b/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild new file mode 100644 index 000000000000..036d7e73d4c3 --- /dev/null +++ b/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/kpowersave-0.7.3-r1.ebuild,v 1.1 2009/03/23 21:54:05 genstef Exp $ + +inherit kde eutils + +PATCH_LEVEL=3 + +DESCRIPTION="KDE front-end to powersave daemon" +HOMEPAGE="http://powersave.sf.net/" +SRC_URI="mirror://sourceforge/powersave/${P}.tar.bz2 + mirror://gentoo/kde-admindir-3.5.5.tar.bz2 + mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-${PATCH_LEVEL}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=">=sys-apps/hal-0.5.4 + dev-libs/dbus-qt3-old + x11-libs/libXScrnSaver + x11-libs/libXext + x11-libs/libXtst + >=kde-base/kdelibs-3" +DEPEND="${RDEPEND}" + +need-kde 3.5.7 + +src_unpack() { + unpack ${A} + rm -rf "${S}/admin" "${S}/configure" + ln -s "${WORKDIR}/admin" "${S}/admin" + epatch "${WORKDIR}/${P/-/_}-${PATCH_LEVEL}.diff" + epatch "${S}/debian/patches/05-battery_rescan.patch" +} + +pkg_postinst() { + einfo "Making sure that config directory is readable" + einfo "chmod 755 ${ROOT}/usr/share/config" + chmod 755 "${ROOT}/usr/share/config" +} |