diff --git a/ports/taglib/CONTROL b/ports/taglib/CONTROL index 9756e8e8c9..96b68ecfe2 100644 --- a/ports/taglib/CONTROL +++ b/ports/taglib/CONTROL @@ -1,5 +1,5 @@ Source: taglib -Version: 1.11.1-20190531 +Version: 1.12.0-20210123 Description: TagLib Audio Meta-Data Library Homepage: https://github.com/taglib/taglib Build-Depends: zlib diff --git a/ports/taglib/portfile.cmake b/ports/taglib/portfile.cmake index c6e5735264..88b7c41586 100644 --- a/ports/taglib/portfile.cmake +++ b/ports/taglib/portfile.cmake @@ -1,13 +1,21 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO taglib/taglib - REF ba7adc2bc261ed634c2a964185bcffb9365ad2f4 - SHA512 faf516f40f12031a37414ce9246ec409e64e570faebe2d604afdefbb7d665e0a0c9c68bec0e6dcb1c5ceb8fa8e1c3477f5ac75029f17beedd679fa3ea735ce6d + REF 4c14571647e3391dd8f59473903abc44707b4f1b + SHA512 2619013e38de4afce58d2c8a8fcb2fc34aeb4006c0657a942cb035a5b79ac1438609f89c31bc631b299eb270ac90f2d222c0ddeeb8151803cf7cda15ab3282b4 HEAD_REF master ) +if(VCPKG_CRT_LINKAGE STREQUAL static) + set(BUILD_SHARED_LIBS OFF) +else() + set(BUILD_SHARED_LIBS ON) +endif() + if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") - set(WINRT_OPTIONS -DHAVE_VSNPRINTF=1 -DPLATFORM_WINRT=1) + set(WINRT_OPTIONS -DHAVE_VSNPRINTF=1 -DPLATFORM_WINRT=1) + set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} /wd4996") + set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} /wd4996") endif() vcpkg_configure_cmake( diff --git a/versions/baseline.json b/versions/baseline.json index d69bc549eb..d37e4cd2f2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5689,7 +5689,7 @@ "port-version": 0 }, "taglib": { - "baseline": "1.11.1-20190531", + "baseline": "1.12.0-20210123", "port-version": 0 }, "taocpp-json": { diff --git a/versions/t-/taglib.json b/versions/t-/taglib.json index ed66125023..cdaf70e748 100644 --- a/versions/t-/taglib.json +++ b/versions/t-/taglib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e9d856fb23e6cf5ad4b86f2098549ba88098a0cb", + "version-string": "1.12.0-20210123", + "port-version": 0 + }, { "git-tree": "8aee2b399d4cd5af999057cbbe5e9476272b5a24", "version-string": "1.11.1-20190531",