Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/upower/
Date: Fri, 03 May 2019 08:44:52
Message-Id: 1556872753.9e29cb5e699e96e9d98228ab902a694885e96874.pacho@gentoo
1 commit: 9e29cb5e699e96e9d98228ab902a694885e96874
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 3 08:39:13 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri May 3 08:39:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e29cb5e
7
8 sys-power/upower: Drop old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 sys-power/upower/upower-0.99.9.ebuild | 91 -----------------------------------
14 1 file changed, 91 deletions(-)
15
16 diff --git a/sys-power/upower/upower-0.99.9.ebuild b/sys-power/upower/upower-0.99.9.ebuild
17 deleted file mode 100644
18 index 8219ae1eaea..00000000000
19 --- a/sys-power/upower/upower-0.99.9.ebuild
20 +++ /dev/null
21 @@ -1,91 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -inherit systemd xdg-utils
27 -
28 -DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics"
29 -HOMEPAGE="https://upower.freedesktop.org/"
30 -
31 -# No tarball released, use the same commit as Fedora
32 -#SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
33 -COMMIT="2282c7c0e53fb31816b824c9d1f547e8"
34 -SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${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 ~sparc ~x86 ~x86-fbsd"
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 -COMMON_DEPS="
44 - >=dev-libs/dbus-glib-0.100
45 - >=dev-libs/glib-2.34:2
46 - sys-apps/dbus:=
47 - introspection? ( dev-libs/gobject-introspection:= )
48 - kernel_linux? (
49 - virtual/libusb:1
50 - virtual/libgudev:=
51 - virtual/udev
52 - ios? (
53 - >=app-pda/libimobiledevice-1:=
54 - >=app-pda/libplist-1:=
55 - )
56 - )
57 -"
58 -RDEPEND="
59 - ${COMMON_DEPS}
60 - selinux? ( sec-policy/selinux-devicekit )
61 -"
62 -DEPEND="${COMMON_DEPS}
63 - doc? ( dev-util/gtk-doc )
64 - dev-libs/libxslt
65 - app-text/docbook-xsl-stylesheets
66 - dev-util/intltool
67 - >=sys-devel/gettext-0.17
68 - virtual/pkgconfig
69 -"
70 -
71 -QA_MULTILIB_PATHS="usr/lib/${PN}/.*"
72 -
73 -DOCS=( AUTHORS HACKING NEWS README )
74 -
75 -src_prepare() {
76 - default
77 - xdg_environment_reset
78 - sed -i -e '/DISABLE_DEPRECATED/d' configure || die
79 -}
80 -
81 -src_configure() {
82 - local backend
83 -
84 - if use kernel_linux ; then
85 - backend=linux
86 - elif use kernel_FreeBSD ; then
87 - backend=freebsd
88 - else
89 - backend=dummy
90 - fi
91 -
92 - local myeconfargs=(
93 - --disable-static
94 - --disable-tests
95 - --enable-man-pages
96 - --libexecdir="${EPREFIX}"/usr/lib/${PN}
97 - --localstatedir="${EPREFIX}"/var
98 - --with-backend=${backend}
99 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
100 - --with-systemdutildir="$(systemd_get_utildir)"
101 - $(use_enable doc gtk-doc)
102 - $(use_enable introspection)
103 - $(use_with ios idevice)
104 - )
105 - econf "${myeconfargs[@]}"
106 -}
107 -
108 -src_install() {
109 - default
110 - find "${ED}" -name '*.la' -delete || die
111 - keepdir /var/lib/upower #383091
112 -}