[libde265] Updated to v1.0.8 (#14497)

* [lua] update to 5.4.1

* [libde265] update to 1.0.8

* Handling lua file conflicts

* Updated libde265 to v1.0.8

* Updated libde265 to v1.0.8

* Updated libde265 to v1.0.8

* Updated libde265 to v1.0.8

* [libde265] update to 1.0.8
This commit is contained in:
JonLiu1993 2020-11-19 05:09:26 +08:00 committed by GitHub
parent 97a2954d07
commit f08e44a301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Source: libde265
Version: 1.0.5
Version: 1.0.8
Homepage: https://www.libde265.org/
Description: Open h.265 video codec implementation.
Supports: !(arm|uwp)

View File

@ -0,0 +1,21 @@
diff --git a/libde265/CMakeLists.txt b/libde265/CMakeLists.txt
index 749c7fb..45e7419 100644
--- a/libde265/CMakeLists.txt
+++ b/libde265/CMakeLists.txt
@@ -43,7 +43,7 @@ set (libde265_headers
bitstream.h
cabac.h
configparam.h
- de265-version.h
+ ${CMAKE_CURRENT_BINARY_DIR}/de265-version.h
contextmodel.h
de265.h
deblock.h
@@ -119,7 +119,6 @@ install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Config
)
install(FILES ${libde265_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/de265-version.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
install(EXPORT ${PROJECT_NAME}Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")

View File

@ -3,9 +3,11 @@ vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO strukturag/libde265
REF v1.0.5
SHA512 3ff7310fc4621cac0ef1cb9bbc4df61724f8943d57f5263a3663a77f4d90d84716b2a708ee9fec306e909dc8b5e7fe645a641b6a6db795a89a01799be910831e
REF 8aed7472df0af25b811828fa14f2f169dc34d35a # v1.0.8
SHA512 e2da1436e5b0d8a3841087e879fbbff5a92de4ebb69d097959972ec8c9407305bc2a17020cb46139fbacc84f91ff8cfb4d9547308074ba213e002ee36bb2e006
HEAD_REF master
PATCHES
fix-libde265-headers.patch
)
vcpkg_configure_cmake(
@ -15,6 +17,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libde265/)
vcpkg_copy_tools(TOOL_NAMES dec265 enc265 AUTO_CLEAN)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")