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.
 
 
 

20 lines
846 B

package("dr_wav")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/mackron/dr_libs")
set_description("Single file audio decoding libraries for C/C++.")
set_license("MIT")
set_urls("https://github.com/mackron/dr_libs.git")
add_versions("0.13.12", "d35a3bc5efd02455d98cbe12b94647136f09b42d")
add_versions("0.13.11", "e07e2b8264da5fa1331a0ca3d30a3606084c311f")
add_versions("0.13.10", "dbbd08d81fd2b084c5ae931531871d0c5fd83b87")
add_versions("0.13.8", "4b3d07849537ce0b71b22180c0b1335eacc6e9be")
add_versions("0.12.19", "46f149034a9f27e873d2c4c6e6a34ae4823a2d8d")
on_install(function (package)
os.cp("dr_wav.h", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cfuncs("drwav_init_ex", {includes = "dr_wav.h"}))
end)