aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMajid Hojati <mhojati@uwaterloo.ca>2020-06-03 01:48:22 -0400
committerGitHub <noreply@github.com>2020-06-02 22:48:22 -0700
commite39cbe69f585cbfed895d732fe3d03ac64295897 (patch)
tree19e6e2b9a492faebd51f856f9b5d21e5b139b60f
parent23efb170c85ae014e6030a6d7af2e0023ff3901c (diff)
downloadvcpkg-e39cbe69f585cbfed895d732fe3d03ac64295897.tar.gz
vcpkg-e39cbe69f585cbfed895d732fe3d03ac64295897.zip
[Protozero] Add new port (#11652)
* protozero ci.baseline edit * protozero ci.baseline edit * protozero port added * minor updates * minor updates
-rw-r--r--ports/protozero/CONTROL5
-rw-r--r--ports/protozero/portfile.cmake19
-rw-r--r--scripts/ci.baseline.txt2
3 files changed, 26 insertions, 0 deletions
diff --git a/ports/protozero/CONTROL b/ports/protozero/CONTROL
new file mode 100644
index 000000000..c8e140371
--- /dev/null
+++ b/ports/protozero/CONTROL
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000..55703492d
--- /dev/null
+++ b/ports/protozero/portfile.cmake
@@ -0,0 +1,19 @@
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mapbox/protozero
+ SHA512 24bab4bf4ff7c67b4f2d8e97919ccde115db4fa476462926102da2f48b4689d6b454df56dbc30754d0e81c37f669535e4b2101033b079ace0f4ea2706447abe1
+ REF v1.6.8
+ HEAD_REF master
+)
+
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA # Disable this option if project cannot be built with Ninja
+)
+
+vcpkg_install_cmake()
+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
diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt
index fc07a7856..d74a65788 100644
--- a/scripts/ci.baseline.txt
+++ b/scripts/ci.baseline.txt
@@ -2032,3 +2032,5 @@ ctp:x64-uwp=skip
ctp:x64-windows=skip
ctp:x64-windows-static=skip
ctp:x86-windows=skip
+protozero:arm-uwp=fail
+protozero:x64-uwp=fail \ No newline at end of file