diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-08-04 06:03:53 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-08-04 06:03:53 +0000 |
commit | 3d8522d62dc4af50dc2b54e7e8fc46957075d62b (patch) | |
tree | 4178004d0cacd8adbe3cd8995c85350d5958293c /sys-power | |
parent | Do not filter out DISABLE_DEPRECATED, do not rebuild gtk docs, use base.eclas... (diff) | |
download | gentoo-2-3d8522d62dc4af50dc2b54e7e8fc46957075d62b.tar.gz gentoo-2-3d8522d62dc4af50dc2b54e7e8fc46957075d62b.tar.bz2 gentoo-2-3d8522d62dc4af50dc2b54e7e8fc46957075d62b.zip |
Restore ebuild maintainbility, econf is sorted per upstream ./configure, base.eclass is not useful here either, DISABLE flags equal -Werror and no explanation was provided why we should enable them here... overall, revert previous commit
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/upower/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/upower/upower-0.9.5.ebuild | 62 |
2 files changed, 29 insertions, 40 deletions
diff --git a/sys-power/upower/ChangeLog b/sys-power/upower/ChangeLog index d9ad852e769a..08b272e24715 100644 --- a/sys-power/upower/ChangeLog +++ b/sys-power/upower/ChangeLog @@ -1,11 +1,6 @@ # 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.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 +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.15 2010/08/04 06:03:53 ssuominen Exp $ 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/upower-0.9.5.ebuild b/sys-power/upower/upower-0.9.5.ebuild index 1c3369370cba..3924a3001350 100644 --- a/sys-power/upower/upower-0.9.5.ebuild +++ b/sys-power/upower/upower-0.9.5.ebuild @@ -1,10 +1,9 @@ # 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.4 2010/08/04 04:05:41 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.5.ebuild,v 1.5 2010/08/04 06:03:53 ssuominen Exp $ EAPI=3 - -inherit linux-info base +inherit linux-info DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" HOMEPAGE="http://upower.freedesktop.org/" @@ -13,35 +12,29 @@ 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 introspection ipod kernel_FreeBSD kernel_linux nls" +IUSE="debug doc nls introspection ipod kernel_FreeBSD kernel_linux" -COMMON_DEPEND=" - >=dev-libs/dbus-glib-0.76 - >=dev-libs/glib-2.21.5:2 +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] + kernel_linux? ( >=sys-fs/udev-151[extras] virtual/libusb:1 - ipod? ( >=app-pda/libimobiledevice-0.9.7 ) - ) -" + ipod? ( >=app-pda/libimobiledevice-0.9.7 ) ) + !sys-apps/devicekit-power" RDEPEND="${COMMON_DEPEND} - !sys-apps/devicekit-power - kernel_linux? ( >=sys-power/pm-utils-1.4.1 ) -" + kernel_linux? ( >=sys-power/pm-utils-1.4.1 )" DEPEND="${COMMON_DEPEND} - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - >=dev-util/intltool-0.40.0 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 -DOCS=(AUTHORS HACKING NEWS README) - pkg_setup() { if use kernel_linux; then if use amd64 || use x86; then @@ -52,11 +45,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() { @@ -71,21 +64,22 @@ src_configure() { fi econf \ - --disable-gtk-doc \ - --disable-static \ - --disable-tests \ - --enable-man-pages \ --localstatedir="${EPREFIX}/var" \ - --with-backend=${backend} \ - $(use_enable debug verbose-mode) \ $(use_enable introspection) \ - $(use_enable nls) + --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() { - use doc && HTML_DOCS=("${S}/doc/html/") - - base_src_install + emake DESTDIR="${D}" install || die + dodoc AUTHORS HACKING NEWS README - find "${ED}" -name '*.la' -exec rm {} + + find "${ED}" -name '*.la' -delete } |