diff options
Diffstat (limited to 'gnome-extra/gnome-power-manager')
3 files changed, 94 insertions, 1 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog index 4df9ce2338d5..728fc41e43d0 100644 --- a/gnome-extra/gnome-power-manager/ChangeLog +++ b/gnome-extra/gnome-power-manager/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/gnome-power-manager # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.36 2007/01/30 06:46:01 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.37 2007/01/30 07:10:04 compnerd Exp $ + +*gnome-power-manager-2.16.3 (30 Jan 2007) + + 30 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org> + +gnome-power-manager-2.16.3.ebuild: + Version bump from upstream 30 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org> -gnome-power-manager-2.14.3.ebuild: diff --git a/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.16.3 b/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.16.3 new file mode 100644 index 000000000000..00d544a81fce --- /dev/null +++ b/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.16.3 @@ -0,0 +1,3 @@ +MD5 7cf8b9a7543c9d77d25a2d87b9655f87 gnome-power-manager-2.16.3.tar.gz 2382038 +RMD160 97a93de5904e9c01567ba8eed6080d452ca61317 gnome-power-manager-2.16.3.tar.gz 2382038 +SHA256 2e2c5b06f6c75903e48a017f7a909ef37292ffc60a9dea4877f3c61624664126 gnome-power-manager-2.16.3.tar.gz 2382038 diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.16.3.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.16.3.ebuild new file mode 100644 index 000000000000..5d4283f791cd --- /dev/null +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.16.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.16.3.ebuild,v 1.1 2007/01/30 07:10:05 compnerd Exp $ + +GNOME_TARBALL_SUFFIX="gz" + +inherit gnome2 + +DESCRIPTION="Gnome Power Manager" +HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc libnotify" + +RDEPEND=">=dev-libs/glib-2.6.0 + >=x11-libs/gtk+-2.10.0 + >=gnome-base/libgnome-2.14.0 + >=gnome-base/libgnomeui-2.10.0 + >=sys-apps/hal-0.5.7-r1 + >=gnome-base/libglade-2.5.0 + >=x11-libs/libwnck-2.10.0 + >=x11-libs/cairo-1.0.0 + >=gnome-base/gconf-2 + || ( + >=dev-libs/dbus-glib-0.71 + ~sys-apps/dbus-0.62 + ) + libnotify? ( + >=x11-libs/libnotify-0.4.3 + >=x11-misc/notification-daemon-0.2.1 + ) + + x11-libs/libX11 + x11-libs/libXext" + +# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages +# (files under ${S}/man). +# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs. +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + >=app-text/gnome-doc-utils-0.3.2 + ~app-text/docbook-xml-dtd-4.3 + doc? ( + app-text/xmlto + app-text/docbook-sgml-utils + ~app-text/docbook-sgml-dtd-4.1 + ~app-text/docbook-xml-dtd-4.4 + ~app-text/docbook-xml-dtd-4.1.2 + )" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="$(use_enable doc docbook-docs) \ + $(use_enable libnotify) \ + --enable-actions-menu --with-dpms-ext" +} + +src_unpack() { + gnome2_src_unpack + + if use doc; then + # Actually install all html files, not just the index + sed -i -e 's:\(htmldoc_DATA = \).*:\1$(SPEC_HTML_FILES):' \ + ${S}/docs/Makefile.in + else + # Remove the docbook2man rules here since it's not handled by a proper + # parameter in configure.in. + sed -i -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' ${S}/man/Makefile.in + fi +} + +pkg_postinst() { + gnome2_pkg_postinst + + einfo "You will need the masked pam_console to be able to" + einfo "suspend/hibernate, or you will need to:" + einfo "touch /var/run/console/<USERNAME>" + einfo "after each boot" +} |