diff options
author | Alex Alexander <wired@gentoo.org> | 2009-07-22 23:15:17 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2009-07-22 23:15:17 +0000 |
commit | f6056d286494c8b4816041e543feb4c033688d32 (patch) | |
tree | 445452e2e0fe84aa2af46798a679dcf6f7458891 /sys-power | |
parent | stable amd64/sparc, bug 278523 (diff) | |
download | gentoo-2-f6056d286494c8b4816041e543feb4c033688d32.tar.gz gentoo-2-f6056d286494c8b4816041e543feb4c033688d32.tar.bz2 gentoo-2-f6056d286494c8b4816041e543feb4c033688d32.zip |
ebuild from kde-testing overlay for guidance-power-manager 4.2.4
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/guidance-power-manager/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/guidance-power-manager/guidance-power-manager-4.2.4.ebuild | 50 | ||||
-rw-r--r-- | sys-power/guidance-power-manager/metadata.xml | 6 |
3 files changed, 66 insertions, 0 deletions
diff --git a/sys-power/guidance-power-manager/ChangeLog b/sys-power/guidance-power-manager/ChangeLog new file mode 100644 index 000000000000..2e9df4d158d9 --- /dev/null +++ b/sys-power/guidance-power-manager/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-power/guidance-power-manager +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/guidance-power-manager/ChangeLog,v 1.1 2009/07/22 23:15:17 wired Exp $ + +*guidance-power-manager-4.2.4 (22 Jul 2009) + + 22 Jul 2009; Alex Alexander <wired@gentoo.org> + +guidance-power-manager-4.2.4.ebuild, +metadata.xml: + ebuild from kde-testing overlay for guidance-power-manager 4.2.4 + diff --git a/sys-power/guidance-power-manager/guidance-power-manager-4.2.4.ebuild b/sys-power/guidance-power-manager/guidance-power-manager-4.2.4.ebuild new file mode 100644 index 000000000000..eac4ba958832 --- /dev/null +++ b/sys-power/guidance-power-manager/guidance-power-manager-4.2.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/guidance-power-manager/guidance-power-manager-4.2.4.ebuild,v 1.1 2009/07/22 23:15:17 wired Exp $ + +EAPI="2" + +KDE_LINGUAS="cs de el en_GB es et fr ga gl it km ko lt lv ml nb nds nl nn pa pl + pt pt_BR ro ru sv tr uk zh_CN zh_TW" + +inherit python kde4-base + +DESCRIPTION="KDE Power Manager control module" +HOMEPAGE="http://www.kde.org" +SRC_URI="mirror://kde/stable/${PV}/src/extragear/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="" + +RDEPEND=" + dev-python/dbus-python + >=kde-base/pykde4-${KDE_MINIMAL} +" +DEPEND="${RDEPEND} + virtual/libintl +" + +src_prepare() { + sed -e 's|PYKDE|PYKDE4|g' \ + -e 's|PyKDE|PyKDE4|g' \ + -i CMakeLists.txt || die "failed to fix broken PyKDE4 checks" + + kde4-base_src_prepare +} + +pkg_postinst() { + kde4-base_pkg_postinst + + python_version + python_mod_compile "/usr/$(get_libdir)/python${PYVER}"/site-packages/xf86misc.py + python_mod_optimize "${PREFIX}"/share/apps/"${PN}" +} + +pkg_postrm() { + kde4-base_pkg_postrm + + python_mod_cleanup + python_mod_cleanup "${PREFIX}"/share/apps/"${PN}" +} diff --git a/sys-power/guidance-power-manager/metadata.xml b/sys-power/guidance-power-manager/metadata.xml new file mode 100644 index 000000000000..6222792776c2 --- /dev/null +++ b/sys-power/guidance-power-manager/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</pkgmetadata> + |