early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/ebml/include-limits.patch
vendored
Executable file
24
externals/vcpkg/ports/ebml/include-limits.patch
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp
|
||||
index 27e55fd..4c05fcf 100644
|
||||
--- a/src/EbmlString.cpp
|
||||
+++ b/src/EbmlString.cpp
|
||||
@@ -34,6 +34,7 @@
|
||||
\author Steve Lhomme <robux4 @ users.sf.net>
|
||||
*/
|
||||
#include <cassert>
|
||||
+#include <limits>
|
||||
|
||||
#include "ebml/EbmlString.h"
|
||||
|
||||
diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp
|
||||
index 496a16a..99fc073 100644
|
||||
--- a/src/EbmlUnicodeString.cpp
|
||||
+++ b/src/EbmlUnicodeString.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
+#include <limits>
|
||||
|
||||
#include "ebml/EbmlUnicodeString.h"
|
||||
|
||||
27
externals/vcpkg/ports/ebml/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/ebml/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
message(FATAL_ERROR "${PORT} does not currently support UWP")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Matroska-Org/libebml
|
||||
REF release-1.4.2
|
||||
SHA512 2A03CA1D82A41EE05CFE4DD2726CC79295FA06A4D8ECEB93FE8F41BDFF09F04897B434B49DD1F496E1C014289B14C3F3416EAB4C8B1E745652FF1AB4A620BF83
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
include-limits.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS -DDISABLE_PKGCONFIG=1
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/EBML)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
18
externals/vcpkg/ports/ebml/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/ebml/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "ebml",
|
||||
"version": "1.4.2",
|
||||
"port-version": 1,
|
||||
"description": "A C++ library to parse EBML files",
|
||||
"homepage": "https://github.com/Matroska-Org/libebml",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user