summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2015-02-16 17:06:48 +0000
committerSven Vermeulen <swift@gentoo.org>2015-02-16 17:06:48 +0000
commit8d10222c43ca43176f6911fd65535414d9b35432 (patch)
tree51e9f0143b9f4f73f1dd5de131ae8fefc40040a6 /sys-power/upower
parentremove old luajit mask; mask some old, unavailable games for removal. (diff)
downloadgentoo-2-8d10222c43ca43176f6911fd65535414d9b35432.tar.gz
gentoo-2-8d10222c43ca43176f6911fd65535414d9b35432.tar.bz2
gentoo-2-8d10222c43ca43176f6911fd65535414d9b35432.zip
Fix bug #530198 (add selinux-devicekit dependency with USE="selinux")
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
Diffstat (limited to 'sys-power/upower')
-rw-r--r--sys-power/upower/ChangeLog7
-rw-r--r--sys-power/upower/upower-0.99.2-r1.ebuild84
2 files changed, 90 insertions, 1 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog
index 1353850a94cb..7be8dedfc2e8 100644
--- a/sys-power/upower/ChangeLog
+++ b/sys-power/upower/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/upower
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.168 2015/01/16 08:56:13 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.169 2015/02/16 17:06:48 swift Exp $
+
+*upower-0.99.2-r1 (16 Feb 2015)
+
+ 16 Feb 2015; Sven Vermeulen <swift@gentoo.org> +upower-0.99.2-r1.ebuild:
+ Fix bug #530198 (add selinux-devicekit dependency with USE="selinux")
16 Jan 2015; Raúl Porcel <armin76@gentoo.org> upower-0.99.1.ebuild:
ia64//sparc stable wrt #523044
diff --git a/sys-power/upower/upower-0.99.2-r1.ebuild b/sys-power/upower/upower-0.99.2-r1.ebuild
new file mode 100644
index 000000000000..8930d19fcd30
--- /dev/null
+++ b/sys-power/upower/upower-0.99.2-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2015 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-r1.ebuild,v 1.1 2015/02/16 17:06:48 swift 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 selinux"
+
+COMMON_DEPS=">=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:=
+ )
+ )"
+RDEPEND="
+ ${COMMON_DEPS}
+ selinux? ( sec-policy/selinux-devicekit )
+"
+DEPEND="${COMMON_DEPS}
+ 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
+}