diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-11 08:35:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-11 08:35:49 +0000 |
commit | 7f219311524216cc77cf3a72cb8004179cd80e4f (patch) | |
tree | 578846b5cf0bb6fc470e78c2b4d5fd03c4ada131 /sys-power | |
parent | Bug #318389: check for each examples directory before trying to use it. Also ... (diff) | |
download | gentoo-2-7f219311524216cc77cf3a72cb8004179cd80e4f.tar.gz gentoo-2-7f219311524216cc77cf3a72cb8004179cd80e4f.tar.bz2 gentoo-2-7f219311524216cc77cf3a72cb8004179cd80e4f.zip |
gobject-introspection support wrt #319105 by Priit Laes.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/upower/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/upower/metadata.xml | 3 | ||||
-rw-r--r-- | sys-power/upower/upower-0.9.2.ebuild | 78 | ||||
-rw-r--r-- | sys-power/upower/upower-0.9.3-r1.ebuild (renamed from sys-power/upower/upower-0.9.3.ebuild) | 6 |
4 files changed, 14 insertions, 81 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog index 96c748e19d2e..b5af0a7af4ff 100644 --- a/sys-power/upower/ChangeLog +++ b/sys-power/upower/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2010/05/10 22:09:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.5 2010/05/11 08:35:49 ssuominen Exp $ + +*upower-0.9.3-r1 (11 May 2010) + + 11 May 2010; Samuli Suominen <ssuominen@gentoo.org> + +upower-0.9.3-r1.ebuild, metadata.xml: + gobject-introspection support wrt #319105 by Priit Laes. *upower-0.9.3 (10 May 2010) diff --git a/sys-power/upower/metadata.xml b/sys-power/upower/metadata.xml index 9879e83b822e..1d2462d712ff 100644 --- a/sys-power/upower/metadata.xml +++ b/sys-power/upower/metadata.xml @@ -5,4 +5,7 @@ <maintainer> <email>freedesktop-bugs@gentoo.org</email> </maintainer> + <use> + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> + </use> </pkgmetadata> diff --git a/sys-power/upower/upower-0.9.2.ebuild b/sys-power/upower/upower-0.9.2.ebuild deleted file mode 100644 index 756d1d5fca29..000000000000 --- a/sys-power/upower/upower-0.9.2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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.6 2010/04/17 11:37:26 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 -} diff --git a/sys-power/upower/upower-0.9.3.ebuild b/sys-power/upower/upower-0.9.3-r1.ebuild index c25badbf1d92..5510175caaa9 100644 --- a/sys-power/upower/upower-0.9.3.ebuild +++ b/sys-power/upower/upower-0.9.3-r1.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.3-r1.ebuild,v 1.1 2010/05/11 08:35:49 ssuominen Exp $ EAPI=3 inherit linux-info @@ -12,12 +12,13 @@ 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" +IUSE="debug doc nls introspection 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 + introspection? ( dev-libs/gobject-introspection ) kernel_linux? ( >=sys-fs/udev-151[extras] virtual/libusb:0 ) !sys-apps/devicekit-power" @@ -59,6 +60,7 @@ src_configure() { econf \ --localstatedir="${EPREFIX}/var" \ + $(use_enable introspection) \ --disable-dependency-tracking \ --disable-static \ $(use_enable debug verbose-mode) \ |