diff --git a/ports/audiofile/fix-cmakeLists.patch b/ports/audiofile/fix-cmakeLists.patch deleted file mode 100644 index a281171a59..0000000000 --- a/ports/audiofile/fix-cmakeLists.patch +++ /dev/null @@ -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}) diff --git a/ports/audiofile/portfile.cmake b/ports/audiofile/portfile.cmake index 33c371f39c..54fae7ff46 100644 --- a/ports/audiofile/portfile.cmake +++ b/ports/audiofile/portfile.cmake @@ -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) \ No newline at end of file +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/audiofile/vcpkg.json b/ports/audiofile/vcpkg.json index 6b96e03181..74013771d9 100644 --- a/ports/audiofile/vcpkg.json +++ b/ports/audiofile/vcpkg.json @@ -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", diff --git a/versions/a-/audiofile.json b/versions/a-/audiofile.json index d4f3bebe04..a5a106aa30 100644 --- a/versions/a-/audiofile.json +++ b/versions/a-/audiofile.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "af5b6cc47eba8f3330b4769643ec814da3be5983", + "version": "1.1.2", + "port-version": 0 + }, { "git-tree": "6f06a6467594b612bfd24dc86f696d07e1c4b500", "version": "1.1.1", diff --git a/versions/baseline.json b/versions/baseline.json index 4297fa32c9..37a72b42a6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -345,7 +345,7 @@ "port-version": 0 }, "audiofile": { - "baseline": "1.1.1", + "baseline": "1.1.2", "port-version": 0 }, "audit": {