1 |
commit: 4c6b268163e194068f6f580da64434c0c884e2f0 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 2 15:20:11 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 2 17:50:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6b2681 |
7 |
|
8 |
app-admin/packagekit-base: cleanup old revisions |
9 |
|
10 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
11 |
|
12 |
app-admin/packagekit-base/Manifest | 4 - |
13 |
.../packagekit-base/packagekit-base-1.0.11.ebuild | 111 ----------------- |
14 |
.../packagekit-base/packagekit-base-1.1.1.ebuild | 113 ------------------ |
15 |
.../packagekit-base/packagekit-base-1.1.4.ebuild | 116 ------------------ |
16 |
.../packagekit-base-1.1.5-r2.ebuild | 131 --------------------- |
17 |
5 files changed, 475 deletions(-) |
18 |
|
19 |
diff --git a/app-admin/packagekit-base/Manifest b/app-admin/packagekit-base/Manifest |
20 |
index fbaaeb3873c..f4cb2740e6b 100644 |
21 |
--- a/app-admin/packagekit-base/Manifest |
22 |
+++ b/app-admin/packagekit-base/Manifest |
23 |
@@ -1,5 +1 @@ |
24 |
-DIST PackageKit-1.0.11.tar.xz 1427404 BLAKE2B 74455b4b070eb16a1310d77ec50225daa09a3bb16754ab9ead5aac382e05e6ecb3c64545bf64a16bc09d1cdcd73a4c179812eb03296e514c12c0ba15be514197 SHA512 9529037685f76e883a71ae502eabd83c3e1e8905f76cfe5e938760677f0224f8758bca59e139588aa06589bcca7a20f13dea0fe419022cb950c7a4c631237bce |
25 |
-DIST PackageKit-1.1.1.tar.xz 1410632 BLAKE2B ffb9d96794dfafa5362277292a743dde0d66259801611043cfdb66e169f9cd377ad49a00bab8687bbacf5cb156eb83c0fc1d33bf13409a1f1af60b3a9ab88a1e SHA512 caf9b67f71a36479d32338c28343671e9586aade7a0f777b867772ad8da8e3206bf66a46b2fa2cba8f0f48af27db3888b68e336707db6f76c5e0dbed464e2874 |
26 |
-DIST PackageKit-1.1.4.tar.xz 1424756 BLAKE2B a9eb82857b37fc84c8b7d5e71f0b51c4f1d9ef74702afb6e92e9e84e1ccf9e905dafafbda61a3ea737e94173f53486591bb66cf43b19b25004815f3abfd05d8c SHA512 fc04d58c46f7e7dbb1386d26627ea246b5f21b8483862788bb734b8a137e4cb1d41de0f471b46f6d649e29337f9605acba0568a845577b27a2ac0faaf391b187 |
27 |
-DIST PackageKit-1.1.5.tar.xz 1418292 BLAKE2B 973cfaf1e6dd48bbf3ef5cfe421202804af584af227fb70c5835d70bc128da64fd4084dd2bc508ed63d2c46ac693d7b3fcb540992da4e13ea947696a75f870d9 SHA512 ecc6a4d39caa0a7ea2047f52f95980b23e61ae200e27559326f03302b1c0d798f9cbae53fcf2d397dca3d54e52f143e2e7aa4e3f0b2df8c39e53bd2993e86154 |
28 |
DIST PackageKit-1.1.7.tar.xz 1431648 BLAKE2B 0cc64e7ac38d6641a1fbd98ffad2e7920eb7b3c86ea36d3ad036541886191c38deeeb7241f81ec3d29f8268b1c84ec500511895312c29c706403607215117d5e SHA512 0d0277e24feb63e94aeb5fec2c4306ccdf5935c2f62d5eef3be8db9f534eb302eff09ea0e020db48b2dd0af9ba6b31f7960d661d1040774dccf650ebf04c4f83 |
29 |
|
30 |
diff --git a/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild b/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild |
31 |
deleted file mode 100644 |
32 |
index 2113cdec720..00000000000 |
33 |
--- a/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,111 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI="5" |
40 |
- |
41 |
-# PackageKit supports 3.2+, but entropy and portage backends are untested |
42 |
-# Future note: use --enable-python3 |
43 |
-PYTHON_COMPAT=( python2_7 ) |
44 |
-VALA_USE_DEPEND="vapigen" |
45 |
- |
46 |
-inherit bash-completion-r1 multilib nsplugins python-single-r1 systemd vala |
47 |
- |
48 |
-MY_PN="PackageKit" |
49 |
-MY_P=${MY_PN}-${PV} |
50 |
- |
51 |
-DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" |
52 |
-HOMEPAGE="https://www.freedesktop.org/software/PackageKit/" |
53 |
-SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" |
54 |
- |
55 |
-LICENSE="GPL-2" |
56 |
-SLOT="0/18" |
57 |
-KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 x86" |
58 |
-IUSE="connman cron command-not-found +introspection networkmanager nsplugin entropy systemd test vala" |
59 |
-REQUIRED_USE=" |
60 |
- ${PYTHON_REQUIRED_USE} |
61 |
- vala? ( introspection ) |
62 |
-" |
63 |
- |
64 |
-# While not strictly needed, consolekit is the alternative to systemd-login |
65 |
-# to get current session's user. |
66 |
-CDEPEND=" |
67 |
- >=app-shells/bash-completion-2 |
68 |
- dev-db/sqlite:3 |
69 |
- >=dev-libs/dbus-glib-0.74 |
70 |
- >=dev-libs/glib-2.32.0:2[${PYTHON_USEDEP}] |
71 |
- >=sys-auth/polkit-0.98 |
72 |
- >=sys-apps/dbus-1.3.0 |
73 |
- ${PYTHON_DEPS} |
74 |
- connman? ( net-misc/connman ) |
75 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.9[${PYTHON_USEDEP}] ) |
76 |
- networkmanager? ( >=net-misc/networkmanager-0.6.4 ) |
77 |
- nsplugin? ( |
78 |
- >=dev-libs/nspr-4.8 |
79 |
- x11-libs/cairo |
80 |
- >=x11-libs/gtk+-2.14.0:2 |
81 |
- x11-libs/pango |
82 |
- ) |
83 |
- systemd? ( >=sys-apps/systemd-204 ) |
84 |
-" |
85 |
-DEPEND="${CDEPEND} |
86 |
- dev-libs/libxslt[${PYTHON_USEDEP}] |
87 |
- >=dev-util/gtk-doc-am-1.11 |
88 |
- >=dev-util/intltool-0.35.0 |
89 |
- sys-devel/gettext |
90 |
- virtual/pkgconfig |
91 |
- nsplugin? ( >=net-misc/npapi-sdk-0.27 ) |
92 |
- vala? ( $(vala_depend) ) |
93 |
-" |
94 |
-RDEPEND="${CDEPEND} |
95 |
- >=app-portage/layman-2[${PYTHON_USEDEP}] |
96 |
- >=sys-apps/portage-2.2[${PYTHON_USEDEP}] |
97 |
- entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) |
98 |
- !systemd? ( sys-auth/consolekit ) |
99 |
-" |
100 |
- |
101 |
-S="${WORKDIR}/${MY_P}" |
102 |
- |
103 |
-RESTRICT="test" |
104 |
- |
105 |
-src_prepare() { |
106 |
- use vala && vala_src_prepare |
107 |
-} |
108 |
- |
109 |
-src_configure() { |
110 |
- econf \ |
111 |
- --disable-gstreamer-plugin \ |
112 |
- --disable-gtk-doc \ |
113 |
- --disable-gtk-module \ |
114 |
- --disable-schemas-compile \ |
115 |
- --disable-static \ |
116 |
- --enable-bash-completion \ |
117 |
- --enable-man-pages \ |
118 |
- --enable-nls \ |
119 |
- --enable-portage \ |
120 |
- --localstatedir=/var \ |
121 |
- $(use_enable command-not-found) \ |
122 |
- $(use_enable connman) \ |
123 |
- $(use_enable cron) \ |
124 |
- $(use_enable entropy) \ |
125 |
- $(use_enable introspection) \ |
126 |
- $(use_enable networkmanager) \ |
127 |
- $(use_enable nsplugin browser-plugin) \ |
128 |
- $(use_enable systemd) \ |
129 |
- $(use_enable test daemon-tests) \ |
130 |
- $(use_enable vala) \ |
131 |
- $(systemd_with_unitdir) |
132 |
- #$(use_enable test local) |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- emake DESTDIR="${D}" install |
137 |
- prune_libtool_files --all |
138 |
- |
139 |
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README |
140 |
- |
141 |
- if use nsplugin; then |
142 |
- dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
143 |
- mv "${D}/usr/$(get_libdir)/mozilla/plugins"/* \ |
144 |
- "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" || die |
145 |
- fi |
146 |
-} |
147 |
|
148 |
diff --git a/app-admin/packagekit-base/packagekit-base-1.1.1.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.1.ebuild |
149 |
deleted file mode 100644 |
150 |
index 6ee96a617d5..00000000000 |
151 |
--- a/app-admin/packagekit-base/packagekit-base-1.1.1.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,113 +0,0 @@ |
154 |
-# Copyright 1999-2018 Gentoo Foundation |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
- |
157 |
-EAPI="6" |
158 |
- |
159 |
-# PackageKit supports 3.2+, but entropy and portage backends are untested |
160 |
-# Future note: use --enable-python3 |
161 |
-PYTHON_COMPAT=( python2_7 ) |
162 |
-VALA_USE_DEPEND="vapigen" |
163 |
- |
164 |
-inherit bash-completion-r1 multilib python-single-r1 systemd vala |
165 |
- |
166 |
-MY_PN="PackageKit" |
167 |
-MY_P=${MY_PN}-${PV} |
168 |
- |
169 |
-DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" |
170 |
-HOMEPAGE="https://www.freedesktop.org/software/PackageKit/" |
171 |
-SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" |
172 |
- |
173 |
-LICENSE="GPL-2" |
174 |
-SLOT="0/18" |
175 |
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
176 |
-IUSE="connman cron command-not-found +introspection networkmanager entropy systemd test vala" |
177 |
-REQUIRED_USE=" |
178 |
- ${PYTHON_REQUIRED_USE} |
179 |
- vala? ( introspection ) |
180 |
-" |
181 |
- |
182 |
-# While not strictly needed, consolekit is the alternative to systemd-login |
183 |
-# to get current session's user. |
184 |
-CDEPEND=" |
185 |
- >=app-shells/bash-completion-2 |
186 |
- dev-db/sqlite:3 |
187 |
- >=dev-libs/dbus-glib-0.74 |
188 |
- >=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}] |
189 |
- >=sys-auth/polkit-0.98 |
190 |
- >=sys-apps/dbus-1.3.0 |
191 |
- ${PYTHON_DEPS} |
192 |
- connman? ( net-misc/connman ) |
193 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.9:= ) |
194 |
- networkmanager? ( >=net-misc/networkmanager-0.6.4:= ) |
195 |
- systemd? ( >=sys-apps/systemd-204 ) |
196 |
-" |
197 |
-DEPEND="${CDEPEND} |
198 |
- dev-libs/libxslt[${PYTHON_USEDEP}] |
199 |
- >=dev-util/gtk-doc-am-1.11 |
200 |
- >=dev-util/intltool-0.35.0 |
201 |
- sys-devel/gettext |
202 |
- virtual/pkgconfig |
203 |
- vala? ( $(vala_depend) ) |
204 |
-" |
205 |
-RDEPEND="${CDEPEND} |
206 |
- >=app-portage/layman-2[${PYTHON_USEDEP}] |
207 |
- >=sys-apps/portage-2.2[${PYTHON_USEDEP}] |
208 |
- entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) |
209 |
- !systemd? ( sys-auth/consolekit ) |
210 |
-" |
211 |
- |
212 |
-S="${WORKDIR}/${MY_P}" |
213 |
- |
214 |
-src_prepare() { |
215 |
- # Fixes QA Notices: https://github.com/gentoo/gentoo/pull/1760 and https://github.com/hughsie/PackageKit/issues/143 |
216 |
- eapply "${FILESDIR}/${P}-cache-qafix.patch" |
217 |
- |
218 |
- # Disable unittests not working with portage backend |
219 |
- # console: requires terminal input |
220 |
- sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \ |
221 |
- -e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \ |
222 |
- -e 's:^\(.*/packagekit-glib2/client"\)://\1:' \ |
223 |
- -e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \ |
224 |
- -e 's:^\(.*/packagekit-glib2/task\)://\1:' \ |
225 |
- -e 's:^\(.*/packagekit-glib2/console\)://\1:' \ |
226 |
- -i lib/packagekit-glib2/pk-test-daemon.c || die |
227 |
- sed -e 's:^\(.*/packagekit/spawn\)://\1:' \ |
228 |
- -e 's:^\(.*/packagekit/transaction-db\)://\1:' \ |
229 |
- -e 's:^\(.*/packagekit/backend\)://\1:' \ |
230 |
- -i src/pk-self-test.c || die |
231 |
- |
232 |
- eapply_user |
233 |
- use vala && vala_src_prepare |
234 |
-} |
235 |
- |
236 |
-src_configure() { |
237 |
- econf \ |
238 |
- --disable-gstreamer-plugin \ |
239 |
- --disable-gtk-doc \ |
240 |
- --disable-gtk-module \ |
241 |
- --disable-schemas-compile \ |
242 |
- --disable-static \ |
243 |
- --enable-bash-completion \ |
244 |
- --enable-man-pages \ |
245 |
- --enable-nls \ |
246 |
- --enable-portage \ |
247 |
- --localstatedir=/var \ |
248 |
- $(use_enable command-not-found) \ |
249 |
- $(use_enable connman) \ |
250 |
- $(use_enable cron) \ |
251 |
- $(use_enable entropy) \ |
252 |
- $(use_enable introspection) \ |
253 |
- $(use_enable networkmanager) \ |
254 |
- $(use_enable systemd) \ |
255 |
- $(use_enable test daemon-tests) \ |
256 |
- $(use_enable test local) \ |
257 |
- $(use_enable vala) \ |
258 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
259 |
-} |
260 |
- |
261 |
-src_install() { |
262 |
- emake DESTDIR="${D}" install |
263 |
- prune_libtool_files --all |
264 |
- |
265 |
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README |
266 |
-} |
267 |
|
268 |
diff --git a/app-admin/packagekit-base/packagekit-base-1.1.4.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.4.ebuild |
269 |
deleted file mode 100644 |
270 |
index b976d7d1f55..00000000000 |
271 |
--- a/app-admin/packagekit-base/packagekit-base-1.1.4.ebuild |
272 |
+++ /dev/null |
273 |
@@ -1,116 +0,0 @@ |
274 |
-# Copyright 1999-2018 Gentoo Foundation |
275 |
-# Distributed under the terms of the GNU General Public License v2 |
276 |
- |
277 |
-EAPI="6" |
278 |
- |
279 |
-# PackageKit supports 3.2+, but entropy and portage backends are untested |
280 |
-# Future note: use --enable-python3 |
281 |
-PYTHON_COMPAT=( python2_7 ) |
282 |
-VALA_USE_DEPEND="vapigen" |
283 |
- |
284 |
-inherit bash-completion-r1 multilib python-single-r1 systemd vala xdg |
285 |
- |
286 |
-MY_PN="PackageKit" |
287 |
-MY_P=${MY_PN}-${PV} |
288 |
- |
289 |
-DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" |
290 |
-HOMEPAGE="https://www.freedesktop.org/software/PackageKit/" |
291 |
-SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" |
292 |
- |
293 |
-LICENSE="GPL-2" |
294 |
-SLOT="0/18" |
295 |
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
296 |
-IUSE="connman cron command-not-found +introspection networkmanager entropy systemd test vala" |
297 |
-REQUIRED_USE=" |
298 |
- ${PYTHON_REQUIRED_USE} |
299 |
- vala? ( introspection ) |
300 |
-" |
301 |
- |
302 |
-# While not strictly needed, consolekit is the alternative to systemd-login |
303 |
-# to get current session's user. |
304 |
-CDEPEND=" |
305 |
- >=app-shells/bash-completion-2 |
306 |
- dev-db/sqlite:3 |
307 |
- >=dev-libs/dbus-glib-0.74 |
308 |
- >=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}] |
309 |
- >=sys-auth/polkit-0.98 |
310 |
- >=sys-apps/dbus-1.3.0 |
311 |
- ${PYTHON_DEPS} |
312 |
- connman? ( net-misc/connman ) |
313 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.9:= ) |
314 |
- networkmanager? ( >=net-misc/networkmanager-0.6.4:= ) |
315 |
- systemd? ( >=sys-apps/systemd-204 ) |
316 |
-" |
317 |
-DEPEND="${CDEPEND} |
318 |
- dev-libs/libxslt[${PYTHON_USEDEP}] |
319 |
- >=dev-util/gtk-doc-am-1.11 |
320 |
- >=dev-util/intltool-0.35.0 |
321 |
- sys-devel/gettext |
322 |
- virtual/pkgconfig |
323 |
- vala? ( $(vala_depend) ) |
324 |
-" |
325 |
-RDEPEND="${CDEPEND} |
326 |
- >=app-portage/layman-2[${PYTHON_USEDEP}] |
327 |
- >=sys-apps/portage-2.2[${PYTHON_USEDEP}] |
328 |
- entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) |
329 |
- !systemd? ( sys-auth/consolekit ) |
330 |
-" |
331 |
- |
332 |
-S="${WORKDIR}/${MY_P}" |
333 |
- |
334 |
-src_prepare() { |
335 |
- # Fixes QA Notices: |
336 |
- # - https://github.com/gentoo/gentoo/pull/1760 |
337 |
- # - https://github.com/hughsie/PackageKit/issues/143 |
338 |
- eapply "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch |
339 |
- |
340 |
- # Disable unittests not working with portage backend |
341 |
- # console: requires terminal input |
342 |
- sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \ |
343 |
- -e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \ |
344 |
- -e 's:^\(.*/packagekit-glib2/client"\)://\1:' \ |
345 |
- -e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \ |
346 |
- -e 's:^\(.*/packagekit-glib2/task\)://\1:' \ |
347 |
- -e 's:^\(.*/packagekit-glib2/console\)://\1:' \ |
348 |
- -i lib/packagekit-glib2/pk-test-daemon.c || die |
349 |
- sed -e 's:^\(.*/packagekit/spawn\)://\1:' \ |
350 |
- -e 's:^\(.*/packagekit/transaction-db\)://\1:' \ |
351 |
- -e 's:^\(.*/packagekit/backend\)://\1:' \ |
352 |
- -i src/pk-self-test.c || die |
353 |
- |
354 |
- eapply_user |
355 |
- use vala && vala_src_prepare |
356 |
- xdg_src_prepare |
357 |
-} |
358 |
- |
359 |
-src_configure() { |
360 |
- econf \ |
361 |
- --disable-gstreamer-plugin \ |
362 |
- --disable-gtk-doc \ |
363 |
- --disable-gtk-module \ |
364 |
- --disable-schemas-compile \ |
365 |
- --disable-static \ |
366 |
- --enable-bash-completion \ |
367 |
- --enable-man-pages \ |
368 |
- --enable-nls \ |
369 |
- --enable-portage \ |
370 |
- --localstatedir=/var \ |
371 |
- $(use_enable command-not-found) \ |
372 |
- $(use_enable connman) \ |
373 |
- $(use_enable cron) \ |
374 |
- $(use_enable entropy) \ |
375 |
- $(use_enable introspection) \ |
376 |
- $(use_enable networkmanager) \ |
377 |
- $(use_enable systemd) \ |
378 |
- $(use_enable test daemon-tests) \ |
379 |
- $(use_enable test local) \ |
380 |
- $(use_enable vala) \ |
381 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
382 |
-} |
383 |
- |
384 |
-src_install() { |
385 |
- emake DESTDIR="${D}" install |
386 |
- prune_libtool_files --all |
387 |
- |
388 |
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README |
389 |
-} |
390 |
|
391 |
diff --git a/app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild |
392 |
deleted file mode 100644 |
393 |
index da72d9cbd45..00000000000 |
394 |
--- a/app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild |
395 |
+++ /dev/null |
396 |
@@ -1,131 +0,0 @@ |
397 |
-# Copyright 1999-2018 Gentoo Foundation |
398 |
-# Distributed under the terms of the GNU General Public License v2 |
399 |
- |
400 |
-EAPI="6" |
401 |
- |
402 |
-# PackageKit supports 3.2+, but entropy and portage backends are untested |
403 |
-# Future note: use --enable-python3 |
404 |
-PYTHON_COMPAT=( python2_7 ) |
405 |
-VALA_USE_DEPEND="vapigen" |
406 |
- |
407 |
-inherit autotools bash-completion-r1 multilib python-single-r1 systemd vala xdg |
408 |
- |
409 |
-MY_PN="PackageKit" |
410 |
-MY_P=${MY_PN}-${PV} |
411 |
- |
412 |
-DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" |
413 |
-HOMEPAGE="https://www.freedesktop.org/software/PackageKit/" |
414 |
-SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" |
415 |
- |
416 |
-LICENSE="GPL-2" |
417 |
-SLOT="0/18" |
418 |
-KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 x86" |
419 |
-IUSE="connman cron command-not-found elogind +introspection networkmanager entropy systemd test vala" |
420 |
-REQUIRED_USE=" |
421 |
- ${PYTHON_REQUIRED_USE} |
422 |
- ?? ( elogind systemd ) |
423 |
- vala? ( introspection ) |
424 |
-" |
425 |
- |
426 |
-# While not strictly needed, consolekit is the alternative to systemd-login |
427 |
-# or elogind to get current session's user. |
428 |
-COMMON_DEPEND=" |
429 |
- >=app-shells/bash-completion-2 |
430 |
- dev-db/sqlite:3 |
431 |
- >=dev-libs/dbus-glib-0.74 |
432 |
- >=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}] |
433 |
- >=sys-auth/polkit-0.98 |
434 |
- >=sys-apps/dbus-1.3.0 |
435 |
- ${PYTHON_DEPS} |
436 |
- connman? ( net-misc/connman ) |
437 |
- elogind? ( >=sys-auth/elogind-229.4 ) |
438 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.9:= ) |
439 |
- networkmanager? ( >=net-misc/networkmanager-0.6.4:= ) |
440 |
- systemd? ( >=sys-apps/systemd-204 ) |
441 |
-" |
442 |
-# vala-common needed for eautoreconf |
443 |
-DEPEND="${COMMON_DEPEND} |
444 |
- >=dev-cpp/glibmm-2.4 |
445 |
- dev-libs/libxslt[${PYTHON_USEDEP}] |
446 |
- dev-libs/vala-common |
447 |
- >=dev-util/gtk-doc-am-1.11 |
448 |
- >=dev-util/intltool-0.35.0 |
449 |
- sys-devel/gettext |
450 |
- virtual/pkgconfig |
451 |
- vala? ( $(vala_depend) ) |
452 |
-" |
453 |
-RDEPEND="${COMMON_DEPEND} |
454 |
- >=app-portage/layman-2[${PYTHON_USEDEP}] |
455 |
- >=sys-apps/portage-2.2[${PYTHON_USEDEP}] |
456 |
- entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) |
457 |
- !systemd? ( !elogind? ( sys-auth/consolekit ) ) |
458 |
-" |
459 |
- |
460 |
-PATCHES=( |
461 |
- # Fixes QA Notices: |
462 |
- # - https://github.com/gentoo/gentoo/pull/1760 |
463 |
- # - https://github.com/hughsie/PackageKit/issues/143 |
464 |
- "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch |
465 |
- |
466 |
- # Adds elogind support: |
467 |
- # - https://bugs.gentoo.org/show_bug.cgi?id=620948 |
468 |
- "${FILESDIR}"/${PN}-elogind-support.patch |
469 |
-) |
470 |
- |
471 |
-S="${WORKDIR}/${MY_P}" |
472 |
- |
473 |
-src_prepare() { |
474 |
- # Disable unittests not working with portage backend |
475 |
- # console: requires terminal input |
476 |
- sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \ |
477 |
- -e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \ |
478 |
- -e 's:^\(.*/packagekit-glib2/client"\)://\1:' \ |
479 |
- -e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \ |
480 |
- -e 's:^\(.*/packagekit-glib2/task\)://\1:' \ |
481 |
- -e 's:^\(.*/packagekit-glib2/console\)://\1:' \ |
482 |
- -i lib/packagekit-glib2/pk-test-daemon.c || die |
483 |
- sed -e 's:^\(.*/packagekit/spawn\)://\1:' \ |
484 |
- -e 's:^\(.*/packagekit/transaction-db\)://\1:' \ |
485 |
- -e 's:^\(.*/packagekit/backend\)://\1:' \ |
486 |
- -i src/pk-self-test.c || die |
487 |
- |
488 |
- eapply_user |
489 |
- use vala && vala_src_prepare |
490 |
- xdg_src_prepare |
491 |
- |
492 |
- # Needed by elogind patch: |
493 |
- eautoreconf |
494 |
-} |
495 |
- |
496 |
-src_configure() { |
497 |
- econf \ |
498 |
- --disable-gstreamer-plugin \ |
499 |
- --disable-gtk-doc \ |
500 |
- --disable-gtk-module \ |
501 |
- --disable-schemas-compile \ |
502 |
- --disable-static \ |
503 |
- --enable-bash-completion \ |
504 |
- --enable-man-pages \ |
505 |
- --enable-nls \ |
506 |
- --enable-portage \ |
507 |
- --localstatedir=/var \ |
508 |
- $(use_enable command-not-found) \ |
509 |
- $(use_enable connman) \ |
510 |
- $(use_enable cron) \ |
511 |
- $(use_enable elogind) \ |
512 |
- $(use_enable entropy) \ |
513 |
- $(use_enable introspection) \ |
514 |
- $(use_enable networkmanager) \ |
515 |
- $(use_enable systemd) \ |
516 |
- $(use_enable test daemon-tests) \ |
517 |
- $(use_enable test local) \ |
518 |
- $(use_enable vala) \ |
519 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
520 |
-} |
521 |
- |
522 |
-src_install() { |
523 |
- emake DESTDIR="${D}" install |
524 |
- prune_libtool_files --all |
525 |
- |
526 |
- dodoc AUTHORS ChangeLog MAINTAINERS NEWS README |
527 |
-} |