diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-07 08:38:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-07 08:38:52 +0000 |
commit | c07385135f677e63889c9f659bb26dcd07452f0d (patch) | |
tree | a51c6ee94b42ed3def1d5d60d7b6097f1c62d1db /sys-power | |
parent | Version bump (diff) | |
download | historical-c07385135f677e63889c9f659bb26dcd07452f0d.tar.gz historical-c07385135f677e63889c9f659bb26dcd07452f0d.tar.bz2 historical-c07385135f677e63889c9f659bb26dcd07452f0d.zip |
Initial commit wrt #303701 by Marc-Antoine Perennou.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/upower/ChangeLog | 9 | ||||
-rw-r--r-- | sys-power/upower/Manifest | 4 | ||||
-rw-r--r-- | sys-power/upower/metadata.xml | 8 | ||||
-rw-r--r-- | sys-power/upower/upower-0.9.2.ebuild | 79 |
4 files changed, 100 insertions, 0 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog new file mode 100644 index 000000000000..f9301d069de6 --- /dev/null +++ b/sys-power/upower/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sys-power/upower +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.1 2010/04/07 08:38:52 ssuominen Exp $ + +*upower-0.9.2 (07 Apr 2010) + + 07 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> +upower-0.9.2.ebuild: + Initial commit wrt #303701 by Marc-Antoine Perennou. + diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest new file mode 100644 index 000000000000..8416fed53f8f --- /dev/null +++ b/sys-power/upower/Manifest @@ -0,0 +1,4 @@ +DIST upower-0.9.2.tar.bz2 467544 RMD160 2ae3639c42e292fd2f879f0748f32614eb3691e0 SHA1 7f6daa167eee3a2e1d74322c15c5b2f93213563e SHA256 4a0532fbda7afee29984f7b96b3b3114c68b0525278beb10c98ef287ca5a8377 +EBUILD upower-0.9.2.ebuild 1858 RMD160 7587a7a33c53e270c558707a952b861e310f41c4 SHA1 60a60a18b03dd7d25de3bab77fea7f5cf1e49db6 SHA256 3de53bfa517ce665cffba16ac0b47d756ce5bae24c756b2515f29ba02bc9f4cc +MISC ChangeLog 369 RMD160 968ab3512e83927a9a99ee445a730e2253b7331f SHA1 dd991d7ce9d7fcbb2c26884c9e5d2f250900447f SHA256 cfa6a7dbf02022d5e34a2d072429080125d4026fc4f1b6e9a3f847ceccb466b0 +MISC metadata.xml 244 RMD160 244bfcdb5c3c5eab051189d8adf5e572866b8c64 SHA1 580ce8a447f3237ea98b1d289b440bc89245e89b SHA256 552982cb042dce6d0051aef928f3cca7553e6d7327e0556f97f9e6e52e651b6c diff --git a/sys-power/upower/metadata.xml b/sys-power/upower/metadata.xml new file mode 100644 index 000000000000..9879e83b822e --- /dev/null +++ b/sys-power/upower/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>freedesktop</herd> + <maintainer> + <email>freedesktop-bugs@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/sys-power/upower/upower-0.9.2.ebuild b/sys-power/upower/upower-0.9.2.ebuild new file mode 100644 index 000000000000..9dfa9bec61f9 --- /dev/null +++ b/sys-power/upower/upower-0.9.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.2.ebuild,v 1.1 2010/04/07 08:38:52 ssuominen Exp $ + +EAPI=3 +inherit linux-info + +DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" +HOMEPAGE="http://upower.freedesktop.org/" +SRC_URI="http://upower.freedesktop.org/releases/upower-0.9.2.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc nls kernel_FreeBSD kernel_linux test" + +COMMON_DEPEND=">=dev-libs/glib-2.21.5:2 + >=sys-apps/dbus-1 + >=dev-libs/dbus-glib-0.76 + >=sys-auth/polkit-0.91 + kernel_linux? ( >=sys-fs/udev-151[extras] + virtual/libusb:0 ) + !sys-apps/devicekit-power" +RDEPEND="${COMMON_DEPEND} + >=sys-power/pm-utils-1.3.0" +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + dev-util/gtk-doc-am + doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.1.2 ) + nls? ( >=dev-util/intltool-0.40.0 )" + +pkg_setup() { + if use kernel_linux; then + if use amd64 || use x86; then + CONFIG_CHECK="~ACPI_SYSFS_POWER" + linux-info_pkg_setup + fi + fi +} + +src_prepare() { + sed -i \ + -e '/DISABLE_DEPRECATED/d' \ + configure || die +} + +src_configure() { + local backend + + if use kernel_linux; then + backend=linux + elif use kernel_FreeBSD; then + backend=freebsd + else + backend=dummy + fi + + econf \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --disable-static \ + $(use_enable debug verbose-mode) \ + --enable-man-pages \ + $(use_enable doc gtk-doc) \ + $(use_enable test tests) \ + $(use_enable nls) \ + --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \ + --with-backend=${backend} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS HACKING NEWS README + + find "${D}" -name '*.la' -delete +} |