commit:     1fe3e159570d1fc27db5086b084b1dae4860fac2
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 23:45:26 2017 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 23:45:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe3e159

net-irc/konversation: Add Gentoo support channels to default channel list, bug 
616162

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 net-irc/konversation/files/konversationrc      | 24 ++++++++++++++++++++++++
 net-irc/konversation/konversation-1.6.2.ebuild | 10 +++++++++-
 net-irc/konversation/konversation-1.7.ebuild   |  8 ++++++++
 3 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/net-irc/konversation/files/konversationrc 
b/net-irc/konversation/files/konversationrc
new file mode 100644
index 00000000000..932374b6bf4
--- /dev/null
+++ b/net-irc/konversation/files/konversationrc
@@ -0,0 +1,24 @@
+[Channel 0]
+Name=#gentoo
+
+[Channel 1]
+Name=#gentoo-desktop
+
+[Channel 2]
+Name=#gentoo-kde
+
+[Channel 3]
+Name=#gentoo-xfce
+
+[Server 0]
+Port=8001
+SSLEnabled=false
+Server=chat.freenode.net
+
+[ServerGroup 0]
+AutoConnect=false
+AutoJoinChannels=Channel 0,Channel 1,Channel 2,Channel 3
+EnableNotifications=true
+Expanded=false
+Name=Freenode
+ServerList=Server 0

diff --git a/net-irc/konversation/konversation-1.6.2.ebuild 
b/net-irc/konversation/konversation-1.6.2.ebuild
index 8eaa85aa7bc..2ce37c41475 100644
--- a/net-irc/konversation/konversation-1.6.2.ebuild
+++ b/net-irc/konversation/konversation-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -63,3 +63,11 @@ src_configure() {
 
        kde5_src_configure
 }
+
+src_install() {
+       kde5_src_install
+
+       # Bug 616162
+       insinto /etc/xdg
+       doins "${FILESDIR}"/konversationrc
+}

diff --git a/net-irc/konversation/konversation-1.7.ebuild 
b/net-irc/konversation/konversation-1.7.ebuild
index 41abe5502ae..e41f158e7e7 100644
--- a/net-irc/konversation/konversation-1.7.ebuild
+++ b/net-irc/konversation/konversation-1.7.ebuild
@@ -63,3 +63,11 @@ src_configure() {
 
        kde5_src_configure
 }
+
+src_install() {
+       kde5_src_install
+
+       # Bug 616162
+       insinto /etc/xdg
+       doins "${FILESDIR}"/konversationrc
+}

Reply via email to