summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-08-04 04:05:41 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-08-04 04:05:41 +0000
commitd530a8d306475e4c3ef31591e76bae7153053e5a (patch)
tree74347044b3833edf4e736b3434a6587da5bb1ad7 /sys-power
parentStable for PPC (bug #327065). (diff)
downloadhistorical-d530a8d306475e4c3ef31591e76bae7153053e5a.tar.gz
historical-d530a8d306475e4c3ef31591e76bae7153053e5a.tar.bz2
historical-d530a8d306475e4c3ef31591e76bae7153053e5a.zip
Do not filter out DISABLE_DEPRECATED, do not rebuild gtk docs, use base.eclass, deps cleanup (intltool always required, gtk-doc related deps removed), use POSIX find -exec rm instead of -delete
Package-Manager: portage-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/Manifest4
-rw-r--r--sys-power/upower/upower-0.9.5.ebuild62
3 files changed, 42 insertions, 31 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog
index e94e62b4aa2a..d9ad852e769a 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.13 2010/07/30 09:43:10 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.14 2010/08/04 04:05:41 reavertm Exp $
+
+ 04 Aug 2010; Maciej Mrozowski <reavertm@gentoo.org> upower-0.9.5.ebuild:
+ Do not filter out DISABLE_DEPRECATED, do not rebuild gtk docs, use
+ base.eclass, deps cleanup (intltool always required, gtk-doc related deps
+ removed), use POSIX find -exec rm instead of -delete
30 Jul 2010; Markos Chandras <hwoarang@gentoo.org> upower-0.9.4.ebuild:
Stable on amd64 wrt bug #329623
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest
index f46aa94c1bab..90fef9648c88 100644
--- a/sys-power/upower/Manifest
+++ b/sys-power/upower/Manifest
@@ -2,6 +2,6 @@ AUX upower-0.9.4-enumerate.patch 847 RMD160 f2487429e40447f3f3216226b8cdac06bc7c
DIST upower-0.9.4.tar.bz2 468727 RMD160 4403b090e831c63e6ae3846d8ccbc1c7e8d8516c SHA1 35a25ecec2f45a0f92ef5b5f916fca37703b8fac SHA256 39dd138781b2a2d820f1a2bde4ca60dbf99e6def0e0010d4c3d3f4707954a57c
DIST upower-0.9.5.tar.bz2 473750 RMD160 0d6c84046230b17ee63428df1b103474d920ef93 SHA1 5a4763bcbdf0dae1868f8475d9eebe6188eb89c2 SHA256 b34074a5467d442720f4b5d4cee3946fa41dea932463f5e265deb90ae0e7c7a1
EBUILD upower-0.9.4.ebuild 2060 RMD160 b3971ebd538083a7bfe6a3399e298972ece9e9f0 SHA1 81e99e1b748a62d82a082c47960bf8d0b2dff4f5 SHA256 668d7cd0ac49ad385cc5ab0b96502bb381ebc5baf841ac5c546533ab89510c6b
-EBUILD upower-0.9.5.ebuild 2135 RMD160 bd3199a1b7325bdb438033a67956df7b176ca368 SHA1 5f7b11a371944044aa03f63a4edea07021695383 SHA256 49d4b80c5689121dba0dec0cb858f153da907c5d06ec96d196621d5629fc4c07
-MISC ChangeLog 2054 RMD160 01d4c3b4edd2beb1f244691a789ff69374ebd291 SHA1 225c3dccf2fce4a637e2f38f6f2eafb98fb0c992 SHA256 6f23639e00e4e7b3ef33d4e986f3446af9168794cf7442c29c93a17a8d6ecdc3
+EBUILD upower-0.9.5.ebuild 1977 RMD160 fab6e604ecb1c0f053e9b098e416aeb2b22b32ab SHA1 6b646b4a09a11f317680c0380896a8eb5a263c1f SHA256 e2ecfb73548189ba615e3071830acc4b27139b0ccfac9c6c16f19f4a1f9fc031
+MISC ChangeLog 2330 RMD160 c25f9ceabc6e099af0c83989614197287d7c9008 SHA1 2db806c89cba4741e0f513e832801a05a9d17163 SHA256 10dbcd550ec3b7caf605e763e1ba6ae373cd14fa9df3de9e45849545e803d2d4
MISC metadata.xml 363 RMD160 7210445bae10f2ddf76edaa8e7144227a03c5de1 SHA1 76f5af45c1a11584d24878ee65e6773757cfa014 SHA256 b24b22d2e371b3ee7165cd9ae1ca6fac72aee10e107c192a4e94686ba95b9093
diff --git a/sys-power/upower/upower-0.9.5.ebuild b/sys-power/upower/upower-0.9.5.ebuild
index 09133eee0084..1c3369370cba 100644
--- a/sys-power/upower/upower-0.9.5.ebuild
+++ b/sys-power/upower/upower-0.9.5.ebuild
@@ -1,9 +1,10 @@
# 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.3 2010/07/24 15:50:12 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.5.ebuild,v 1.4 2010/08/04 04:05:41 reavertm Exp $
EAPI=3
-inherit linux-info
+
+inherit linux-info base
DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics"
HOMEPAGE="http://upower.freedesktop.org/"
@@ -12,29 +13,35 @@ SRC_URI="http://upower.freedesktop.org/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~x86-fbsd"
-IUSE="debug doc nls introspection ipod kernel_FreeBSD kernel_linux"
+IUSE="debug doc introspection ipod kernel_FreeBSD kernel_linux nls"
-COMMON_DEPEND=">=dev-libs/glib-2.21.5:2
- >=sys-apps/dbus-1
+COMMON_DEPEND="
>=dev-libs/dbus-glib-0.76
+ >=dev-libs/glib-2.21.5:2
+ >=sys-apps/dbus-1
>=sys-auth/polkit-0.91
introspection? ( dev-libs/gobject-introspection )
- kernel_linux? ( >=sys-fs/udev-151[extras]
+ kernel_linux? (
+ >=sys-fs/udev-151[extras]
virtual/libusb:1
- ipod? ( >=app-pda/libimobiledevice-0.9.7 ) )
- !sys-apps/devicekit-power"
+ ipod? ( >=app-pda/libimobiledevice-0.9.7 )
+ )
+"
RDEPEND="${COMMON_DEPEND}
- kernel_linux? ( >=sys-power/pm-utils-1.4.1 )"
+ !sys-apps/devicekit-power
+ 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 )"
+ dev-libs/libxslt
+ >=dev-util/intltool-0.40.0
+ dev-util/pkgconfig
+"
RESTRICT="test" # error getting system bus
+DOCS=(AUTHORS HACKING NEWS README)
+
pkg_setup() {
if use kernel_linux; then
if use amd64 || use x86; then
@@ -45,11 +52,11 @@ pkg_setup() {
}
src_prepare() {
+ base_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() {
@@ -64,22 +71,21 @@ src_configure() {
fi
econf \
- --localstatedir="${EPREFIX}/var" \
- $(use_enable introspection) \
- --disable-dependency-tracking \
+ --disable-gtk-doc \
--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}
+ --enable-man-pages \
+ --localstatedir="${EPREFIX}/var" \
+ --with-backend=${backend} \
+ $(use_enable debug verbose-mode) \
+ $(use_enable introspection) \
+ $(use_enable nls)
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS HACKING NEWS README
+ use doc && HTML_DOCS=("${S}/doc/html/")
+
+ base_src_install
- find "${ED}" -name '*.la' -delete
+ find "${ED}" -name '*.la' -exec rm {} +
}