mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:49:09 +08:00
[x264] check exists before rename (#21501)
* [x264] Use conditional for renaming debug lib * update version database
This commit is contained in:
parent
18c9639021
commit
cb4c366fb6
@ -71,7 +71,10 @@ endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic" AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/libx264.dll.lib ${CURRENT_PACKAGES_DIR}/lib/libx264.lib)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libx264.dll.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libx264.lib)
|
||||
|
||||
if (NOT VCPKG_BUILD_TYPE)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libx264.dll.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libx264.lib)
|
||||
endif()
|
||||
elseif(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
# force U_STATIC_IMPLEMENTATION macro
|
||||
file(READ ${CURRENT_PACKAGES_DIR}/include/x264.h HEADER_CONTENTS)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "x264",
|
||||
"version-string": "164-5db6aa6cab1b146",
|
||||
"port-version": 1,
|
||||
"description": "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format",
|
||||
"homepage": "https://github.com/mirror/x264",
|
||||
"supports": "!arm",
|
||||
|
@ -7242,7 +7242,7 @@
|
||||
},
|
||||
"x264": {
|
||||
"baseline": "164-5db6aa6cab1b146",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"x265": {
|
||||
"baseline": "3.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8d6c7ba5815a0683a2915df5f95de5d06e938781",
|
||||
"version-string": "164-5db6aa6cab1b146",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "2280334f1235046e20f80586b7d83893f52b23b7",
|
||||
"version-string": "164-5db6aa6cab1b146",
|
||||
|
Loading…
Reference in New Issue
Block a user