summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xfce-extra/xfce4-power-manager/Manifest12
-rw-r--r--xfce-extra/xfce4-power-manager/metadata.xml5
-rw-r--r--xfce-extra/xfce4-power-manager/xfce4-power-manager-9999.ebuild54
3 files changed, 71 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-power-manager/Manifest b/xfce-extra/xfce4-power-manager/Manifest
new file mode 100644
index 0000000..e46cc0c
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/Manifest
@@ -0,0 +1,12 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD xfce4-power-manager-9999.ebuild 1494 RMD160 2cfb157515d5620fd36f65e6c7a29ef61d246136 SHA1 f5c5098ebbe6b05cd81141805f839f78e098a6d5 SHA256 25f254575700341b38b5dd0eb9e0931996cc47857add5349415da882137ee25e
+MISC metadata.xml 159 RMD160 43722935bd7b4db7fe8db681054f2e53c4a5f7ce SHA1 15958ad72e234ba572c9534533c21532eb6bc0fd SHA256 900ea49b6703fce452e205b85226bf1f994725963e5840da501182e7487d0e63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iF4EAREIAAYFAk7uRUcACgkQmWq1bYTyC0MBmgD9HZhx/WvzptfmFz/Rd7l2/DUw
+cnpqyqrN6dSx9ONfPWIA/RvI9D4xEDV4lL7uCgedkUiTOhJLcF3q1UM9QH3ziW7D
+=dlwv
+-----END PGP SIGNATURE-----
diff --git a/xfce-extra/xfce4-power-manager/metadata.xml b/xfce-extra/xfce4-power-manager/metadata.xml
new file mode 100644
index 0000000..d56729e
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>xfce</herd>
+</pkgmetadata>
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-9999.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-9999.ebuild
new file mode 100644
index 0000000..5b56786
--- /dev/null
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.0.10.ebuild,v 1.5 2011/05/19 20:06:06 ssuominen Exp $
+
+EAPI=4
+inherit flag-o-matic xfconf
+
+DESCRIPTION="Power manager for the Xfce desktop environment"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/xfce4-power-manager"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug kernel_linux networkmanager policykit +xfce_plugins_brightness"
+
+COMMON_DEPEND=">=x11-libs/gtk+-2.18:2
+ >=dev-libs/glib-2.16:2
+ >=dev-libs/dbus-glib-0.88
+ >=xfce-base/xfconf-4.8
+ >=xfce-base/libxfce4ui-4.8
+ >=xfce-base/libxfce4util-4.8
+ >=x11-libs/libnotify-0.4.5
+ >=x11-libs/libXrandr-1.2
+ x11-libs/libX11
+ x11-libs/libXext
+ sys-power/upower
+ kernel_linux? ( sys-fs/udisks )
+ xfce_plugins_brightness? ( >=xfce-base/xfce4-panel-4.8 )
+ policykit? ( >=sys-auth/polkit-0.91 )"
+RDEPEND="${COMMON_DEPEND}
+ networkmanager? ( net-misc/networkmanager )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool
+ sys-devel/gettext
+ x11-proto/xproto"
+
+pkg_setup() {
+ XFCONF=(
+ $(use_enable policykit polkit)
+ --enable-dpms
+ $(use_enable networkmanager network-manager)
+ $(use_enable xfce_plugins_brightness panel-plugins)
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS README TODO )
+}
+
+src_install() {
+ xfconf_src_install \
+ docdir=/usr/share/doc/${PF}/html \
+ imagesdir=/usr/share/doc/${PF}/html/images
+}