projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03484f8
)
kde5.eclass: introduce forceoptional value for KDE_TEST
author
Michael Palimaka
<kensington@gentoo.org>
Wed, 4 Nov 2015 18:52:29 +0000
(
05:52
+1100)
committer
Michael Palimaka
<kensington@gentoo.org>
Fri, 13 Nov 2015 17:18:50 +0000
(
04:18
+1100)
eclass/kde5.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5.eclass
b/eclass/kde5.eclass
index 7a5d2222eb50a4c1160d9b644fb8611e7bc9cb2d..0f50623e4ff0f163b662318b75466abf9068c9b5 100644
(file)
--- a/
eclass/kde5.eclass
+++ b/
eclass/kde5.eclass
@@
-93,6
+93,8
@@
fi
# @DESCRIPTION:
# If set to "false", do nothing.
# For any other value, add test to IUSE and add a dependency on dev-qt/qttest:5.
+# If set to "forceoptional", remove a Qt5Test dependency from the root
+# CMakeLists.txt in addition to the above.
if [[ ${CATEGORY} = kde-frameworks ]]; then
: ${KDE_TEST:=true}
else
@@
-466,6
+468,12
@@
kde5_src_prepare() {
fi
fi
+ if [[ ${KDE_TEST} = forceoptional ]] ; then
+ if ! use_if_iuse test ; then
+ punt_bogus_dep Qt5 Test
+ fi
+ fi
+
cmake-utils_src_prepare
}