From 9889a6466a7270b51a4de192e6aac0fcc2db447f Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Mon, 25 Mar 2024 13:22:08 +0100 Subject: [PATCH] proj: update to 9.4.0. --- srcpkgs/proj/patches/fix-cmake-deps.patch | 40 ----------------------- srcpkgs/proj/template | 4 +-- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 srcpkgs/proj/patches/fix-cmake-deps.patch diff --git a/srcpkgs/proj/patches/fix-cmake-deps.patch b/srcpkgs/proj/patches/fix-cmake-deps.patch deleted file mode 100644 index f090104377fef9..00000000000000 --- a/srcpkgs/proj/patches/fix-cmake-deps.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/cmake/project-config.cmake.in -+++ b/cmake/project-config.cmake.in -@@ -13,37 +13,6 @@ endif() - - include(CMakeFindDependencyMacro) - --# We cannot have a find_dependency() call between cmake_policy(PUSH)/cmake_policy(POP) --# because find_dependency() issues a return() on failure, which results in --# imbalanced push/pop --# Cf https://gitlab.kitware.com/cmake/cmake/-/issues/17612 --cmake_policy(PUSH) --cmake_policy(SET CMP0012 NEW) --if("@ENABLE_TIFF@") -- set(PROJ_CONFIG_FIND_TIFF_DEP ON) --endif() --if("@CURL_ENABLED@") -- set(PROJ_CONFIG_FIND_CURL_DEP ON) --endif() --cmake_policy(POP) -- --if(DEFINED PROJ_CONFIG_FIND_TIFF_DEP) -- find_dependency(TIFF) --endif() -- --if(DEFINED PROJ_CONFIG_FIND_CURL_DEP) -- # Chainload CURL usage requirements -- find_dependency(CURL) -- # Target CURL::libcurl only defined since CMake 3.12 -- if(NOT TARGET CURL::libcurl) -- add_library(CURL::libcurl INTERFACE IMPORTED) -- set_target_properties(CURL::libcurl PROPERTIES -- INTERFACE_INCLUDE_DIRECTORIES "${CURL_INCLUDE_DIRS}" -- INTERFACE_LINK_LIBRARIES "${CURL_LIBRARIES}" -- ) -- endif() --endif() -- - function(set_variable_from_rel_or_absolute_path var root rel_or_abs_path) - if(IS_ABSOLUTE "${rel_or_abs_path}") - set(${var} "${rel_or_abs_path}" PARENT_SCOPE) diff --git a/srcpkgs/proj/template b/srcpkgs/proj/template index 6aad399f609662..a87e02ff094063 100644 --- a/srcpkgs/proj/template +++ b/srcpkgs/proj/template @@ -1,6 +1,6 @@ # Template file for 'proj' pkgname=proj -version=9.3.1 +version=9.4.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" @@ -11,7 +11,7 @@ maintainer="John " license="MIT" homepage="https://proj.org" distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz" -checksum=b0f919cb9e1f42f803a3e616c2b63a78e4d81ecfaed80978d570d3a5e29d10bc +checksum=3643b19b1622fe6b2e3113bdb623969f5117984b39f173b4e3fb19a8833bd216 post_install() { vlicense COPYING