summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-03-03 18:43:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-03-11 10:50:22 +0100
commit3706916926b85f1acbccd98137346099982536af (patch)
tree4e973ab9715b1151f8a4b460244da3ff8e7088ef /net-irc/konversation
parentkde-misc/krusader: Add konsole view optfeature (diff)
downloadgentoo-3706916926b85f1acbccd98137346099982536af.tar.gz
gentoo-3706916926b85f1acbccd98137346099982536af.tar.bz2
gentoo-3706916926b85f1acbccd98137346099982536af.zip
net-irc/konversation: Add konsole view optfeature
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-irc/konversation')
-rw-r--r--net-irc/konversation/konversation-23.08.5.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-irc/konversation/konversation-23.08.5.ebuild b/net-irc/konversation/konversation-23.08.5.ebuild
index d1d0fc64f012..82a8ada7d872 100644
--- a/net-irc/konversation/konversation-23.08.5.ebuild
+++ b/net-irc/konversation/konversation-23.08.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
ECM_HANDBOOK="forceoptional"
KFMIN=5.106.0
QTMIN=5.15.9
-inherit ecm gear.kde.org
+inherit ecm gear.kde.org optfeature
DESCRIPTION="User friendly IRC Client"
HOMEPAGE="https://konversation.kde.org https://apps.kde.org/konversation/"
@@ -70,3 +70,10 @@ src_install() {
insinto /etc/xdg
doins "${FILESDIR}"/konversationrc
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "konsole view" "kde-apps/konsolepart:5" "kde-apps/konsole:5"
+ fi
+ ecm_pkg_postinst
+}