Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/upower: upower-0.99.3.ebuild ChangeLog upower-0.99.2.ebuild upower-0.99.0-r1.ebuild
Date: Sat, 04 Jul 2015 17:14:55
Message-Id: 20150704171447.D4B2E74A@oystercatcher.gentoo.org
1 pacho 15/07/04 17:14:47
2
3 Modified: ChangeLog
4 Added: upower-0.99.3.ebuild
5 Removed: upower-0.99.2.ebuild upower-0.99.0-r1.ebuild
6 Log:
7 Version bump, gtk-doc files need to be built and were installed in unproper location
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.180 sys-power/upower/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.180&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?rev=1.180&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/ChangeLog?r1=1.179&r2=1.180
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v
21 retrieving revision 1.179
22 retrieving revision 1.180
23 diff -u -r1.179 -r1.180
24 --- ChangeLog 3 Jul 2015 10:10:00 -0000 1.179
25 +++ ChangeLog 4 Jul 2015 17:14:47 -0000 1.180
26 @@ -1,6 +1,17 @@
27 # ChangeLog for sys-power/upower
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.179 2015/07/03 10:10:00 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/ChangeLog,v 1.180 2015/07/04 17:14:47 pacho Exp $
31 +
32 +*upower-0.99.3 (04 Jul 2015)
33 +
34 + 04 Jul 2015; Pacho Ramos <pacho@g.o> +upower-0.99.3.ebuild,
35 + -files/upower-0.99.0-create-dir-runtime.patch,
36 + -files/upower-0.99.0-fix-segfault.patch,
37 + -files/upower-0.99.0-fix-shutdown-on-boot.patch,
38 + -files/upower-0.99.0-fix-typing-error.patch, -upower-0.99.0-r1.ebuild,
39 + -upower-0.99.2.ebuild:
40 + Version bump, gtk-doc files need to be built and were installed in unproper
41 + location
42
43 03 Jul 2015; Agostino Sarubbo <ago@g.o> upower-0.99.2-r1.ebuild:
44 Stable for alpha, wrt bug #537878
45
46
47
48 1.1 sys-power/upower/upower-0.99.3.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.3.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/upower-0.99.3.ebuild?rev=1.1&content-type=text/plain
52
53 Index: upower-0.99.3.ebuild
54 ===================================================================
55 # Copyright 1999-2015 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.99.3.ebuild,v 1.1 2015/07/04 17:14:47 pacho Exp $
58
59 EAPI=5
60 inherit eutils systemd
61
62 DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics"
63 HOMEPAGE="http://upower.freedesktop.org/"
64 SRC_URI="http://${PN}.freedesktop.org/releases/${P}.tar.xz"
65
66 LICENSE="GPL-2"
67 SLOT="0/3" # based on SONAME of libupower-glib.so
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
69
70 # gtk-doc files are not available as prebuilt in the tarball
71 IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux"
72
73 COMMON_DEPS="
74 >=dev-libs/dbus-glib-0.100
75 >=dev-libs/glib-2.34:2
76 sys-apps/dbus:=
77 introspection? ( dev-libs/gobject-introspection:= )
78 kernel_linux? (
79 virtual/libusb:1
80 virtual/libgudev:=
81 virtual/udev
82 ios? (
83 >=app-pda/libimobiledevice-1:=
84 >=app-pda/libplist-1:=
85 )
86 )
87 "
88 RDEPEND="
89 ${COMMON_DEPS}
90 selinux? ( sec-policy/selinux-devicekit )
91 "
92 DEPEND="${COMMON_DEPS}
93 doc? ( dev-util/gtk-doc )
94 dev-libs/libxslt
95 app-text/docbook-xsl-stylesheets
96 dev-util/intltool
97 virtual/pkgconfig
98 "
99
100 QA_MULTILIB_PATHS="usr/lib/${PN}/.*"
101
102 DOCS="AUTHORS HACKING NEWS README"
103
104 src_prepare() {
105 sed -i -e '/DISABLE_DEPRECATED/d' configure || die
106 }
107
108 src_configure() {
109 local backend myconf
110
111 if use kernel_linux; then
112 backend=linux
113 elif use kernel_FreeBSD; then
114 backend=freebsd
115 else
116 backend=dummy
117 fi
118
119 econf \
120 $(use_enable doc gtk-doc) \
121 --libexecdir="${EPREFIX}"/usr/lib/${PN} \
122 --localstatedir="${EPREFIX}"/var \
123 $(use_enable introspection) \
124 --disable-static \
125 ${myconf} \
126 --enable-man-pages \
127 --disable-tests \
128 --with-backend=${backend} \
129 $(use_with ios idevice) \
130 "$(systemd_with_utildir)" \
131 "$(systemd_with_unitdir)"
132 }
133
134 src_install() {
135 default
136 keepdir /var/lib/upower #383091
137 prune_libtool_files
138 }