[libdjinterop] Fix find_package error (#32312)

* [libdjinterop] Fix find_package error

* update version

* apply suggestion

* update version

* Disable find boost

* update version
This commit is contained in:
Lily Wang 2023-07-05 11:43:14 -07:00 committed by GitHub
parent 99ce9f2f2b
commit 64ce615ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 5 deletions

View File

@ -1,18 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xsco/libdjinterop
REF ${VERSION}
REF "${VERSION}"
SHA512 7becb83ab62412b3d437ddee23b248a697b162f6b8a64070cd8a9782a4fce7726baaf12ea193b8e21bcf561a00039ab1ae1f04d00e6cbe8344ec19751779db14
HEAD_REF master
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_DISABLE_FIND_PACKAGE_Boost=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/DjInterop)
vcpkg_cmake_config_fixup(PACKAGE_NAME djinterop CONFIG_PATH lib/cmake/DjInterop)
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,7 @@
{
"name": "libdjinterop",
"version": "0.19.1",
"port-version": 1,
"description": "C++ library for access to DJ record libraries. Currently only supports Denon Engine Prime databases",
"homepage": "https://github.com/xsco/libdjinterop",
"license": "LGPL-3.0-or-later",

View File

@ -3990,7 +3990,7 @@
},
"libdjinterop": {
"baseline": "0.19.1",
"port-version": 0
"port-version": 1
},
"libdmx": {
"baseline": "1.1.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "997b5a399c620329f5f77f2bff49ffc4413bc2c9",
"version": "0.19.1",
"port-version": 1
},
{
"git-tree": "ccc1b924f1e3c41f94f22f26ceec66c89f469f74",
"version": "0.19.1",