[mpg123] Fix pc file for Windows, update deps (#34462)

* [vcpkg-ci-ffmpeg] Format manifest

* [vcpkg-ci-ffmpeg] Test feature openmpt

* [mpg123] Export shlwapi usage

* [mpg123] Use yasm directly
This commit is contained in:
Kai Pastor 2023-10-18 19:56:02 +02:00 committed by GitHub
parent 9cdd9888ea
commit 2815578f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 13 deletions

View File

@ -11,15 +11,20 @@ vcpkg_from_sourceforge(
)
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
include("${CURRENT_INSTALLED_DIR}/share/yasm-tool-helper/yasm-tool-helper.cmake")
yasm_tool_helper(APPEND_TO_PATH)
endif()
vcpkg_list(SET options)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_list(APPEND options "-DLIBMPG123_LIBS=-lshlwapi")
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/ports/cmake"
OPTIONS
-DUSE_MODULES=OFF
-DBUILD_PROGRAMS=OFF
${options}
MAYBE_UNUSED_VARIABLES
BUILD_PROGRAMS
)

View File

@ -1,7 +1,7 @@
{
"name": "mpg123",
"version": "1.31.3",
"port-version": 2,
"port-version": 3,
"description": "mpg123 is a real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (MPEG 1.0 layer 3 also known as MP3).",
"homepage": "https://sourceforge.net/projects/mpg123/",
"license": "LGPL-2.1-or-later",
@ -16,8 +16,12 @@
"host": true
},
{
"name": "yasm-tool-helper",
"platform": "windows"
"name": "yasm",
"host": true,
"features": [
"tools"
],
"platform": "windows & !mingw"
}
]
}

View File

@ -23,6 +23,7 @@
"mp3lame",
"nonfree",
"openjpeg",
"openmpt",
"openssl",
"opus",
"postproc",
@ -93,14 +94,6 @@
],
"platform": "!(arm & windows)"
},
{
"name": "ffmpeg",
"default-features": false,
"features": [
"x265"
],
"platform": "!uwp & !(arm & windows)"
},
{
"name": "ffmpeg",
"default-features": false,
@ -117,6 +110,14 @@
],
"platform": "!(uwp | arm | x86 | osx)"
},
{
"name": "ffmpeg",
"default-features": false,
"features": [
"x265"
],
"platform": "!uwp & !(arm & windows)"
},
{
"name": "ffmpeg",
"default-features": false,

View File

@ -5598,7 +5598,7 @@
},
"mpg123": {
"baseline": "1.31.3",
"port-version": 2
"port-version": 3
},
"mpi": {
"baseline": "1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6e990602e7caa6965db94c4ef01e3f1b44fb4f67",
"version": "1.31.3",
"port-version": 3
},
{
"git-tree": "58fbb0bf0ec6307689125ef1ba71112b670a42a9",
"version": "1.31.3",