cmake-gui: update to 3.19.0

This commit is contained in:
Nathan Owens 2020-11-19 19:18:01 -06:00 committed by Đoàn Trần Công Danh
parent ec406e22ef
commit 475ca26d9c
2 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,27 @@
From 544abc16419065c009361b9627f69665471cfb6d Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Fri, 20 Nov 2020 22:24:08 -0600
Subject: [PATCH] Disable try_run
If cross-building, try_run cannot run during
cross-build so cause build to fail
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git CMakeLists.txt CMakeLists.txt
index 2d860d4..c14a203 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -61,7 +61,7 @@ if("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
if(CMAKE_TRY_COMPILE_OSX_ARCHITECTURES)
message(FATAL_ERROR "TRY_RUN not allowed with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES=[${CMAKE_TRY_COMPILE_OSX_ARCHITECTURES}]")
else()
- _TRY_RUN(${ARGV})
+ # _TRY_RUN(${ARGV})
endif()
endmacro()
endif()
--
2.29.2

View file

@ -1,6 +1,6 @@
# Template file for 'cmake-gui'
pkgname=cmake-gui
version=3.18.4
version=3.19.0
revision=1
wrksrc="cmake-${version}"
build_style=cmake
@ -17,11 +17,11 @@ makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
depends="desktop-file-utils shared-mime-info"
checkdepends="pax pkg-config"
short_desc="Cross-platform, open-source build system - Qt GUI"
maintainer="Nathan Owens <ndowens04@gmail.com>"
maintainer="Nathan Owens <ndowens@artixlinux.org>"
license="LGPL-2.1-or-later, GPL-3.0-or-later, BSD-3-Clause"
homepage="https://www.cmake.org"
distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
checksum=597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77
checksum=fdda688155aa7e72b7c63ef6f559fca4b6c07382ea6dca0beb5f45aececaf493
do_install() {
# We are only interested in cmake-gui.