diff options
| author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-04-07 14:32:01 +0200 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2016-04-07 23:30:05 +1000 |
| commit | 28ec150a82a01be385fc26d07995a9fd30cbf45c (patch) | |
| tree | 4b42c407612f5713e38086315e91199a0ac7c5a7 /eclass | |
| parent | ebb1cb1b2e4883b8381606c3f7e2def25f764499 (diff) | |
| download | kde-28ec150a82a01be385fc26d07995a9fd30cbf45c.tar.gz kde-28ec150a82a01be385fc26d07995a9fd30cbf45c.tar.bz2 kde-28ec150a82a01be385fc26d07995a9fd30cbf45c.zip | |
kde5.eclass: Add warning for kf5 applications in Plasma-4
Copied and adapted from kde4-base.eclass.
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde5.eclass | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index ed426b5d93a..4c264d03edd 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -709,6 +709,23 @@ kde5_pkg_postinst() { gnome2_icon_cache_update xdg_pkg_postinst + + if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then + if [[ ${KDE_BUILD_TYPE} = live ]]; then + echo + einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}" + einfo "Use it at your own risk." + einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" + fi + # for kf5-based applications tell user that he SHOULD NOT be using kde-base/plasma-workspace + if [[ ${KDEBASE} != kde-base || ${CATEGORY} = kde-apps ]] && \ + has_version 'kde-base/plasma-workspace'; then + echo + ewarn "WARNING! Your system configuration still contains \"kde-base/plasma-workspace\"," + ewarn "indicating a Plasma 4 setup. With this setting you are unsupported by KDE team." + ewarn "Please consider upgrading to Plasma 5." + fi + fi } # @FUNCTION: kde5_pkg_postrm |
