1 |
commit: 70a6f0a670ea4b4f7d3fe8ac3d0d6c77320606c2 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 28 15:57:09 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 15:57:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a6f0a6 |
7 |
|
8 |
sys-power/upower: Version bump to 0.99.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
sys-power/upower/Manifest | 3 +- |
13 |
sys-power/upower/upower-0.99.7.ebuild | 86 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 88 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest |
17 |
index 6807c846e33..7c35b28cdb9 100644 |
18 |
--- a/sys-power/upower/Manifest |
19 |
+++ b/sys-power/upower/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST upower-0.99.4.tar.xz 426292 SHA256 9ca325a6ccef505529b268ebbbd9becd0ce65a65f6ac7ee31e2e5b17648037b0 SHA512 b3fdee5ccf5f4d0c69e227f543272f6952119132814e27bc8f112716b8d36b5e07741a87bcf02203e80ef910cad9ddffa1adecb338c9a9aaa5e1038b62be07f3 WHIRLPOOL f203682b272e2f9ff7b48a1b4ee359569cbce2314edc599bfc82182e274d95446a8b59228e1dc250db9b823efdd8129cb99022b498f6d7af3b79bbc7ccb42f0f |
22 |
-DIST upower-0.99.5.tar.xz 432344 SHA256 78605664d027c788f6ab63c50950be6e86c6ba5d030c4cf35a6664337d87f3b2 SHA512 2fb06bea69455f538146576665e36c5b91eb18b119fa77e29d383fcb2a86ea58650b82e258f157d03c40147ecb12ea545997199580f0e24847ac6ea04d46e5ea WHIRLPOOL bba93ec4625f2c9e6284d6b22e4391e68411de08bf35b43286003d739d2bf7f57c0e6ad73e6f25bfd8254b73081dc8ff729fe266eeb69cdc9547e2cf856aa646 |
23 |
+DIST upower-0.99.5.tar.xz 432344 BLAKE2B 048471cee61e57ee673e2ba2e2f826ef1770291ca5b7a02adcce11acd78f96a3aa443b5f66abc595ce6578ca59a15a940b0c4924b443babc798fa54f4f629564 SHA512 2fb06bea69455f538146576665e36c5b91eb18b119fa77e29d383fcb2a86ea58650b82e258f157d03c40147ecb12ea545997199580f0e24847ac6ea04d46e5ea |
24 |
DIST upower-0.99.6.tar.xz 432056 SHA256 b194d1f227ed33e76ae29aa5c11acabad334938f2726b8c7903fac07a1335015 SHA512 7e7256491ecb5d3f04abf41f05a761b79761c8868a1aedadfc5085c3b9cf15f6099c1494596e6a24b0951511bc7cac074e93ebb2b84abb9fb7a4374483052d3f WHIRLPOOL 6b35441229c3ebf0dc19dc5800b3642c0298654e3fb552d56c8e9ca5350ab1197382da068b1d0e62ed5ef49afeb83435864f0a1e23dd3a99e4f94b663d198df1 |
25 |
+DIST upower-0.99.7.tar.xz 447832 BLAKE2B 3342f38552a5eb6abffc6b15803db0e8a24e6a3345fe1007f3a5fa66dd06ddebacf2352a751f7a3adf7ee0fe28797d7a1c5b3ec27cd190aabed17e2c7070a438 SHA512 a1ad200e715284eae815580bba3faad480f7f13401f6ff1a2e7446172796a2413990ce2b553de713ddc530849b2dff1f0ddc12fbd2fd9b55510bbb644d2340a4 |
26 |
|
27 |
diff --git a/sys-power/upower/upower-0.99.7.ebuild b/sys-power/upower/upower-0.99.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a884fe3466c |
30 |
--- /dev/null |
31 |
+++ b/sys-power/upower/upower-0.99.7.ebuild |
32 |
@@ -0,0 +1,86 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit ltprune systemd |
38 |
+ |
39 |
+DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics" |
40 |
+HOMEPAGE="https://upower.freedesktop.org/" |
41 |
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0/3" # based on SONAME of libupower-glib.so |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
46 |
+ |
47 |
+# gtk-doc files are not available as prebuilt in the tarball |
48 |
+IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux" |
49 |
+ |
50 |
+COMMON_DEPS=" |
51 |
+ >=dev-libs/dbus-glib-0.100 |
52 |
+ >=dev-libs/glib-2.34:2 |
53 |
+ sys-apps/dbus:= |
54 |
+ introspection? ( dev-libs/gobject-introspection:= ) |
55 |
+ kernel_linux? ( |
56 |
+ virtual/libusb:1 |
57 |
+ virtual/libgudev:= |
58 |
+ virtual/udev |
59 |
+ ios? ( |
60 |
+ >=app-pda/libimobiledevice-1:= |
61 |
+ >=app-pda/libplist-1:= |
62 |
+ ) |
63 |
+ ) |
64 |
+" |
65 |
+RDEPEND=" |
66 |
+ ${COMMON_DEPS} |
67 |
+ selinux? ( sec-policy/selinux-devicekit ) |
68 |
+" |
69 |
+DEPEND="${COMMON_DEPS} |
70 |
+ doc? ( dev-util/gtk-doc ) |
71 |
+ dev-libs/libxslt |
72 |
+ app-text/docbook-xsl-stylesheets |
73 |
+ dev-util/intltool |
74 |
+ >=sys-devel/gettext-0.17 |
75 |
+ virtual/pkgconfig |
76 |
+" |
77 |
+ |
78 |
+QA_MULTILIB_PATHS="usr/lib/${PN}/.*" |
79 |
+ |
80 |
+DOCS=( AUTHORS HACKING NEWS README ) |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local backend |
89 |
+ |
90 |
+ if use kernel_linux ; then |
91 |
+ backend=linux |
92 |
+ elif use kernel_FreeBSD ; then |
93 |
+ backend=freebsd |
94 |
+ else |
95 |
+ backend=dummy |
96 |
+ fi |
97 |
+ |
98 |
+ local myeconfargs=( |
99 |
+ --disable-static |
100 |
+ --disable-tests |
101 |
+ --enable-man-pages |
102 |
+ --libexecdir="${EPREFIX%/}"/usr/lib/${PN} |
103 |
+ --localstatedir="${EPREFIX%/}"/var |
104 |
+ --with-backend=${backend} |
105 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
106 |
+ --with-systemdutildir="$(systemd_get_utildir)" |
107 |
+ $(use_enable doc gtk-doc) |
108 |
+ $(use_enable introspection) |
109 |
+ $(use_with ios idevice) |
110 |
+ ) |
111 |
+ econf "${myeconfargs[@]}" |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ default |
116 |
+ keepdir /var/lib/upower #383091 |
117 |
+ prune_libtool_files |
118 |
+} |