Skip to content

Commit

Permalink
[ffmpeg] Decouple from automake1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Oct 20, 2024
1 parent d567b66 commit b456def
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 "${MSYS_ROOT}/usr/bin/automake" --print-lib
OUTPUT_VARIABLE automake_lib
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}"
LOGNAME automake-print-lib
)
list(APPEND prog_env "${MSYS_ROOT}/usr/bin" "${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": 5,
"port-version": 6,
"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 @@ -2734,7 +2734,7 @@
},
"ffmpeg": {
"baseline": "7.0.2",
"port-version": 5
"port-version": 6
},
"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": "7506f1ca32c4d750d58714d9d25c53900028d213",
"version": "7.0.2",
"port-version": 6
},
{
"git-tree": "d4bc112c6581274674b70429dacd87e5d0715ac4",
"version": "7.0.2",
Expand Down

0 comments on commit b456def

Please sign in to comment.