Сравнение cmake-3.27.6 с cmake-3.27.6-r1

/usr/portage/dev-util/cmake/cmake-3.27.6-r1.ebuild 2023-10-09 14:52:30.952368387 +0300
60 60

  
61 61
LICENSE="BSD"
62 62
SLOT="0"
63
IUSE="${CMAKE_DOCS_USEFLAG} dap emacs ncurses qt5 test"
63
IUSE="${CMAKE_DOCS_USEFLAG} dap emacs gui ncurses qt6 test"
64 64
RESTRICT="!test? ( test )"
65 65

  
66 66
RDEPEND="
......
74 74
	virtual/pkgconfig
75 75
	dap? ( dev-cpp/cppdap )
76 76
	emacs? ( >=app-editors/emacs-23.1:* )
77
	ncurses? ( sys-libs/ncurses:0= )
78
	qt5? (
79
		dev-qt/qtcore:5
80
		dev-qt/qtgui:5
81
		dev-qt/qtwidgets:5
77
	gui? (
78
		!qt6? (
79
			dev-qt/qtcore:5
80
			dev-qt/qtgui:5
81
			dev-qt/qtwidgets:5
82
		)
83
		qt6? ( dev-qt/qtbase:6[gui,widgets] )
82 84
	)
85
	ncurses? ( sys-libs/ncurses:= )
83 86
"
84 87
DEPEND="${RDEPEND}"
85 88
BDEPEND+="
......
204 207
		-DSPHINX_HTML=$(usex doc)
205 208
		-DBUILD_CursesDialog="$(usex ncurses)"
206 209
		-DBUILD_TESTING=$(usex test)
210
		-DBUILD_QtDialog=$(usex gui)
207 211
	)
208
	use qt5 && mycmakeargs+=( -DBUILD_QtDialog=ON )
212

  
213
	use gui && mycmakeargs+=( -DCMake_QT_MAJOR_VERSION=$(usex qt6 6 5) )
209 214

  
210 215
	cmake_src_configure
211 216
}
......
273 278
pkg_postinst() {
274 279
	use emacs && elisp-site-regen
275 280

  
276
	if use qt5; then
281
	if use gui; then
277 282
		xdg_icon_cache_update
278 283
		xdg_desktop_database_update
279 284
		xdg_mimeinfo_database_update
......
283 288
pkg_postrm() {
284 289
	use emacs && elisp-site-regen
285 290

  
286
	if use qt5; then
291
	if use gui; then
287 292
		xdg_icon_cache_update
288 293
		xdg_desktop_database_update
289 294
		xdg_mimeinfo_database_update
Спасибо!