New package: libkml-1.3.0

This commit is contained in:
Arjan Mossel 2022-11-05 21:55:23 +01:00 committed by classabbyamp
parent 412ad2f494
commit d055fef545
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,17 @@
minizip/crypt.h was removed from the packet minizip-1.2.11_2.
with "#define NOUNCRYPT" libkml can be built without "crypt.h"
https://github.com/void-linux/void-packages/commit/952ac913cf
https://github.com/madler/zlib/pull/229
--- a/src/kml/base/contrib/minizip/unzip.c 2015-12-21 18:23:05.000000000 +0100
+++ b/src/kml/base/contrib/minizip/unzip.c 2020-11-26 15:45:55.033835816 +0100
@@ -42,7 +42,7 @@
#include <zlib.h> //RR
#include "unzip.h"
#include "iomem_simple.h"
-#undef NOUNCRYPT
+#define NOUNCRYPT
#ifdef STDC
# include <stddef.h>

16
srcpkgs/libkml/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'libkml'
pkgname=libkml
version=1.3.0
revision=1
build_style=cmake
makedepends="boost-devel expat-devel minizip-devel uriparser-devel zlib-devel"
short_desc="Library to manipulate KML OGC files"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/libkml/libkml"
distfiles="https://github.com/libkml/libkml/archive/${version}.tar.gz"
checksum=8892439e5570091965aaffe30b08631fdf7ca7f81f6495b4648f0950d7ea7963
post_install() {
vlicense LICENSE
}