mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:39:44 +08:00
[libmt32emu] new port (#16816)
* [libmt32emu] add new port * add version files * Update ports/libmt32emu/portfile.cmake * Update versions/l-/libmt32emu.json * Update versions/l-/libmt32emu.json remove unnecessary entry Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
dc8f5b6d99
commit
c2e1d32c25
26
ports/libmt32emu/portfile.cmake
Normal file
26
ports/libmt32emu/portfile.cmake
Normal file
@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO munt/munt
|
||||
REF libmt32emu_2_4_2
|
||||
SHA512 6e567260bce4a7ba7f4696d08fde78a05402d8b3087d7720bf86cdbe8c6c392036ce4a5c0ec5951c547d2a98218145fa155d4730404e98ad2dcc573d3cca8da4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}/mt32emu
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-Dlibmt32emu_SHARED:BOOL=${BUILD_SHARED}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
|
||||
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/mt32emu/COPYING.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
6
ports/libmt32emu/vcpkg.json
Normal file
6
ports/libmt32emu/vcpkg.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "libmt32emu",
|
||||
"version": "2.4.2",
|
||||
"description": "A MT-32 emulator",
|
||||
"homepage": "https://github.com/munt/munt/tree/master/mt32emu"
|
||||
}
|
@ -3240,6 +3240,10 @@
|
||||
"baseline": "0.10.1-3",
|
||||
"port-version": 0
|
||||
},
|
||||
"libmt32emu": {
|
||||
"baseline": "2.4.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"libmupdf": {
|
||||
"baseline": "1.18.0",
|
||||
"port-version": 0
|
||||
|
9
versions/l-/libmt32emu.json
Normal file
9
versions/l-/libmt32emu.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b60fd8501e86b53f2d3125d0f0a1a793ff5f9a60",
|
||||
"version": "2.4.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user