vcpkg/ports/jack2/portfile.cmake
MonicaLiu e7b95189fa
[jack2] Export some missing symbols (#33354)
* Export jack2_midi_ symbols

* update version

* Export other missing symbols

* update git-tree

* Modify jack.def

* update git-tree

* code-cleanup

* update git-tree

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-08-25 12:28:26 -07:00

26 lines
673 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jackaudio/jack2
REF "v${VERSION}"
SHA512 0e9ce581fca3c5d9ffb1de22b45cae6d94085c6f92ff3554892e25727baf66a2269f10d338d95d991e8380c4be5e0cc1e1453b9f878c7dc2e8a990f3bd458557
HEAD_REF master
)
# Install headers and a shim library with JackWeakAPI.c
file(COPY
"${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt"
"${CMAKE_CURRENT_LIST_DIR}/jack.def"
DESTINATION "${SOURCE_PATH}"
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")