aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrateek Chokse <prateek.chokse@gmail.com>2021-04-09 22:28:51 +0530
committerGitHub <noreply@github.com>2021-04-09 09:58:51 -0700
commit06fd7cc3c22f631d2a5acad27b307e3c70a977f9 (patch)
tree9d83822dbbce028a5725129b974bddd13950ebaa
parent326425d8ff199fbefd8be640578ba3c517f00920 (diff)
downloadvcpkg-06fd7cc3c22f631d2a5acad27b307e3c70a977f9.tar.gz
vcpkg-06fd7cc3c22f631d2a5acad27b307e3c70a977f9.zip
[minizip-ng] add new port (#17101)
* [minizip-ng] add new port * [celero] Updated to Celero v2.8.0 (#16802) * [celero] Updated to Celero v2.8.0 * [celero] Improving static linking support in VCPKG. Celero issue #154 is tracking a fix. https://github.com/DigitalInBlue/Celero/issues/154 * [celero] Updated to v2.8.1 * [celero] Updated version for VCPKG. * [celero] Updates to better support VCPKG. * [celero] Updated versions. * Update celero.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
-rw-r--r--ports/minizip-ng/portfile.cmake26
-rw-r--r--ports/minizip-ng/vcpkg.json25
-rw-r--r--versions/baseline.json6
-rw-r--r--versions/m-/minizip-ng.json9
4 files changed, 65 insertions, 1 deletions
diff --git a/ports/minizip-ng/portfile.cmake b/ports/minizip-ng/portfile.cmake
new file mode 100644
index 000000000..d7a27e11e
--- /dev/null
+++ b/ports/minizip-ng/portfile.cmake
@@ -0,0 +1,26 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO zlib-ng/minizip-ng
+ REF 3.0.1
+ SHA512 98c9bdcea79a88a2dd69cec6c49f8565edf78ab9cddbf0e85e08b049b300b187f176bf57d5a894bf777bec0a097e46ecc05f78dab9cd5726fd473ffd8718dce0
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
+ OPTIONS
+ -DMZ_PROJECT_SUFFIX:STRING=-ng
+)
+
+vcpkg_cmake_install()
+
+vcpkg_fixup_pkgconfig()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/minizip-ng/copyright" COPYONLY)
diff --git a/ports/minizip-ng/vcpkg.json b/ports/minizip-ng/vcpkg.json
new file mode 100644
index 000000000..35ee5fa6b
--- /dev/null
+++ b/ports/minizip-ng/vcpkg.json
@@ -0,0 +1,25 @@
+{
+ "name": "minizip-ng",
+ "version": "3.0.1",
+ "description": "minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.",
+ "homepage": "https://github.com/zlib-ng/minizip-ng",
+ "supports": "!uwp",
+ "dependencies": [
+ "bzip2",
+ "liblzma",
+ {
+ "name": "openssl",
+ "platform": "linux"
+ },
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
+ "zlib",
+ "zstd"
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 318f4e695..455beed23 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3944,6 +3944,10 @@
"baseline": "1.2.11",
"port-version": 7
},
+ "minizip-ng": {
+ "baseline": "3.0.1",
+ "port-version": 0
+ },
"mio": {
"baseline": "2019-02-10",
"port-version": 0
@@ -6609,4 +6613,4 @@
"port-version": 1
}
}
-}
+} \ No newline at end of file
diff --git a/versions/m-/minizip-ng.json b/versions/m-/minizip-ng.json
new file mode 100644
index 000000000..9d9b0e3a2
--- /dev/null
+++ b/versions/m-/minizip-ng.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "0512bceae574c70ea907a8ebfc88709dc196164e",
+ "version": "3.0.1",
+ "port-version": 0
+ }
+ ]
+}