early-access version 2853
This commit is contained in:
25
externals/vcpkg/ports/bento4/fix-install.patch
vendored
Executable file
25
externals/vcpkg/ports/bento4/fix-install.patch
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6de3bfe..2b2239a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -81,3 +81,20 @@ foreach(app ${BENTO4_APPS})
|
||||
endif()
|
||||
endforeach()
|
||||
endif(BUILD_APPS)
|
||||
+
|
||||
+file(GLOB AP4_INCLUDES
|
||||
+ ${SOURCE_CODECS}/*.h
|
||||
+ ${SOURCE_CORE}/*.h
|
||||
+ ${SOURCE_CRYPTO}/*.h
|
||||
+ ${SOURCE_METADATA}/*.h
|
||||
+)
|
||||
+
|
||||
+# Install targets
|
||||
+install(TARGETS ap4
|
||||
+ RUNTIME DESTINATION bin
|
||||
+ LIBRARY DESTINATION lib
|
||||
+ ARCHIVE DESTINATION lib
|
||||
+)
|
||||
+
|
||||
+# Install headers
|
||||
+install(FILES ${AP4_INCLUDES} DESTINATION include/bento4)
|
||||
25
externals/vcpkg/ports/bento4/portfile.cmake
vendored
Executable file
25
externals/vcpkg/ports/bento4/portfile.cmake
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO axiomatic-systems/Bento4
|
||||
REF 83c48e6e2a3f8e4be7ad2eddaa0639303184146d # v1.6.0-639
|
||||
SHA512 764c1102dc1e2a0f48395427b5b0a96f87d7124cceb61eb24008f245cf1f5f057753307c38f6f7e74d6838d6600c436d8540e94cbca12385cb4fffb02995069b
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-install.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_APPS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/Documents/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
14
externals/vcpkg/ports/bento4/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/bento4/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "bento4",
|
||||
"version": "1.6.0-639",
|
||||
"port-version": 1,
|
||||
"description": "Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15.",
|
||||
"homepage": "https://github.com/axiomatic-systems/Bento4",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user