Skip to content

Commit

Permalink
[protozero] update to 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed Feb 1, 2025
1 parent e9c53cd commit c654dc0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 41 deletions.
17 changes: 0 additions & 17 deletions ports/protozero/fix-no-tests.patch

This file was deleted.

42 changes: 20 additions & 22 deletions ports/protozero/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/protozero
SHA512 90bf1f487efa0ad9da2f3b887b7a6dbd849fa3687dd2126c324f902a8584722f4f7d4a2ea86f6a0e75999f7be829f6ae26cad9df1cae55d0b29a9ec24a4dbfd2
REF v1.7.1
HEAD_REF master
PATCHES
fix-no-tests.patch # from https://github.com/mapbox/protozero/pull/110
)


vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mapbox/protozero
SHA512 b5c4cef9112e03f64d53c2f15f8def28129f720f77674e8d1aac7ad663f18630bb3923495a57f94917490d27acab27f07574a6c170c9e1fb151eef702a4ffc5f
REF "v${VERSION}"
HEAD_REF master
)


vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
2 changes: 1 addition & 1 deletion ports/protozero/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protozero",
"version-semver": "1.7.1",
"version-semver": "1.8.0",
"description": "Minimalist protocol buffer decoder and encoder in C++",
"homepage": "https://github.com/mapbox/protozero",
"license": "BSD-2-Clause",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7261,7 +7261,7 @@
"port-version": 0
},
"protozero": {
"baseline": "1.7.1",
"baseline": "1.8.0",
"port-version": 0
},
"proxsuite": {
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/protozero.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d83a3c4af103b7f37529f13bf28e1d2c2579d0d9",
"version-semver": "1.8.0",
"port-version": 0
},
{
"git-tree": "f6fa6a99279f9efb98bafc45707a1bcf9ef690e4",
"version-semver": "1.7.1",
Expand Down

0 comments on commit c654dc0

Please sign in to comment.