summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-05-10 22:09:39 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-05-10 22:09:39 +0000
commitbbf817d33c232022225682c9dbf7f4dba7d2f1ea (patch)
treec422400b9fa30fc73ded6dc005ae17986ed89815 /sys-power/upower
parentCVE-2010-1000 (diff)
downloadgentoo-2-bbf817d33c232022225682c9dbf7f4dba7d2f1ea.tar.gz
gentoo-2-bbf817d33c232022225682c9dbf7f4dba7d2f1ea.tar.bz2
gentoo-2-bbf817d33c232022225682c9dbf7f4dba7d2f1ea.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/upower')
-rw-r--r--sys-power/upower/ChangeLog7
-rw-r--r--sys-power/upower/upower-0.9.3.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog
index 2496971d076f..96c748e19d2e 100644
--- a/sys-power/upower/ChangeLog
+++ b/sys-power/upower/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2010/04/17 11:37:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.4 2010/05/10 22:09:39 ssuominen Exp $
+
+*upower-0.9.3 (10 May 2010)
+
+ 10 May 2010; Samuli Suominen <ssuominen@gentoo.org> +upower-0.9.3.ebuild:
+ Version bump.
17 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> upower-0.9.2.ebuild:
Raise pm-utils depend to 1.3.0-r2 for on_ac_power support wrt #315663.
diff --git a/sys-power/upower/upower-0.9.3.ebuild b/sys-power/upower/upower-0.9.3.ebuild
new file mode 100644
index 000000000000..c25badbf1d92
--- /dev/null
+++ b/sys-power/upower/upower-0.9.3.ebuild
@@ -0,0 +1,78 @@
+# 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.3.ebuild,v 1.1 2010/05/10 22:09:39 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/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+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}
+ kernel_linux? ( >=sys-power/pm-utils-1.3.0-r2 )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ 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="${EPREFIX}/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 "${ED}" -name '*.la' -delete
+}