Skip to content

Commit

Permalink
[taglib] Update to 2.0 (microsoft#36623)
Browse files Browse the repository at this point in the history
* [taglib] Update to 2.0

* Update vcpkg.json

* update versions

* [taglib] update port files

* update versions
  • Loading branch information
nlogozzo committed Feb 14, 2024
1 parent 5ae3f89 commit 095ee06
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
6 changes: 3 additions & 3 deletions ports/taglib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO taglib/taglib
REF v1.13.1
SHA512 986231ee62caa975afead7e94630d58acaac25a38bc33d4493d51bd635d79336e81bba60586d7355ebc0670e31f28d32da3ecceaf33292e4bc240c64bf00f35b
REF "v${VERSION}"
SHA512 099d02b2eab033f5702a8cb03e70752d7523c6f8c2f3eebdd0bcd939eafbdca3f2a6c82452983904b5822cfa45f2707ed866c3419508df9d43bf5c0b3a476f6c
HEAD_REF master
)

Expand All @@ -19,6 +19,7 @@ vcpkg_cmake_configure(
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/taglib)

set(pcfile "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/taglib.pc")
if(EXISTS "${pcfile}")
Expand Down Expand Up @@ -47,4 +48,3 @@ vcpkg_copy_pdbs()
file(COPY "${SOURCE_PATH}/COPYING.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/taglib")
file(COPY "${SOURCE_PATH}/COPYING.MPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/taglib")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/taglib/COPYING.LGPL" "${CURRENT_PACKAGES_DIR}/share/taglib/copyright")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
11 changes: 0 additions & 11 deletions ports/taglib/usage

This file was deleted.

8 changes: 6 additions & 2 deletions ports/taglib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"name": "taglib",
"version-semver": "1.13.1",
"port-version": 1,
"version": "2.0",
"description": "TagLib Audio Meta-Data Library",
"homepage": "https://taglib.org/",
"license": "LGPL-2.1-only OR MPL-1.1",
"dependencies": [
"utfcpp",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8405,8 +8405,8 @@
"port-version": 6
},
"taglib": {
"baseline": "1.13.1",
"port-version": 1
"baseline": "2.0",
"port-version": 0
},
"talib": {
"baseline": "0.4.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/t-/taglib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7d2acd4bdd0e356aa93ff858c10b967c6355ea51",
"version": "2.0",
"port-version": 0
},
{
"git-tree": "c92006e63d77c27bda8b2f60517d7b21c1a62ca4",
"version-semver": "1.13.1",
Expand Down

0 comments on commit 095ee06

Please sign in to comment.