From 38a27722d7d2d575a30a4c9e6e9ae534281ef15b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 16 Sep 2015 15:14:48 +0200 Subject: [PATCH] x11-misc/lightdm: Added qt5 support with kind permission from hwoarang. Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler --- x11-misc/lightdm/lightdm-1.16.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/x11-misc/lightdm/lightdm-1.16.0.ebuild b/x11-misc/lightdm/lightdm-1.16.0.ebuild index 2e7a4d397d8a..bf9a44271553 100644 --- a/x11-misc/lightdm/lightdm-1.16.0.ebuild +++ b/x11-misc/lightdm/lightdm-1.16.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.x LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="+gtk +introspection kde qt4 +gnome" +IUSE="+gtk +introspection kde qt4 qt5 +gnome" REQUIRED_USE="|| ( gtk kde )" COMMON_DEPEND=">=dev-libs/glib-2.32.3:2 @@ -28,6 +28,11 @@ COMMON_DEPEND=">=dev-libs/glib-2.32.3:2 dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 )" RDEPEND="${COMMON_DEPEND} >=sys-auth/pambase-20101024-r2" @@ -83,7 +88,7 @@ src_configure() { --disable-tests \ $(use_enable introspection) \ $(use_enable qt4 liblightdm-qt) \ - --disable-liblightdm-qt5 \ + $(use_enable qt5 liblightdm-qt5) \ --with-user-session=${_session} \ --with-greeter-session=${_greeter} \ --with-greeter-user=${_user} \ -- 2.26.2