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.
16 lines
592 B
16 lines
592 B
package("pl_mpeg") |
|
set_kind("library", {headeronly = true}) |
|
set_homepage("https://github.com/phoboslab/pl_mpeg") |
|
set_description("Single file C library for decoding MPEG1 Video and MP2 Audio") |
|
set_license("MIT") |
|
|
|
set_urls("https://github.com/phoboslab/pl_mpeg.git") |
|
add_versions("2024.04.12", "9e40dd6536269d788728e32c39bfacf2ab7a0866") |
|
|
|
on_install(function (package) |
|
os.cp("pl_mpeg.h", package:installdir("include")) |
|
end) |
|
|
|
on_test(function (package) |
|
assert(package:has_cfuncs("plm_create_with_filename", {includes = "pl_mpeg.h"})) |
|
end) |