[audiofile] Bump to 1.1.2 (#42809)

This commit is contained in:
Weihang Ding 2024-12-30 23:30:08 +08:00 committed by GitHub
parent 4413468742
commit b6b5322b16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 20 deletions

View File

@ -1,13 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,3 +42,10 @@ endif ()
#===============================================================================
set (CMAKE_SUPPRESS_REGENERATION true)
+
+#install and export targets
+install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Config)
+export(TARGETS ${PROJECT_NAME} FILE ${PROJECT_NAME}Config.cmake)
+install(EXPORT ${PROJECT_NAME}Config DESTINATION share/AudioFile FILE ${PROJECT_NAME}Config.cmake)
+#install headers
+install(FILES AudioFile.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

View File

@ -4,10 +4,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO adamstark/AudioFile
REF "${VERSION}"
SHA512 b0612e6d6c440e52a168f27410d6ac14f7fcef2ba183e8a80e03f924e6fc778c01e4f46b40cab10dd73c48f8f10dc4112c58f602728fdeec0bc3e143852fc95e
SHA512 ee8af7687fe420634ea8dacef7ecc0c4d3dd1de13c6131202710b3055fdc5ffb27ac1e8ff034690a3ce5d512b6182a788adfa5852a29ac532a08322b14083e8a
HEAD_REF master
PATCHES
fix-cmakeLists.patch
)
vcpkg_cmake_configure(
@ -19,8 +17,9 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME AudioFile)
vcpkg_cmake_config_fixup(PACKAGE_NAME AudioFile CONFIG_PATH lib/cmake/AudioFile)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,6 @@
{
"name": "audiofile",
"version": "1.1.1",
"version": "1.1.2",
"description": "A simple header-only C++ library for reading and writing audio files.",
"homepage": "https://github.com/adamstark/AudioFile",
"license": "MIT",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "af5b6cc47eba8f3330b4769643ec814da3be5983",
"version": "1.1.2",
"port-version": 0
},
{
"git-tree": "6f06a6467594b612bfd24dc86f696d07e1c4b500",
"version": "1.1.1",

View File

@ -345,7 +345,7 @@
"port-version": 0
},
"audiofile": {
"baseline": "1.1.1",
"baseline": "1.1.2",
"port-version": 0
},
"audit": {