diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-11-23 07:40:53 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-11-23 07:40:53 +0000 |
commit | aff95be0904677fda6d16ebf5d505d19902413c6 (patch) | |
tree | 2183a745740dc893b986bb4b1b9f258b63b4e78e /gnome-extra/gnome-power-manager | |
parent | Die on sed or dobin failure. (diff) | |
download | gentoo-2-aff95be0904677fda6d16ebf5d505d19902413c6.tar.gz gentoo-2-aff95be0904677fda6d16ebf5d505d19902413c6.tar.bz2 gentoo-2-aff95be0904677fda6d16ebf5d505d19902413c6.zip |
version bump from upstream
(Portage version: 2.1.3.16)
Diffstat (limited to 'gnome-extra/gnome-power-manager')
3 files changed, 97 insertions, 1 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog index 04d3d15b44dc..578753a00e60 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.75 2007/11/22 15:11:54 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.76 2007/11/23 07:40:53 compnerd Exp $ + +*gnome-power-manager-2.20.1 (23 Nov 2007) + + 23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org> + +gnome-power-manager-2.20.1.ebuild: + Version bump from upstream 22 Nov 2007; Raúl Porcel <armin76@gentoo.org> gnome-power-manager-2.20.0-r1.ebuild: diff --git a/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.20.1 b/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.20.1 new file mode 100644 index 000000000000..e0768dc52073 --- /dev/null +++ b/gnome-extra/gnome-power-manager/files/digest-gnome-power-manager-2.20.1 @@ -0,0 +1,3 @@ +MD5 6bf1bd7fba0ab8362d6ae1919dd7a732 gnome-power-manager-2.20.1.tar.bz2 2592825 +RMD160 1ce9ff026cbadd8ab7473ca3f328e1210fb99d05 gnome-power-manager-2.20.1.tar.bz2 2592825 +SHA256 49b9bd62e521f08eae5cf1eb8fa4b1c7440ddfb664e16833af5fd13b97bc7d80 gnome-power-manager-2.20.1.tar.bz2 2592825 diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.1.ebuild new file mode 100644 index 000000000000..f7ebb8ec929a --- /dev/null +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.1.ebuild @@ -0,0 +1,87 @@ +# 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.20.1.ebuild,v 1.1 2007/11/23 07:40:53 compnerd Exp $ + +inherit gnome2 eutils virtualx + +DESCRIPTION="Gnome Power Manager" +HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-libs/glib-2.6.0 + >=x11-libs/gtk+-2.11.0 + >=gnome-base/gnome-keyring-0.6.0 + >=gnome-base/libgnome-2.14.0 + >=gnome-base/libgnomeui-2.14.0 + >=sys-apps/hal-0.5.10 + >=dev-libs/dbus-glib-0.71 + >=gnome-base/libglade-2.5.0 + >=x11-libs/libnotify-0.4.3 + >=x11-libs/libwnck-2.10.0 + >=x11-libs/cairo-1.0.0 + >=gnome-base/gnome-panel-2 + >=gnome-base/gconf-2 + =media-libs/gstreamer-0.10* + x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND} + sys-devel/gettext + ~app-text/docbook-xml-dtd-4.3 + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + >=app-text/gnome-doc-utils-0.3.2 + doc? ( + app-text/xmlto + app-text/docbook-sgml-utils + ~app-text/docbook-xml-dtd-4.4 + ~app-text/docbook-sgml-dtd-4.1 + ~app-text/docbook-xml-dtd-4.1.2 + )" + +# 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. + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +pkg_setup() { + G2CONF="$(use_enable doc docbook-docs) \ + --with-dpms-ext --disable-policykit \ + --enable-xevents --enable-applets" +} + +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 + + # glibc splits this out, whereas other libc's do not tend to + use elibc_glibc || sed -i -e 's/-lresolv//' configure +} + +src_test() { + Xmake check || die "Test phase failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + + if [[ $(portageq has_version / 'sys-libs/pam') ]] ; then + 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" + fi +} |