1 |
commit: d3f0dff6bf0815b6ebb24edb3e837eca5bbf4449 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 26 18:10:52 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 26 18:12:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f0dff6 |
7 |
|
8 |
sys-power/upower: Drop 0.99.12 (r0) |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sys-power/upower/upower-0.99.12.ebuild | 102 --------------------------------- |
14 |
1 file changed, 102 deletions(-) |
15 |
|
16 |
diff --git a/sys-power/upower/upower-0.99.12.ebuild b/sys-power/upower/upower-0.99.12.ebuild |
17 |
deleted file mode 100644 |
18 |
index 7701fb98f1c..00000000000 |
19 |
--- a/sys-power/upower/upower-0.99.12.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,102 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=8 |
26 |
- |
27 |
-inherit systemd xdg-utils |
28 |
- |
29 |
-DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics" |
30 |
-HOMEPAGE="https://upower.freedesktop.org/" |
31 |
-COMMIT="244f5966c58773bbd3b4c507c549560f" |
32 |
-SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar.xz" |
33 |
-# No tarball released at the usual location |
34 |
-#SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0/3" # based on SONAME of libupower-glib.so |
38 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
39 |
- |
40 |
-# gtk-doc files are not available as prebuilt in the tarball |
41 |
-IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux" |
42 |
- |
43 |
-DEPEND=" |
44 |
- >=dev-libs/glib-2.38:2 |
45 |
- sys-apps/dbus:= |
46 |
- introspection? ( dev-libs/gobject-introspection:= ) |
47 |
- kernel_linux? ( |
48 |
- dev-libs/libgudev:= |
49 |
- virtual/udev |
50 |
- ios? ( |
51 |
- >=app-pda/libimobiledevice-1:= |
52 |
- >=app-pda/libplist-2:= |
53 |
- ) |
54 |
- ) |
55 |
-" |
56 |
-RDEPEND="${DEPEND} |
57 |
- selinux? ( sec-policy/selinux-devicekit ) |
58 |
-" |
59 |
-BDEPEND=" |
60 |
- app-text/docbook-xsl-stylesheets |
61 |
- dev-libs/libxslt |
62 |
- >=sys-devel/gettext-0.19.8 |
63 |
- virtual/pkgconfig |
64 |
- doc? ( dev-util/gtk-doc ) |
65 |
-" |
66 |
- |
67 |
-QA_MULTILIB_PATHS="usr/lib/${PN}/.*" |
68 |
- |
69 |
-DOCS=( AUTHORS HACKING NEWS README ) |
70 |
- |
71 |
-PATCHES=( "${FILESDIR}/${P}-fix-power_now-energy_rate-readings.patch" ) # bug 796896 |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- xdg_environment_reset |
76 |
- sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- local backend |
81 |
- |
82 |
- if use kernel_linux ; then |
83 |
- backend=linux |
84 |
- elif use kernel_FreeBSD ; then |
85 |
- backend=freebsd |
86 |
- else |
87 |
- backend=dummy |
88 |
- fi |
89 |
- |
90 |
- local myeconfargs=( |
91 |
- --disable-tests |
92 |
- --enable-man-pages |
93 |
- --libexecdir="${EPREFIX}"/usr/lib/${PN} |
94 |
- --localstatedir="${EPREFIX}"/var |
95 |
- --with-backend=${backend} |
96 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
97 |
- --with-systemdutildir="$(systemd_get_utildir)" |
98 |
- $(use_enable doc gtk-doc) |
99 |
- $(use_enable introspection) |
100 |
- $(use_with ios idevice) |
101 |
- ) |
102 |
- econf "${myeconfargs[@]}" |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- default |
107 |
- find "${ED}" -type f -name '*.la' -delete || die |
108 |
- keepdir /var/lib/upower #383091 |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.99.12; then |
113 |
- elog "Support for Logitech Unifying Receiver battery state readout was" |
114 |
- elog "removed in version 0.99.12, these devices have been directly" |
115 |
- elog "supported by the Linux kernel since version >=3.2." |
116 |
- elog |
117 |
- elog "Support for CSR devices battery state was removed from udev rules" |
118 |
- elog "in version 0.99.12. This concerns the following Logitech products" |
119 |
- elog "from the mid 2000s:" |
120 |
- elog "Mouse/Dual/Keyboard+Mouse Receiver, Freedom Optical, Elite Duo," |
121 |
- elog "MX700/MX1000, Optical TrackMan, Click! Mouse, Presenter." |
122 |
- fi |
123 |
-} |