commit:     911e01a662f38b6c1e8533049162f5882f34159e
Author:     end222 <pabloorduna98 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 20 13:07:28 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 05:31:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911e01a6

x11-terms/kitty: add imagemagick as optfeature

Signed-off-by: Pablo Orduna <pabloorduna98 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14715
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-terms/kitty/kitty-0.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-terms/kitty/kitty-0.16.0.ebuild 
b/x11-terms/kitty/kitty-0.16.0.ebuild
index c62b5d65569..eff516cfcba 100644
--- a/x11-terms/kitty/kitty-0.16.0.ebuild
+++ b/x11-terms/kitty/kitty-0.16.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit python-single-r1 toolchain-funcs xdg
+inherit python-single-r1 toolchain-funcs xdg eutils
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git";
@@ -38,7 +38,6 @@ RDEPEND="
        x11-libs/libXrandr
        sys-apps/dbus
        sys-libs/zlib
-       virtual/imagemagick-tools
        wayland? (
                dev-libs/wayland
                >=dev-libs/wayland-protocols-1.17
@@ -94,6 +93,7 @@ src_install() {
 
 pkg_postinst() {
        xdg_icon_cache_update
+       optfeature "Displaying images in the terminal" virtual/imagemagick-tools
 }
 
 pkg_postrm() {

Reply via email to