commit:     294e1d5bdb635e799b1011584fe182d7ee40ca4e
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Sep 26 14:28:41 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Sep 26 14:28:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=294e1d5b

gui-apps/nwg-displays: fix RDEPEND

Closes: https://bugs.gentoo.org/933285
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../{nwg-displays-0.3.20.ebuild => nwg-displays-0.3.20-r1.ebuild}   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gui-apps/nwg-displays/nwg-displays-0.3.20.ebuild 
b/gui-apps/nwg-displays/nwg-displays-0.3.20-r1.ebuild
similarity index 80%
rename from gui-apps/nwg-displays/nwg-displays-0.3.20.ebuild
rename to gui-apps/nwg-displays/nwg-displays-0.3.20-r1.ebuild
index 1e190ccf1..8fbe309ca 100644
--- a/gui-apps/nwg-displays/nwg-displays-0.3.20.ebuild
+++ b/gui-apps/nwg-displays/nwg-displays-0.3.20-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
-inherit desktop distutils-r1 xdg-utils
+inherit desktop distutils-r1 optfeature xdg-utils
 
 DESCRIPTION="Output management utility for sway and Hyprland"
 HOMEPAGE="https://github.com/nwg-piotr/nwg-displays";
@@ -15,7 +15,9 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
        gui-apps/wlr-randr
+       gui-libs/gtk-layer-shell[introspection]
        x11-libs/gtk+:3
 "
 DEPEND="${RDEPEND}"
@@ -28,6 +30,8 @@ python_install_all() {
 
 pkg_postinst() {
        xdg_desktop_database_update
+
+       optfeature "i3 support" dev-python/i3ipc
 }
 
 pkg_postrm() {

Reply via email to