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

[miniaudio] Add new port #29740

Merged
merged 4 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions ports/miniaudio/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mackron/miniaudio
REF a0dc1037f99a643ff5fad7272cd3d6461f2d63fa
SHA512 396608d8326777adfffb50216322198b9f86d73c6a83c5886dc9eaef93b82a4e8f44f446192990b7b9fabac53fad073546214692a000415307e70812a50fb0c2
HEAD_REF master
)

file(INSTALL "${SOURCE_PATH}/miniaudio.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
7 changes: 7 additions & 0 deletions ports/miniaudio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "miniaudio",
"version": "0.11.11",
"description": "Audio playback and capture library written in C, in a single source file",
"homepage": "https://github.com/mackron/miniaudio",
"license": "Unlicense OR MIT-0"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5044,6 +5044,10 @@
"baseline": "1.3.3",
"port-version": 3
},
"miniaudio": {
"baseline": "0.11.11",
"port-version": 0
},
"minifb": {
"baseline": "2023-02-03",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/m-/miniaudio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "8a7494389f8cefc6d039938d2416fa56d94ee72d",
"version": "0.11.11",
"port-version": 0
}
]
}