cmake-gui: build with Qt6

This commit is contained in:
Đoàn Trần Công Danh 2021-06-22 23:19:40 +07:00 committed by Đoàn Trần Công Danh
parent 700e114430
commit 88b3689921
1 changed files with 6 additions and 5 deletions

View File

@ -1,15 +1,15 @@
# Template file for 'cmake-gui'
pkgname=cmake-gui
version=3.20.3
revision=1
revision=2
wrksrc="cmake-${version}"
build_style=cmake
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
-DBUILD_QtDialog=ON -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DKWSYS_LFS_WORKS=1
-DCMake_GUI_DISTRIBUTE_WITH_Qt_LGPL=3"
hostmakedepends="qt5-devel"
-DSPHINX_MAN=1 -DCMAKE_MAN_DIR=/share/man -DQT_HOST_PATH=/usr
-DBUILD_QtDialog=ON -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DKWSYS_LFS_WORKS=1"
hostmakedepends="qt6-base-devel python3-Sphinx"
makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
ncurses-devel qt5-devel rhash-devel"
ncurses-devel qt6-base-devel rhash-devel"
depends="desktop-file-utils shared-mime-info cmake>=${version}"
checkdepends="pax pkg-config"
short_desc="Cross-platform, open-source build system - Qt GUI"
@ -27,6 +27,7 @@ make_cmd=make
do_install() {
# We are only interested in cmake-gui.
vbin build/bin/cmake-gui
vman build/Utilities/Sphinx/man/cmake-gui.1
for res in 32 64 128 ; do
vinstall Source/QtDialog/CMakeSetup${res}.png 0644 \