diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-23 05:18:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-23 05:18:59 +0100 |
commit | 27fccc1801092355fdf16a4ffcbf7a58a163e335 (patch) | |
tree | e042e839dfaecb316faee1131254f0edc01f7af8 /dev-util/cmake/cmake-9999.ebuild | |
parent | 820b3cf4687f358703c643bacf3e5a06ccfa4402 (diff) |
gentoo auto-resync : 23:09:2023 - 05:18:59
Diffstat (limited to 'dev-util/cmake/cmake-9999.ebuild')
-rw-r--r-- | dev-util/cmake/cmake-9999.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-util/cmake/cmake-9999.ebuild b/dev-util/cmake/cmake-9999.ebuild index e594109025d5..f6edfcf41871 100644 --- a/dev-util/cmake/cmake-9999.ebuild +++ b/dev-util/cmake/cmake-9999.ebuild @@ -59,7 +59,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -IUSE="${CMAKE_DOCS_USEFLAG} dap emacs gui ncurses test" +IUSE="${CMAKE_DOCS_USEFLAG} dap emacs gui ncurses qt6 test" RESTRICT="!test? ( test )" RDEPEND=" @@ -74,9 +74,14 @@ RDEPEND=" dap? ( dev-cpp/cppdap ) emacs? ( >=app-editors/emacs-23.1:* ) gui? ( - dev-qt/qtbase:6[gui,widgets] + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) ) - ncurses? ( sys-libs/ncurses:0= ) + ncurses? ( sys-libs/ncurses:= ) " DEPEND="${RDEPEND}" BDEPEND+=" @@ -201,7 +206,7 @@ src_configure() { -DBUILD_QtDialog=$(usex gui) ) - use gui && mycmakeargs+=( -DCMake_QT_MAJOR_VERSION=6 ) + use gui && mycmakeargs+=( -DCMake_QT_MAJOR_VERSION=$(usex qt6 6 5) ) cmake_src_configure } |