summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-11-12 14:56:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-12 16:12:05 +0100
commitce70cec84584aa56cdfbfd69534bfd10d51e71cf (patch)
tree89f26b38a5cc1f7e6501d727bb64dd64d8b31cc8 /x11-misc/sddm
parentx11-misc/sddm: Drop old (diff)
downloadgentoo-ce70cec84584aa56cdfbfd69534bfd10d51e71cf.tar.gz
gentoo-ce70cec84584aa56cdfbfd69534bfd10d51e71cf.tar.bz2
gentoo-ce70cec84584aa56cdfbfd69534bfd10d51e71cf.zip
x11-misc/sddm: Make qttest:5 optional
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'x11-misc/sddm')
-rw-r--r--x11-misc/sddm/sddm-0.16.0-r3.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-misc/sddm/sddm-0.16.0-r3.ebuild b/x11-misc/sddm/sddm-0.16.0-r3.ebuild
index 17284874ff8b..aa78c82fcbd8 100644
--- a/x11-misc/sddm/sddm-0.16.0-r3.ebuild
+++ b/x11-misc/sddm/sddm-0.16.0-r3.ebuild
@@ -13,15 +13,15 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
SLOT="0"
-IUSE="consolekit elogind +pam systemd"
+IUSE="consolekit elogind +pam systemd test"
REQUIRED_USE="?? ( elogind systemd )"
RDEPEND="
>=dev-qt/qtcore-5.6:5
>=dev-qt/qtdbus-5.6:5
- >=dev-qt/qtgui-5.6:5
>=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtgui-5.6:5
>=dev-qt/qtnetwork-5.6:5
>=x11-base/xorg-server-1.15.1
x11-libs/libxcb[xkb]
@@ -34,9 +34,9 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-python/docutils
>=dev-qt/linguist-tools-5.6:5
- >=dev-qt/qttest-5.6:5
kde-frameworks/extra-cmake-modules
- virtual/pkgconfig"
+ virtual/pkgconfig
+ test? ( >=dev-qt/qttest-5.6:5 )"
PATCHES=(
"${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" # fix for flags handling and bug 563108
@@ -52,6 +52,8 @@ src_prepare() {
}
l10n_find_plocales_changes "data/translations" "" ".ts"
l10n_for_each_disabled_locale_do disable_locale
+
+ use test || cmake_comment_add_subdirectory test
}
src_configure() {