1 |
commit: d02583b11829e18ffbba099b2a6d805ce70a0e49 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 9 22:51:23 2019 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 9 22:51:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=d02583b1 |
7 |
|
8 |
lxqt-base/liblxqt: add 'ewarn' and make USE="policykit" the default |
9 |
|
10 |
This is to stress the fact that upstream indeed doesn't support such |
11 |
a build at this time. |
12 |
|
13 |
Package-Manager: Portage-2.3.54, Repoman-2.3.12 |
14 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
15 |
|
16 |
lxqt-base/liblxqt/liblxqt-9999.ebuild | 11 +++++++++-- |
17 |
1 file changed, 9 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/lxqt-base/liblxqt/liblxqt-9999.ebuild b/lxqt-base/liblxqt/liblxqt-9999.ebuild |
20 |
index 589d9054..ed0e5b98 100644 |
21 |
--- a/lxqt-base/liblxqt/liblxqt-9999.ebuild |
22 |
+++ b/lxqt-base/liblxqt/liblxqt-9999.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2018 Gentoo Authors |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=6 |
29 |
@@ -18,7 +18,7 @@ fi |
30 |
|
31 |
LICENSE="LGPL-2.1+ BSD" |
32 |
SLOT="0/$(ver_cut 1-2)" |
33 |
-IUSE="policykit" |
34 |
+IUSE="+policykit" |
35 |
|
36 |
RDEPEND=" |
37 |
>=dev-libs/libqtxdg-3.0.0 |
38 |
@@ -48,3 +48,10 @@ src_configure() { |
39 |
) |
40 |
cmake-utils_src_configure |
41 |
} |
42 |
+ |
43 |
+pkg_postinst() { |
44 |
+ if ! use policykit; then |
45 |
+ ewarn "Please do not report issues caused by USE=\"-policykit\" to upstream," |
46 |
+ ewarn "as they do not support such a build at this time." |
47 |
+ fi |
48 |
+} |