diff options
author | William Hubbs <williamh@gentoo.org> | 2014-12-30 07:03:59 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2014-12-30 07:03:59 +0000 |
commit | 7a0880c0ced75f938dcc1fee857a02d6e97bfd86 (patch) | |
tree | a1511b9a44eeeac255a076367b4687cb23007b76 /sys-power | |
parent | Fixed compilation with libgcrypt (bug #533424) (diff) | |
download | gentoo-2-7a0880c0ced75f938dcc1fee857a02d6e97bfd86.tar.gz gentoo-2-7a0880c0ced75f938dcc1fee857a02d6e97bfd86.tar.bz2 gentoo-2-7a0880c0ced75f938dcc1fee857a02d6e97bfd86.zip |
version bump approved by ssuominen
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/upower/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/upower/upower-0.99.2.ebuild | 80 |
2 files changed, 86 insertions, 1 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog index 6cb7998dba95..1737914d265f 100644 --- a/sys-power/upower/ChangeLog +++ b/sys-power/upower/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/upower # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.166 2014/09/26 11:41:26 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.167 2014/12/30 07:03:59 williamh Exp $ + +*upower-0.99.2 (30 Dec 2014) + + 30 Dec 2014; William Hubbs <williamh@gentoo.org> +upower-0.99.2.ebuild: + version bump approved by ssuominen 26 Sep 2014; Tobias Klausmann <klausman@gentoo.org> upower-0.99.1.ebuild: Stable on alpha, bug 523044 diff --git a/sys-power/upower/upower-0.99.2.ebuild b/sys-power/upower/upower-0.99.2.ebuild new file mode 100644 index 000000000000..f29872efe638 --- /dev/null +++ b/sys-power/upower/upower-0.99.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.2.ebuild,v 1.1 2014/12/30 07:03:59 williamh Exp $ + +EAPI=5 +inherit eutils systemd + +DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" +HOMEPAGE="http://upower.freedesktop.org/" +SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/3" # based on SONAME of libupower-glib.so +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="+introspection ios kernel_FreeBSD kernel_linux" + +RDEPEND=">=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.30 + sys-apps/dbus:= + introspection? ( dev-libs/gobject-introspection ) + kernel_linux? ( + virtual/libusb:1 + virtual/libgudev:= + virtual/udev + ios? ( + >=app-pda/libimobiledevice-1:= + >=app-pda/libplist-1:= + ) + )" +DEPEND="${RDEPEND} + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + dev-util/intltool + virtual/pkgconfig" + +QA_MULTILIB_PATHS="usr/lib/${PN}/.*" + +DOCS="AUTHORS HACKING NEWS README" + +src_prepare() { + sed -i -e '/DISABLE_DEPRECATED/d' configure || die +} + +src_configure() { + local backend myconf + + if use kernel_linux; then + backend=linux + elif use kernel_FreeBSD; then + backend=freebsd + else + backend=dummy + fi + + econf \ + --libexecdir="${EPREFIX}"/usr/lib/${PN} \ + --localstatedir="${EPREFIX}"/var \ + $(use_enable introspection) \ + --disable-static \ + ${myconf} \ + --enable-man-pages \ + --disable-tests \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --with-backend=${backend} \ + $(use_with ios idevice) \ + "$(systemd_with_utildir)" \ + "$(systemd_with_unitdir)" +} + +src_install() { + default + + # http://bugs.gentoo.org/487400 + insinto /usr/share/doc/${PF}/html/UPower + doins doc/html/* + dosym /usr/share/doc/${PF}/html/UPower /usr/share/gtk-doc/html/UPower + + keepdir /var/lib/upower #383091 + prune_libtool_files +} |