add basic discord support

This commit is contained in:
2024-11-09 01:58:06 +03:00
parent c3e7a9c92d
commit 8965b7ee90
869 changed files with 191278 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO brainboxdotcc/DPP
REF "v${VERSION}"
SHA512 66ae46cfe31414d857cf5c694836d725ed7f0408615c4f21848fc91320fe35c54dce869268cc9da2db3178be9d02adadbcd6a86d43f49f74e124636a8de749e8
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/dpp")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@@ -0,0 +1,22 @@
{
"name": "dpp",
"version": "10.0.35",
"description": "D++ Extremely Lightweight C++ Discord Library.",
"homepage": "https://dpp.dev/",
"license": "Apache-2.0",
"supports": "(windows & !static & !uwp) | linux | osx",
"dependencies": [
"nlohmann-json",
"openssl",
"opus",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,104 @@
{
"versions": [
{
"git-tree": "b4b2c4fed21642247a10ad2e582f5ddfd911df6b",
"version": "10.0.35",
"port-version": 0
},
{
"git-tree": "c3a19e35d50fccfb5a53042ad3b5cffda578a353",
"version": "10.0.34",
"port-version": 0
},
{
"git-tree": "58fffa3b78cf2a0c2e28b5abdd40931a4b0a5c40",
"version": "10.0.33",
"port-version": 0
},
{
"git-tree": "190a206eddf272472a4668d756e0293096341f97",
"version": "10.0.31",
"port-version": 0
},
{
"git-tree": "2224384b8c94dc8993bee072c9f506ef17e6eef4",
"version": "10.0.30",
"port-version": 0
},
{
"git-tree": "57e513b7c5b9b43418e0be4bdbb739359878baaa",
"version": "10.0.29",
"port-version": 0
},
{
"git-tree": "f9104c5be5bad205d3b5210b5ba79dfe577e51de",
"version": "10.0.28",
"port-version": 0
},
{
"git-tree": "c9ad04c95ab1097720e988a5879045b575d8eb18",
"version": "10.0.27",
"port-version": 0
},
{
"git-tree": "bb85393fcea63ff5e643c3bb0cf15bbdad6d8a2e",
"version": "10.0.26",
"port-version": 0
},
{
"git-tree": "20fb1fc7a015ebb43e9d01ddbdcb10e351feeeb7",
"version": "10.0.25",
"port-version": 0
},
{
"git-tree": "8c631e7b3f93d40c4aea0d65e722e1ff1ac028ac",
"version": "10.0.24",
"port-version": 0
},
{
"git-tree": "f5258ce203526b7be2ba77c9ab6deb7a197273af",
"version": "10.0.23",
"port-version": 1
},
{
"git-tree": "1701fdce3e1e8a3557382fcc806d87abf06fd452",
"version": "10.0.23",
"port-version": 0
},
{
"git-tree": "464ce638a24ff77d86e3c0649cffbf599d13a9b2",
"version": "10.0.21",
"port-version": 0
},
{
"git-tree": "5d961ae0b2739368c053459b3f6d53ecce397a6f",
"version": "10.0.20",
"port-version": 0
},
{
"git-tree": "d0f56da8e2b3026a15bbf3856d1c601a635065e6",
"version": "10.0.19",
"port-version": 0
},
{
"git-tree": "7e80b88acd9bc75ce2b9bcaeae729f758ca2fcde",
"version": "10.0.18",
"port-version": 0
},
{
"git-tree": "aee1785670d15751e08e0fee3426faf2d8559ee9",
"version": "10.0.17",
"port-version": 0
},
{
"git-tree": "bf6a0accfbdf7a2a5f639ed5c32247e2a81b7b48",
"version": "10.0.16",
"port-version": 0
},
{
"git-tree": "fe4fafd238e318a6ddf7d5c4db59da499328fdae",
"version": "10.0.15",
"port-version": 0
}
]
}