summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-11-17 19:39:02 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-11-17 19:39:02 +1100
commitae7cc637ccccba91b776ac282172c6274738d15e (patch)
tree085f9c5c012a029ea0b6716640080754590c383c
parentbbf458035ecf00803a0442a691b1ad44a058afb4 (diff)
downloadkde-ae7cc637ccccba91b776ac282172c6274738d15e.tar.gz
kde-ae7cc637ccccba91b776ac282172c6274738d15e.tar.bz2
kde-ae7cc637ccccba91b776ac282172c6274738d15e.zip
[kde-base/print-manager] Restore 896009a47447bc00c15a7b597152968b34e9f433 which was accidentally never applied to the live ebuild.
Package-Manager: portage-2.2.14
-rw-r--r--kde-base/print-manager/print-manager-4.14.49.9999.ebuild21
1 files changed, 19 insertions, 2 deletions
diff --git a/kde-base/print-manager/print-manager-4.14.49.9999.ebuild b/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
index c436164dc52..4c7ad8c6f4d 100644
--- a/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
+++ b/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
@@ -8,7 +8,7 @@ inherit kde4-base
DESCRIPTION="Manage print jobs and printers in KDE"
KEYWORDS=""
-IUSE="debug"
+IUSE="debug +gtk"
DEPEND="
>=net-print/cups-1.5.0[dbus]
@@ -17,5 +17,22 @@ RDEPEND="${DEPEND}
!kde-base/printer-applet:4
!kde-base/system-config-printer-kde:4
!kde-misc/print-manager
- app-admin/system-config-printer-gnome
+ gtk? ( app-admin/system-config-printer-gnome )
"
+
+pkg_postinst(){
+ if ! use gtk ; then
+ ewarn
+ ewarn "By switching off \"gtk\" USE flag, you have chosen to do without"
+ ewarn "an important, though optional, runtime dependency:"
+ ewarn
+ ewarn "app-admin/system-config-printer-gnome"
+ ewarn
+ ewarn "${PN} will work nevertheless, but is going to be less comfortable"
+ ewarn "and will show the following error status during runtime:"
+ ewarn
+ ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing"
+ ewarn "was not provided by any .service files'\""
+ ewarn
+ fi
+}