commit:     d02583b11829e18ffbba099b2a6d805ce70a0e49
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  9 22:51:23 2019 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Wed Jan  9 22:51:23 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=d02583b1

lxqt-base/liblxqt: add 'ewarn' and make USE="policykit" the default

This is to stress the fact that upstream indeed doesn't support such
a build at this time.

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 lxqt-base/liblxqt/liblxqt-9999.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/lxqt-base/liblxqt/liblxqt-9999.ebuild 
b/lxqt-base/liblxqt/liblxqt-9999.ebuild
index 589d9054..ed0e5b98 100644
--- a/lxqt-base/liblxqt/liblxqt-9999.ebuild
+++ b/lxqt-base/liblxqt/liblxqt-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ fi
 
 LICENSE="LGPL-2.1+ BSD"
 SLOT="0/$(ver_cut 1-2)"
-IUSE="policykit"
+IUSE="+policykit"
 
 RDEPEND="
        >=dev-libs/libqtxdg-3.0.0
@@ -48,3 +48,10 @@ src_configure() {
        )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       if ! use policykit; then
+               ewarn "Please do not report issues caused by USE=\"-policykit\" 
to upstream,"
+               ewarn "as they do not support such a build at this time."
+       fi
+}

Reply via email to