Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update dpp to v10.0.32 #5495

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 5 additions & 16 deletions packages/d/dpp/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package("dpp")
add_urls("https://github.com/brainboxdotcc/DPP/archive/refs/tags/$(version).tar.gz",
"https://github.com/brainboxdotcc/DPP.git")

add_versions("v10.0.32", "b366c0eb05539208e8d6c81f59de87b2aa6158250968d1bd6360676d576851e7")
add_versions("v10.0.31", "3e392868c0dc3d0f13a00cfa190a925a20bde62bea58fd87d4acf14de11062bf")
add_versions("v10.0.30", "fb7019770bd5c5f0539523536250da387ee1fa9c92e59c0bcff6c9adaf3d77e8")
add_versions("v10.0.29", "a37e91fbdabee20cb0313700588db4077abf0ebabafe386457d999d22d2d0682")
Expand Down Expand Up @@ -66,24 +67,12 @@ package("dpp")
if not package:config("shared") then
package:add("defines", "DPP_STATIC")
end
if package:config("have_voice") then
wprint([[
=== Deprecation Warning ===
You should move out to use voice flag, instead of have_voice
Deprecated:
add_requires("dpp", {
configs = {have_voice = true}
})
New (Recommended):
add_requires("dpp", {
configs = {voice = true}
})
This flag will be removed soon, please migrate ASAP!
]])
end
if package:config("voice") then
package:add("defines", "HAVE_VOICE")
package:add("deps", "libsodium", "libopus")
package:add("deps", "libopus")
if package:version():lt("v10.0.32") then
package:add("deps", "libsodium")
end
end

if package:config("coro") then
Expand Down
Loading