diff options
| -rw-r--r-- | kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild | 14 | ||||
| -rw-r--r-- | kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild index d9d9a788580..dd5f1039446 100644 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild @@ -147,3 +147,17 @@ src_test() { kde5_src_test } + +pkg_postinst() { + kde5_pkg_postinst + + if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ; then + elog "For Qt4 applications legacy-systray support, please install dev-libs/sni-qt." + fi + if has_version "x11-libs/gtk+:2" && ! has_version "dev-libs/libappindicator:2"; then + elog "For GTK+2 applications legacy-systray support, please install dev-libs/libappindicator:2." + fi + if has_version "x11-libs/gtk+:3" && ! has_version "dev-libs/libappindicator:3"; then + elog "For GTK+3 applications legacy-systray support, please install dev-libs/libappindicator:3." + fi +} diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild index d9d9a788580..dd5f1039446 100644 --- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild +++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild @@ -147,3 +147,17 @@ src_test() { kde5_src_test } + +pkg_postinst() { + kde5_pkg_postinst + + if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ; then + elog "For Qt4 applications legacy-systray support, please install dev-libs/sni-qt." + fi + if has_version "x11-libs/gtk+:2" && ! has_version "dev-libs/libappindicator:2"; then + elog "For GTK+2 applications legacy-systray support, please install dev-libs/libappindicator:2." + fi + if has_version "x11-libs/gtk+:3" && ! has_version "dev-libs/libappindicator:3"; then + elog "For GTK+3 applications legacy-systray support, please install dev-libs/libappindicator:3." + fi +} |
