early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/matroska/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/matroska/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
message(FATAL_ERROR "matroska does not currently support UWP")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Matroska-Org/libmatroska
|
||||
REF release-1.6.3
|
||||
SHA512 f4b4cd5b5e76c452fb559ead28c4bcb5ec4e28d74898f13c1709a6ab75d95cf82b319118445d7a7f895708bb0d5d1f3c09040d3e3263c6a2f2a27ffc92d35c2f
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DDISABLE_PKGCONFIG=1
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Matroska)
|
||||
|
||||
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/matroska/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/matroska/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "matroska",
|
||||
"version": "1.6.3",
|
||||
"description": "a C++ library to parse Matroska files (.mkv and .mka)",
|
||||
"homepage": "https://github.com/Matroska-Org/libmatroska",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"ebml",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user