Skip to content

Commit

Permalink
[ffmpeg] Decouple from automake1.16 (microsoft#41678)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt authored Oct 25, 2024
1 parent a18a047 commit cff6ed4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
11 changes: 9 additions & 2 deletions ports/ffmpeg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,16 @@ if(VCPKG_DETECTED_CMAKE_STRIP)
endif()

if(VCPKG_HOST_IS_WINDOWS)
vcpkg_acquire_msys(MSYS_ROOT PACKAGES automake1.16)
vcpkg_acquire_msys(MSYS_ROOT PACKAGES automake)
set(SHELL "${MSYS_ROOT}/usr/bin/bash.exe")
list(APPEND prog_env "${MSYS_ROOT}/usr/bin" "${MSYS_ROOT}/usr/share/automake-1.16")
vcpkg_execute_required_process(
COMMAND "${SHELL}" -c "'/usr/bin/automake' --print-lib"
OUTPUT_VARIABLE automake_lib
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY "${MSYS_ROOT}"
LOGNAME automake-print-lib
)
list(APPEND prog_env "${MSYS_ROOT}/usr/bin" "${MSYS_ROOT}${automake_lib}")
else()
find_program(SHELL bash)
endif()
Expand Down
2 changes: 1 addition & 1 deletion ports/ffmpeg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ffmpeg",
"version": "7.0.2",
"port-version": 6,
"port-version": 7,
"description": [
"a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.",
"FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2738,7 +2738,7 @@
},
"ffmpeg": {
"baseline": "7.0.2",
"port-version": 6
"port-version": 7
},
"ffnvcodec": {
"baseline": "12.2.72.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/ffmpeg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d6af07437c8b77783c3184f4d15a2b24d6b8f317",
"version": "7.0.2",
"port-version": 7
},
{
"git-tree": "a269e8f98d0aabee2671587388602275bd7af837",
"version": "7.0.2",
Expand Down

0 comments on commit cff6ed4

Please sign in to comment.