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
670 B
20 lines
670 B
2 years ago
|
package("avir")
|
||
|
|
||
|
set_kind("library", {headeronly = true})
|
||
|
set_homepage("https://github.com/avaneev/avir")
|
||
|
set_description("High-quality pro image resizing / scaling C++ library, including a very fast Lanczos resizer")
|
||
|
set_license("MIT")
|
||
|
|
||
|
add_urls("https://github.com/avaneev/avir/archive/refs/tags/$(version).tar.gz",
|
||
|
"https://github.com/avaneev/avir.git")
|
||
|
|
||
|
add_versions("3.0", "011909d31cf782152a69f570563eb70700504f168174a6049b6acbb9b9f511ea")
|
||
|
|
||
|
on_install(function (package)
|
||
|
os.cp("*.h", package:installdir("include"))
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:has_cxxincludes("avir.h"))
|
||
|
end)
|