commit:     31631c72742eca0d4c60a6581164110c8e1fd4fc
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  3 18:08:54 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 18:08:54 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=31631c72

[kde-plasma/kinfocenter] kde-misc/about-distro was merged in.

Upstream commit: 3cd2ac16829fdbf56d45378da797da4cb125891d

Package-Manager: portage-2.2.18

 kde-plasma/kinfocenter/files/kcm-about-distrorc |  4 ++++
 kde-plasma/kinfocenter/kinfocenter-9999.ebuild  | 12 ++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/kde-plasma/kinfocenter/files/kcm-about-distrorc 
b/kde-plasma/kinfocenter/files/kcm-about-distrorc
new file mode 100644
index 0000000..bdae77a
--- /dev/null
+++ b/kde-plasma/kinfocenter/files/kcm-about-distrorc
@@ -0,0 +1,4 @@
+[General]
+Name=Gentoo Linux
+LogoPath=/usr/share/kinfocenter/glogo-small.png
+Website=http://www.gentoo.org/

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index c1e3b6c..91814e2 100644
--- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
@@ -9,6 +9,7 @@ inherit kde5
 
 DESCRIPTION="A utility that provides information about a computer system"
 HOMEPAGE="http://www.kde.org/applications/system/kinfocenter/";
+SRC_URI+=" http://www.gentoo.org/images/glogo-small.png";
 KEYWORDS=""
 IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland X"
 
@@ -50,6 +51,7 @@ COMMON_DEPEND="
        X? ( x11-libs/libX11 )
        !kde-base/kcontrol
        !kde-base/kinfocenter
+       !kde-misc/about-distro
 "
 RDEPEND="${COMMON_DEPEND}
        $(add_plasma_dep kde-cli-tools)
@@ -71,3 +73,13 @@ src_configure() {
 
        kde5_src_configure
 }
+
+src_install() {
+       kde5_src_install
+
+       insinto /etc/xdg
+       doins "${FILESDIR}"/kcm-about-distrorc
+
+       insinto /usr/share/${PN}
+       doins "${DISTDIR}"/glogo-small.png
+}

Reply via email to