commit:     a1590906e4284e3cb3f6e8e2e6c21e2213ad4854
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 29 20:13:22 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 29 20:14:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1590906

x11-themes/qtcurve: Drop IUSE nls to make (un)conditional on IUSE Plasma

Closes: https://bugs.gentoo.org/955076
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-themes/qtcurve/qtcurve-1.9.0_p20250314.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/x11-themes/qtcurve/qtcurve-1.9.0_p20250314.ebuild 
b/x11-themes/qtcurve/qtcurve-1.9.0_p20250314.ebuild
index 6d3c1d0ef224..2594c0560ce9 100644
--- a/x11-themes/qtcurve/qtcurve-1.9.0_p20250314.ebuild
+++ b/x11-themes/qtcurve/qtcurve-1.9.0_p20250314.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://invent.kde.org/system/qtcurve";
 LICENSE="LGPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gtk nls plasma qt5 +qt6 test X"
+IUSE="gtk plasma qt5 +qt6 test X"
 
 REQUIRED_USE="gtk? ( X )
        || ( gtk qt5 qt6 )
@@ -59,8 +59,10 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="
        virtual/pkgconfig
-       nls? ( sys-devel/gettext )
-       plasma? ( kde-frameworks/extra-cmake-modules:0 )
+       plasma? (
+               kde-frameworks/extra-cmake-modules:0
+               kde-frameworks/ki18n:6
+       )
 "
 
 DOCS=( AUTHORS ChangeLog.md README.md TODO.md )
@@ -71,7 +73,7 @@ src_configure() {
                -DQTC_QT4_ENABLE_KDE=OFF
                -DQTC_KDE4_DEFAULT_HOME=ON
                -DENABLE_GTK2=$(usex gtk)
-               -DQTC_INSTALL_PO=$(usex nls)
+               -DQTC_INSTALL_PO=$(usex plasma)
                -DENABLE_QT5=$(usex qt5)
                -DENABLE_QT6=$(usex qt6)
                -DQTC_QT6_ENABLE_KDE=$(usex plasma)

Reply via email to