aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorMathis Logemann <mathisloge@gmail.com>2021-07-08 19:51:32 +0200
committerGitHub <noreply@github.com>2021-07-08 10:51:32 -0700
commit1af1e604cdfa56408782f00c0134b168fecac3c6 (patch)
treecf3af48d128719b1edd74efdb4af15cc8ae78338 /ports
parente681ff653cf7d6ace95a0dbcb92a1c1a9d5cfccc (diff)
downloadvcpkg-1af1e604cdfa56408782f00c0134b168fecac3c6.tar.gz
vcpkg-1af1e604cdfa56408782f00c0134b168fecac3c6.zip
[protozero] update to 1.7.0 (#18842)
* update protozero to 1.7.0 * update versions * apply suggestions * version
Diffstat (limited to 'ports')
-rw-r--r--ports/protozero/CONTROL5
-rw-r--r--ports/protozero/portfile.cmake14
-rw-r--r--ports/protozero/vcpkg.json9
3 files changed, 17 insertions, 11 deletions
diff --git a/ports/protozero/CONTROL b/ports/protozero/CONTROL
deleted file mode 100644
index c8e140371..000000000
--- a/ports/protozero/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: protozero
-Version: 1.6.8
-Homepage: https://github.com/am2222/mapnik-windows/
-Description: Minimalist protocol buffer decoder and encoder in C++
-Build-Depends: protobuf \ No newline at end of file
diff --git a/ports/protozero/portfile.cmake b/ports/protozero/portfile.cmake
index 55703492d..fda45303c 100644
--- a/ports/protozero/portfile.cmake
+++ b/ports/protozero/portfile.cmake
@@ -2,18 +2,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/protozero
- SHA512 24bab4bf4ff7c67b4f2d8e97919ccde115db4fa476462926102da2f48b4689d6b454df56dbc30754d0e81c37f669535e4b2101033b079ace0f4ea2706447abe1
- REF v1.6.8
+ SHA512 d09a34865c535264c52f9c605ccb6f453c357f5e3a7b0dc72b097de288eabc6985a5b81ddbe79c47d0af2d8f74e33bd380fefce47acb15d8d51d5c151d71786b
+ REF v1.7.0
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA # Disable this option if project cannot be built with Ninja
+ PREFER_NINJA
+ OPTIONS
+ -DBUILD_TESTING=OFF
)
-
vcpkg_install_cmake()
+vcpkg_fixup_pkgconfig()
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
-file(COPY ${SOURCE_PATH}/include/protozero DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN *.h)
-file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/protozero/vcpkg.json b/ports/protozero/vcpkg.json
new file mode 100644
index 000000000..aae619a1e
--- /dev/null
+++ b/ports/protozero/vcpkg.json
@@ -0,0 +1,9 @@
+{
+ "name": "protozero",
+ "version-semver": "1.7.0",
+ "description": "Minimalist protocol buffer decoder and encoder in C++",
+ "homepage": "https://github.com/mapbox/protozero",
+ "dependencies": [
+ "protobuf"
+ ]
+}