Skip to content

Commit

Permalink
[mpg123] Separate UWP patches
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Jun 25, 2021
1 parent adf77fe commit 25c454b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions ports/mpg123/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
set(MPG123_VERSION 1.28.0)
set(MPG123_HASH 4e333ee4f3bbebcfff280cf286265e969a8da93b9043d03c0189e22cd40918b07bf12181bd06141d4479c78bc0d0ed472e0d3bb61b2fdb96fe9f7cd48f9a6b77)

set(PATCHES "")
if(VCPKG_TARGET_IS_UWP)
set(PATCHES
0002-fix-libmpg123-uwp-build.patch
0003-fix-libout123-uwp-build.patch
0004-fix-libsyn123-uwp-build.patch
)
endif()

vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO mpg123/mpg123
Expand All @@ -9,9 +18,7 @@ vcpkg_from_sourceforge(
SHA512 ${MPG123_HASH}
PATCHES
0001-fix-checkcpuarch-path.patch
0002-fix-libmpg123-uwp-build.patch
0003-fix-libout123-uwp-build.patch
0004-fix-libsyn123-uwp-build.patch
${PATCHES}
)

include(${CURRENT_INSTALLED_DIR}/share/yasm-tool-helper/yasm-tool-helper.cmake)
Expand Down
2 changes: 1 addition & 1 deletion versions/m-/mpg123.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "ebd3499f3865dfc74ed1ad9f260daf736a312b16",
"git-tree": "b34c661c7e28355ade113c330d1c3b93a77a4e13",
"version": "1.28.0",
"port-version": 0
},
Expand Down

0 comments on commit 25c454b

Please sign in to comment.