xfce-extra/xfce4-pulseaudio-plugin: elog about needed external mixer
authorMichał Górny <mgorny@gentoo.org>
Sat, 26 Aug 2017 17:46:08 +0000 (19:46 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 26 Aug 2017 17:46:44 +0000 (19:46 +0200)
Bug: https://bugs.gentoo.org/628970

xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.2.5.ebuild

index b4ca786af480543c1f0e31ca4ddfb168a1003c50..ebb6f36034774a5e21daeaf034864a868f611a36 100644 (file)
@@ -44,6 +44,15 @@ src_install() {
 
 pkg_postinst() {
        gnome2_icon_cache_update
+
+       if ! has_version media-sound/pavucontrol; then
+               elog "For the 'audio mixer...' shortcut to work, you need to install"
+               elog "an external mixer application. Please either install:"
+               elog
+               elog "  media-sound/pavucontrol"
+               elog
+               elog "or specify another application to use in the 'Properties' dialog."
+       fi
 }
 
 pkg_postrm() {