summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-09-16 15:14:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2015-09-16 15:14:48 +0200
commit38a27722d7d2d575a30a4c9e6e9ae534281ef15b (patch)
tree3007121bb736663ae6dc5d6f97ea04e4c84d3ae7 /x11-misc
parentdev-libs/libgaminggear: Fix Manifest for missing file wrt bug 560590 (diff)
downloadgentoo-38a27722d7d2d575a30a4c9e6e9ae534281ef15b.tar.gz
gentoo-38a27722d7d2d575a30a4c9e6e9ae534281ef15b.tar.bz2
gentoo-38a27722d7d2d575a30a4c9e6e9ae534281ef15b.zip
x11-misc/lightdm: Added qt5 support with kind permission from hwoarang.
Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lightdm/lightdm-1.16.0.ebuild9
1 files 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} \