about summary refs log tree commit diff
path: root/pkgs/development/libraries/mapnik/catch2-src.patch
diff options
context:
space:
mode:
authorKerstin Humm <kerstin@erictapen.name>2021-11-13 22:27:29 +0100
committerRobert Schütz <nix@dotlambda.de>2022-10-29 10:36:50 -0700
commitd35077ae8bfeba5004438046bffd9515fef33214 (patch)
tree687a81ec5331c1f28b6c2b74651a25baaeafea36 /pkgs/development/libraries/mapnik/catch2-src.patch
parent7c224b3e127ad37b27f31aaa71ae5959320bd492 (diff)
mapnik: 3.1.0 -> unstable-2022-04-14
- use CMake. I just didn't got it to work with SCons.
- patch cmake to find harfbuzz
- prefetch catch2 for enabling tests
- add erictapen as maintainer
- build mapnik-config with scons, as it isn't build by cmake
- use python3 exclusively
- build with harfbuzz-icu
- change license to lgpl21Plus
- use PROJ 8
- use latest scons, but use cmake for everything but mapnik-config
- don't make postgresql optional

Co-Authored-by: Robert Schütz <nix@dotlambda.de>
Diffstat (limited to 'pkgs/development/libraries/mapnik/catch2-src.patch')
-rw-r--r--pkgs/development/libraries/mapnik/catch2-src.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mapnik/catch2-src.patch b/pkgs/development/libraries/mapnik/catch2-src.patch
new file mode 100644
index 0000000000000..04c6f7add217c
--- /dev/null
+++ b/pkgs/development/libraries/mapnik/catch2-src.patch
@@ -0,0 +1,14 @@
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 0705ddce1..771291b88 100644
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -7,8 +7,7 @@ include(FetchContent)
+ 
+ FetchContent_Declare(
+   Catch2
+-  GIT_REPOSITORY https://github.com/catchorg/Catch2.git
+-  GIT_TAG        v2.13.7)
++  SOURCE_DIR @catch2_src@)
+ FetchContent_MakeAvailable(Catch2)
+ 
+ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.19.0")