commit:     ec5135aa73a2e56a73df28b4342375b0097be53a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  3 06:37:57 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun  3 06:39:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5135aa

x11-terms/kitty: advertise startup-notification optfeature

Closes: https://bugs.gentoo.org/933447
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/kitty-0.35.1.ebuild | 1 +
 x11-terms/kitty/kitty-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/x11-terms/kitty/kitty-0.35.1.ebuild 
b/x11-terms/kitty/kitty-0.35.1.ebuild
index a0231858ba9b..77384a8a8578 100644
--- a/x11-terms/kitty/kitty-0.35.1.ebuild
+++ b/x11-terms/kitty/kitty-0.35.1.ebuild
@@ -188,5 +188,6 @@ pkg_postinst() {
        xdg_pkg_postinst
 
        optfeature "audio-based terminal bell support" media-libs/libcanberra
+       use X && optfeature "X11 startup notification support" 
x11-libs/startup-notification
        optfeature "opening links from the terminal" x11-misc/xdg-utils
 }

diff --git a/x11-terms/kitty/kitty-9999.ebuild 
b/x11-terms/kitty/kitty-9999.ebuild
index a0231858ba9b..77384a8a8578 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -188,5 +188,6 @@ pkg_postinst() {
        xdg_pkg_postinst
 
        optfeature "audio-based terminal bell support" media-libs/libcanberra
+       use X && optfeature "X11 startup notification support" 
x11-libs/startup-notification
        optfeature "opening links from the terminal" x11-misc/xdg-utils
 }

Reply via email to