commit: b61d5211e9565557ad067c3c2042ad3a807569a9 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sun Jul 3 18:19:43 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Wed Jul 20 17:18:46 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b61d5211
kde-plasma/kinfocenter: Drop USE="nfs,samba", add pkg_postinst messages Pulling in Samba to be able to retrieve information about it - there is no good reason to make Portage waste time on these. Package-Manager: portage-2.2.28 kde-plasma/kinfocenter/kinfocenter-5.7.49.9999.ebuild | 13 ++++++++++--- kde-plasma/kinfocenter/kinfocenter-9999.ebuild | 13 ++++++++++--- kde-plasma/kinfocenter/metadata.xml | 2 -- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/kde-plasma/kinfocenter/kinfocenter-5.7.49.9999.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.7.49.9999.ebuild index f61f836..8f81aee 100644 --- a/kde-plasma/kinfocenter/kinfocenter-5.7.49.9999.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-5.7.49.9999.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="A utility that provides information about a computer system" HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/" SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-small.png" KEYWORDS="" -IUSE="egl gles2 ieee1394 nfs +opengl +pci samba wayland" +IUSE="egl gles2 ieee1394 +opengl +pci wayland" REQUIRED_USE="egl? ( || ( gles2 opengl ) )" @@ -50,8 +50,6 @@ DEPEND="${COMMON_DEPEND} $(add_frameworks_dep plasma) " RDEPEND="${COMMON_DEPEND} - nfs? ( net-fs/nfs-utils ) - samba? ( net-fs/samba[server(+)] ) $(add_plasma_dep kde-cli-tools) !kde-base/kcontrol:4 !kde-base/kinfocenter:4 @@ -80,3 +78,12 @@ src_install() { insinto /usr/share/${PN} doins "${DISTDIR}"/glogo-small.png } + +pkg_postinst() { + if ! has_version "net-fs/nfs-utils"; then + einfo "Installing net-fs/nfs-utils will enable the NFS information module." + fi + if ! has_version "net-fs/samba" || ! has_version "net-fs/samba[server]"; then + einfo "Installing net-fs/samba[server(+)] will enable the Samba status information module." + fi +} diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild index f61f836..8f81aee 100644 --- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="A utility that provides information about a computer system" HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/" SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-small.png" KEYWORDS="" -IUSE="egl gles2 ieee1394 nfs +opengl +pci samba wayland" +IUSE="egl gles2 ieee1394 +opengl +pci wayland" REQUIRED_USE="egl? ( || ( gles2 opengl ) )" @@ -50,8 +50,6 @@ DEPEND="${COMMON_DEPEND} $(add_frameworks_dep plasma) " RDEPEND="${COMMON_DEPEND} - nfs? ( net-fs/nfs-utils ) - samba? ( net-fs/samba[server(+)] ) $(add_plasma_dep kde-cli-tools) !kde-base/kcontrol:4 !kde-base/kinfocenter:4 @@ -80,3 +78,12 @@ src_install() { insinto /usr/share/${PN} doins "${DISTDIR}"/glogo-small.png } + +pkg_postinst() { + if ! has_version "net-fs/nfs-utils"; then + einfo "Installing net-fs/nfs-utils will enable the NFS information module." + fi + if ! has_version "net-fs/samba" || ! has_version "net-fs/samba[server]"; then + einfo "Installing net-fs/samba[server(+)] will enable the Samba status information module." + fi +} diff --git a/kde-plasma/kinfocenter/metadata.xml b/kde-plasma/kinfocenter/metadata.xml index a7b6bc1..66b716b 100644 --- a/kde-plasma/kinfocenter/metadata.xml +++ b/kde-plasma/kinfocenter/metadata.xml @@ -8,8 +8,6 @@ <use> <flag name="egl">Retrieve information about OpenGL via EGL</flag> <flag name="gles2">Show OpenGL ES information in kinfocenter</flag> - <flag name="nfs">Show information about NFS mounts, shares and log entries</flag> <flag name="pci">Show advanced PCI information</flag> - <flag name="samba">Show information about Samba mounts, shares and log entries</flag> </use> </pkgmetadata>
