package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
572 B
17 lines
572 B
package("qoa") |
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://github.com/phoboslab/qoa") |
|
set_description("The “Quite OK Audio Format” for fast, lossy audio compression") |
|
set_license("MIT") |
|
|
|
add_urls("https://github.com/phoboslab/qoa.git") |
|
|
|
add_versions("2024.07.02", "e0c69447d4d3945c3c92ac1751e4cdc9803a8303") |
|
|
|
on_install(function (package) |
|
os.cp("qoa.h", package:installdir("include")) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("qoa_encode_header", {includes = "qoa.h"})) |
|
end)
|
|
|