Library name: Sleepy Discord
Library description: C++ library for creating Discord Bots
Source repository URL: https://github.com/yourWaifu/sleepy-discord
Project homepage (if different from the source repository): https://yourwaifu.dev/sleepy-discord/
Anything else that is useful to know when adding (such as optional features the library may have that should be included): The library requires OpenSSL, cpr and Websocket++ to be installed
@PhoebeHui I would like to work on this issue. Kindly assign it to me.
Thanks :)
@DhairyaBahl, thank you for your contribution in advance!
@PhoebeHui It's my first PR with Microsoft.. but I will try my best :)
Thanks :)
@PhoebeHui @Spejik I have cloned this repository in my local machine and I've also cloned the sleepy-discord inside the vcpkg directory. I am a bit confused about those library names OpenSSL CPR WebSocket++ and what exactly I have to do next. Kindly guide me a bit.
Thanks for cooperation :)
@DhairyaBahl The 3 libraries are here
WebSocket++ is for communicating with Discord's realtime API.
Cpr is just curl, but easier to use.
OpenSSL is for TLS/SSL encryption, so it allows cpr and WebSocket++ to use https and wss.
Sleepy Discord uses them internally, so they should be installed upon installing the package sleepy-discord.
Also, in the Sleepy Discord's CMakeLists.txt there are some packages the library installs before the first build.
Thanks for your contribution!
These may not be correct, but I began working on this a bit ago and didn't finish. In case it helps, the control file that I created is:
Source: sleepy-discord
Version: 2020-07-05
Homepage: https://yourwaifu.dev/sleepy-discord/documentation.html
Description: C++ library for Discord
Build-Depends: cpr
Feature: websocketpp
Description: Use websocketpp for sleepy-discord
Build-Depends: openssl-windows, asio, websocketpp
Feature: uwebsockets
Description: Use uwebsockets for sleepy-discord
Build-Depends: openssl-windows, zlib, asio, uwebsockets
Feature: voice
Description: Enable voice functionality for sleepy-discord
Build-Depends: libopusenc, libsodium
This is the portfile I began, but note that I also have modifications to the cmakelists file in sleepy-discord that are not in this:
include(vcpkg_common_functions)
if ("websocketpp" IN_LIST FEATURES)
set(USE_WEBSOCKETPP ON)
elseif("uwebsockets" IN_LIST FEATURES)
set(USE_WEBSOCKETPP OFF)
set(USE_UWEBSOCKETS ON)
endif()
if ("voice" IN_LIST FEATURES)
set(USE_LIBOPUS ON)
set(USE_LISODIUM ON)
endif()
Just in case that helps with where you are.
@PhoebeHui I would like to work on this issue. Kindly assign it to me.
Thanks :)
do you have a forecast for when this library will be available in vcpkg?
Most helpful comment
@PhoebeHui I would like to work on this issue. Kindly assign it to me.
Thanks :)