mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 03:18:06 +08:00
[wildmidi] Update to 0.4.6 and fix the usage (#43123)
Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
parent
1faad557cd
commit
d1e9e31b11
16
ports/wildmidi/fix-include-path.patch
Normal file
16
ports/wildmidi/fix-include-path.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 73fc68c..4a606d6 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -90,6 +90,11 @@ IF (BUILD_SHARED_LIBS)
|
||||
OUTPUT_NAME ${LIBRARY_DYN_NAME} CLEAN_DIRECT_OUTPUT 1
|
||||
)
|
||||
|
||||
+ TARGET_INCLUDE_DIRECTORIES(libwildmidi INTERFACE
|
||||
+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
|
||||
+ $<INSTALL_INTERFACE:include>
|
||||
+ )
|
||||
+
|
||||
IF (WIN32)
|
||||
SET_TARGET_PROPERTIES(libwildmidi PROPERTIES
|
||||
DEFINE_SYMBOL DLL_EXPORT
|
@ -1,9 +1,10 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Mindwerks/wildmidi
|
||||
REF wildmidi-0.4.5
|
||||
SHA512 0229914ecc60091b649b790a82ad5e755a2b9dfab7443fb3e3c19f4ae64b82817cafe74d78c27f05c68c3c8fb30092c96da732d27ff82fbd7dd7d577facc23d6
|
||||
REF "wildmidi-${VERSION}"
|
||||
SHA512 b7259578c1b334de13b49e27aef32ad43e41bc04f569601b765ecea789b8da536d07afdb581986b7c91de552db2a625b13d061e52a2c8c51652f3cf3d1a30000
|
||||
HEAD_REF master
|
||||
PATCHES fix-include-path.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
@ -28,4 +29,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/man")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/docs/license/LGPLv3.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/docs/license/LGPLv3.txt")
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wildmidi",
|
||||
"version": "0.4.5",
|
||||
"version": "0.4.6",
|
||||
"description": "MIDI software synthesizer library.",
|
||||
"homepage": "https://github.com/Mindwerks/wildmidi",
|
||||
"license": "LGPL-3.0-only",
|
||||
|
@ -9669,7 +9669,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"wildmidi": {
|
||||
"baseline": "0.4.5",
|
||||
"baseline": "0.4.6",
|
||||
"port-version": 0
|
||||
},
|
||||
"wincrypt": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6125f3402595c56f9454a09af832cdd2aa379cc3",
|
||||
"version": "0.4.6",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "a0da0fad8cf43fc4534ae5fc11060437582fa6b8",
|
||||
"version": "0.4.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user