commit: b1353ca9973df18767968e2619c9fc6863426586 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Sep 9 17:38:17 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Sep 9 17:38:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1353ca9
app-editors/featherpad: fix qt5 qt6 USE flags Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-editors/featherpad/featherpad-1.4.1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app-editors/featherpad/featherpad-1.4.1.ebuild b/app-editors/featherpad/featherpad-1.4.1.ebuild index 69a1e0841b09..f39d1be78c82 100644 --- a/app-editors/featherpad/featherpad-1.4.1.ebuild +++ b/app-editors/featherpad/featherpad-1.4.1.ebuild @@ -13,12 +13,11 @@ S="${WORKDIR}/FeatherPad-${PV}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~riscv ~x86" -IUSE="+qt5 qt6 +X" -REQUIRED_USE="^^ ( qt5 qt6 )" +IUSE="qt6 +X" RDEPEND=" app-text/hunspell:= - qt5? ( + !qt6? ( dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 @@ -37,14 +36,14 @@ DEPEND="${RDEPEND} X? ( x11-base/xorg-proto ) " BDEPEND=" - qt5? ( dev-qt/linguist-tools:5 ) + !qt6? ( dev-qt/linguist-tools:5 ) qt6? ( dev-qt/qttools:6[linguist] ) " src_configure() { local mycmakeargs=( -DWITHOUT_X11=$(usex !X) - -DENABLE_QT5=$(usex qt5) + -DENABLE_QT5=$(usex !qt6) ) cmake_src_configure }