[DiscordCoreAPI] Update to version 2023-06-15 (#32043)

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.

* Updating the necessary files.
This commit is contained in:
RealTimeChris 2023-06-22 01:33:59 -04:00 committed by GitHub
parent 465b19d15b
commit 41940d0e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 35 deletions

View File

@ -1,26 +0,0 @@
diff --git a/Source/AudioDecoder.cpp b/Source/AudioDecoder.cpp
index 42bd4543..ff210878 100644
--- a/Source/AudioDecoder.cpp
+++ b/Source/AudioDecoder.cpp
@@ -25,7 +25,9 @@
#include <discordcoreapi/Utilities.hpp>
#include <discordcoreapi/AudioDecoder.hpp>
+extern "C" {
#include <libavcodec/avcodec.h>
+}
namespace DiscordCoreInternal {
diff --git a/Include/discordcoreapi/AudioDecoder.hpp b/Include/discordcoreapi/AudioDecoder.hpp
--- a/Include/discordcoreapi/AudioDecoder.hpp (revision 1ecbbc1b3a7f6bd3ff5e6ca0be8606ec50f17ec1)
+++ b/Include/discordcoreapi/AudioDecoder.hpp (revision 3c80cf0c54719008610fc96bb457345bf0170701)
@@ -29,6 +29,7 @@
#include <opus/opus.h>
extern "C" {
+#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswresample/swresample.h>
}

View File

@ -5,9 +5,8 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO RealTimeChris/DiscordCoreAPI
REF 8b54cf9
SHA512 1ee042939f09b58d20f0a432ae83c696847cdf30922bc6345d76634f32c78706f3fa38a64eae259b592312f4af25af26883c76d5eb3866b08ff7f0dd42dd0ff9
HEAD_REF main
REF "v${VERSION}"
SHA512 62fe2e3bc61cfc18c253a5d23faba95c0550e0e60b1bfbd55627afaee7ca441aeb44358a3f52c97255bd0afacb79855839af238caeff28b555f4682dc6cc2674
)
vcpkg_cmake_configure(

View File

@ -1,13 +1,11 @@
{
"name": "discordcoreapi",
"version-date": "2023-05-30",
"port-version": 1,
"version": "1.40",
"description": "A Discord bot library written in C++ using custom asynchronous coroutines.",
"homepage": "https://discordcoreapi.com",
"license": "LGPL-2.1-or-later",
"supports": "(windows & x64 & !static & !xbox) | (linux & x64)",
"supports": "(windows & x64 & !xbox) | (linux & x64)",
"dependencies": [
"ffmpeg",
"jsonifier",
"libsodium",
"openssl",

View File

@ -2121,8 +2121,8 @@
"port-version": 3
},
"discordcoreapi": {
"baseline": "2023-05-30",
"port-version": 1
"baseline": "1.40",
"port-version": 0
},
"discount": {
"baseline": "2.2.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "67dcb76ec4a6669264f61e9718533d9fd253a066",
"version": "1.40",
"port-version": 0
},
{
"git-tree": "c9c84716a494279e16d9f85834ecb7e130dfa561",
"version-date": "2023-05-30",