summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-21 11:30:45 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-21 11:30:45 +0000
commit947caad5a04ca0806acfd92eb5e6562c993b3c2f (patch)
treef99bbaf12ad1be622df54a01bb8cbd9c57f043f2 /sys-power
parentRemoved no longer needed patches. Now xulrunner-1.9.2.7 should hoepfully pass... (diff)
downloadgentoo-2-947caad5a04ca0806acfd92eb5e6562c993b3c2f.tar.gz
gentoo-2-947caad5a04ca0806acfd92eb5e6562c993b3c2f.tar.bz2
gentoo-2-947caad5a04ca0806acfd92eb5e6562c993b3c2f.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/upower/ChangeLog7
-rw-r--r--sys-power/upower/upower-0.9.5.ebuild85
2 files changed, 91 insertions, 1 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog
index 74778fc98e11..5b71e70c15b6 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.8 2010/07/06 07:55:05 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.9 2010/07/21 11:30:45 ssuominen Exp $
+
+*upower-0.9.5 (21 Jul 2010)
+
+ 21 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +upower-0.9.5.ebuild:
+ Version bump.
06 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> upower-0.9.4.ebuild:
Keyword ~ppc64 wrt #323823. Disable testsuite because it needs running
diff --git a/sys-power/upower/upower-0.9.5.ebuild b/sys-power/upower/upower-0.9.5.ebuild
new file mode 100644
index 000000000000..8221abe1ce4f
--- /dev/null
+++ b/sys-power/upower/upower-0.9.5.ebuild
@@ -0,0 +1,85 @@
+# 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.5.ebuild,v 1.1 2010/07/21 11:30:45 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 introspection ipod kernel_FreeBSD kernel_linux"
+
+COMMON_DEPEND=">=dev-libs/glib-2.21.5:2
+ >=sys-apps/dbus-1
+ >=dev-libs/dbus-glib-0.76
+ >=sys-auth/polkit-0.91
+ introspection? ( dev-libs/gobject-introspection )
+ kernel_linux? ( >=sys-fs/udev-151[extras]
+ virtual/libusb:1
+ ipod? ( >=app-pda/libimobiledevice-0.9.7 ) )
+ !sys-apps/devicekit-power"
+RDEPEND="${COMMON_DEPEND}
+ kernel_linux? ( >=sys-power/pm-utils-1.4.1 )"
+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 )"
+
+RESTRICT="test" # error getting system bus
+
+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() {
+ if ! use ipod; then
+ sed -i -e 's:libimobiledevice:dIsAbLe&:' configure || die
+ fi
+
+ 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" \
+ $(use_enable introspection) \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(use_enable debug verbose-mode) \
+ --enable-man-pages \
+ $(use_enable doc gtk-doc) \
+ --disable-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
+}