summaryrefslogtreecommitdiff
path: root/kde-plasma/kinfocenter
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kinfocenter')
-rw-r--r--kde-plasma/kinfocenter/Manifest2
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-5.15.2-r1337.ebuild (renamed from kde-plasma/kinfocenter/kinfocenter-5.15.1-r1337.ebuild)35
2 files changed, 22 insertions, 15 deletions
diff --git a/kde-plasma/kinfocenter/Manifest b/kde-plasma/kinfocenter/Manifest
index 8cc9ec0d..3122d19a 100644
--- a/kde-plasma/kinfocenter/Manifest
+++ b/kde-plasma/kinfocenter/Manifest
@@ -1 +1 @@
-DIST kinfocenter-5.15.1.tar.xz 1322104 BLAKE2B bca9c913d6ea6a23f9bd99c5d5468b5aa7d7e3878f5b60a49f3f071947379304a2763e594ded801353723957491f6ceb814f1be05cb98e87b65c6f6ab157094f SHA512 42c5b406267dc498583ed3b8f4a27f5332eb0158d77a20d6223e1535e4075ca522a7e7405b6a25c565364bfd10b2d60ce093486968666afffa1abe137a49f717
+DIST kinfocenter-5.15.2.tar.xz 1324304 BLAKE2B e37458b21a1f0c8ed0450a8ceb7da44528cce068e70c9f0e6f98084778bcda3bd0f7b276e42fc40f1d622c71cd0337807f121af42d425e957cc594d7195ea1cb SHA512 8480885d064d6c9d6ad71c923f51fe58a7c661bd869e901b84ac103c1795253116091cb6db7f17d563d4c1e6d97d8bee9b27f2b1324fbee6b753a6b7b0a0d5cf
diff --git a/kde-plasma/kinfocenter/kinfocenter-5.15.1-r1337.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.15.2-r1337.ebuild
index f2c34829..fb58ed84 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.15.1-r1337.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.15.2-r1337.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-KDE_HANDBOOK="true"
+CMAKE_MAKEFILE_GENERATOR="emake" # FIXME
+KDE_HANDBOOK="forceoptional"
inherit kde5
-DESCRIPTION="A utility that provides information about a computer system"
+DESCRIPTION="Utility providing information about the computer hardware"
HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="gles2 ieee1394 +opengl +pci wayland"
REQUIRED_USE="wayland? ( || ( gles2 opengl ) )"
@@ -52,21 +53,24 @@ DEPEND="${COMMON_DEPEND}
"
RDEPEND="${COMMON_DEPEND}
$(add_plasma_dep kde-cli-tools)
+ $(add_qt_dep qtquickcontrols2)
!kde-apps/kcontrol:4
- !kde-misc/about-distro
- !kde-plasma/kinfocenter:4
"
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package gles2 OpenGLES)
$(cmake-utils_use_find_package ieee1394 RAW1394)
- $(cmake-utils_use_find_package opengl OpenGL)
$(cmake-utils_use_find_package pci PCIUTILS)
$(cmake-utils_use_find_package wayland EGL)
$(cmake-utils_use_find_package wayland KF5Wayland)
)
+ if has_version "dev-qt/qtgui[gles2]"; then
+ mycmakeargs+=( $(cmake-utils_use_find_package gles2 OpenGLES) )
+ else
+ mycmakeargs+=( $(cmake-utils_use_find_package opengl OpenGL) )
+ fi
+
kde5_src_configure
}
@@ -81,10 +85,13 @@ src_install() {
}
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."
+ kde5_pkg_postinst
+
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ has_version "net-fs/nfs-utils" || \
+ elog "Installing net-fs/nfs-utils will enable the NFS information module."
+
+ has_version "net-fs/samba" || \
+ elog "Installing net-fs/samba will enable the Samba status information module."
fi
}