diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-22 23:18:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-22 23:18:20 +0100 |
commit | 820b3cf4687f358703c643bacf3e5a06ccfa4402 (patch) | |
tree | 9cb7c40b4ec609b7d07a8ec876bdd3207d132bb9 /dev-util/cmake/cmake-9999.ebuild | |
parent | f66a06e8f9736ea679bc3e95d8c8e90ff7c3f466 (diff) |
gentoo auto-resync : 22:09:2023 - 23:18:20
Diffstat (limited to 'dev-util/cmake/cmake-9999.ebuild')
-rw-r--r-- | dev-util/cmake/cmake-9999.ebuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/dev-util/cmake/cmake-9999.ebuild b/dev-util/cmake/cmake-9999.ebuild index 1646d11a2bb4..e594109025d5 100644 --- a/dev-util/cmake/cmake-9999.ebuild +++ b/dev-util/cmake/cmake-9999.ebuild @@ -9,8 +9,7 @@ EAPI=8 : ${CMAKE_DOCS_PREBUILT:=1} CMAKE_DOCS_PREBUILT_DEV=sam -#CMAKE_DOCS_VERSION=$(ver_cut 1-3) -CMAKE_DOCS_VERSION=${PV} +CMAKE_DOCS_VERSION=$(ver_cut 1-3) # Default to generating docs (inc. man pages) if no prebuilt; overridden later # See bug #784815 CMAKE_DOCS_USEFLAG="+doc" @@ -60,7 +59,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -IUSE="${CMAKE_DOCS_USEFLAG} dap emacs ncurses qt5 test" +IUSE="${CMAKE_DOCS_USEFLAG} dap emacs gui ncurses test" RESTRICT="!test? ( test )" RDEPEND=" @@ -74,12 +73,10 @@ RDEPEND=" virtual/pkgconfig dap? ( dev-cpp/cppdap ) emacs? ( >=app-editors/emacs-23.1:* ) - ncurses? ( sys-libs/ncurses:0= ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 + gui? ( + dev-qt/qtbase:6[gui,widgets] ) + ncurses? ( sys-libs/ncurses:0= ) " DEPEND="${RDEPEND}" BDEPEND+=" @@ -201,8 +198,10 @@ src_configure() { -DSPHINX_HTML=$(usex doc) -DBUILD_CursesDialog="$(usex ncurses)" -DBUILD_TESTING=$(usex test) + -DBUILD_QtDialog=$(usex gui) ) - use qt5 && mycmakeargs+=( -DBUILD_QtDialog=ON ) + + use gui && mycmakeargs+=( -DCMake_QT_MAJOR_VERSION=6 ) cmake_src_configure } @@ -270,7 +269,7 @@ src_install() { pkg_postinst() { use emacs && elisp-site-regen - if use qt5; then + if use gui; then xdg_icon_cache_update xdg_desktop_database_update xdg_mimeinfo_database_update @@ -280,7 +279,7 @@ pkg_postinst() { pkg_postrm() { use emacs && elisp-site-regen - if use qt5; then + if use gui; then xdg_icon_cache_update xdg_desktop_database_update xdg_mimeinfo_database_update |