vcpkg/ports/jsonifier/portfile.cmake
RealTimeChris 0555f524f1
[Jsonifier] to v0.9.95 and [DiscordCoreAPI] to v2.0.6 (#38556)
Jsonifier Changes:
* Added support for Arm-Neon 128-bit SIMD intrinsics.
* Modified some lines to correct cleanliness.
* Updated the raw_json_data class to remove superfluous functions.
* Updated some of the error_codes.
* Modified the parser, validator, serializer, and minifier classes to
reduce function call overhead.
* Refactored the usage of ascii_classes to instead utilize the
json_structural_type enumeration.
* Modified the CPU-detection script.
* Added a new compare function to accelerate string comparisons.
* Added MSVC, CLANG and GNU macros.

DiscordCoreAPI Changes:
* Updated the song platforms to support requesting playlists.
* Added a DCA_INLINE macro.
* Modified the usage of certain Jsonifier classes to hold up to the
updates.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-05-03 15:26:46 -07:00

18 lines
478 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO realtimechris/jsonifier
REF "v${VERSION}"
SHA512 50f8c244c87bc038251ef13574ae86ce20ca1df9ef1c8fc8de5ebade038a60bb8b98528ce6c978ffe4e0f24b12959a650e8ef5d3c53bcdbd1f187b6cae18493a
HEAD_REF main
)
set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")