summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-01 13:23:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-01 13:23:30 +0100
commit847549cb62c20083bf23ddb340280f1544db08b4 (patch)
tree501f8e649e8ab816ca4a7d6cde8636b19e76b0e0
parentd6f691d9bbb2d57e0b8c1182579783b29aa26385 (diff)
downloadkde-847549cb62c20083bf23ddb340280f1544db08b4.tar.gz
kde-847549cb62c20083bf23ddb340280f1544db08b4.tar.bz2
kde-847549cb62c20083bf23ddb340280f1544db08b4.zip
kde-plasma/plasma-desktop: Add informational pkg_postinst messages
USE legacy-systray moved into plasma-meta. Users of minimal plasma-desktop setups can figure out on their own, but let's reward attention to elog. Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild14
-rw-r--r--kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild14
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
+}