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.

24 lines
1.1 KiB

feat: add svt-av1 (#2258) * feat: add libvpx * fix(libvpx): fix some error * fix(libvpx): fix an error * fix(libvpx): disable on windows and mobile platform * feat(libvpx): run configure manually * feat(libvpx): add configs * feat: add svt-av1 * fix: fix some build errors * fix: fix typos * fix: fix typos * chore(svt-av1): remove unused deps * fix: use nasm in windows * fix(svt-av1): fix wasm build error * fix(svt-av1): fix wasm build error * fix(svt-av1): fix a typo * fix(libvpx): fix fedora build error * fix(svt-av1): fix fedora build error * fix(libvpx): fix fedora build error * feat: add package which * fix(svt-av1): fix wasm build error in some emscripten version * fix(libvpx): fix cross build error * fix(libvpx): fix build error * fix(libvpx): fix some errors * chore(libvpx): tweaks * fix(libvpx): support os name `ios` * fix(libvpx): improve cc detect * chore(libvpx): add debug msg * chore(libvpx): fix typos * chore(libvpx): add debug msg * chore(libvpx): use nasm for mingw * fix(libvpx): fix a typo * chore: tweaks * fix: fix bsd build error * fix: fix bsd build error * feat:libvpx output config.log when configure failed * fix(libvpx): fix typos * chore: temporarily remove libvpx * fix(svt-av1): fix build error on mingw * fix(svt-av1): fix build error on arm * chore(svt-av1): tweaks * fix(svt-av1): fix android build error * chore(svt-av1): tweaks * fix(svt-av1): fix android build error * fix(svt-av1): fix android build error * feat(svt-av1): test with has_cfuncs * Update xmake.lua * Update xmake.lua * fix(svt-av1): add pthread syslink for bsd * fix(svt-av1): disable `pthread_setaffinity_np` for android * fix(svt-av1): fix a typo * fix(svt-av1): disable `pthread_setschedparam` for wasm * feat(svt-av1): add some options * Update xmake.lua --------- Co-authored-by: ruki <waruqi@gmail.com>
1 year ago
package("which")
set_kind("binary")
set_homepage("https://www.gnu.org/software/which/")
set_description("shows the full path of (shell) commands")
add_urls("https://ftpmirror.gnu.org/gnu/which/which-$(version).tar.gz",
"https://ftp.gnu.org/gnu/which/which-$(version).tar.gz",
feat: add svt-av1 (#2258) * feat: add libvpx * fix(libvpx): fix some error * fix(libvpx): fix an error * fix(libvpx): disable on windows and mobile platform * feat(libvpx): run configure manually * feat(libvpx): add configs * feat: add svt-av1 * fix: fix some build errors * fix: fix typos * fix: fix typos * chore(svt-av1): remove unused deps * fix: use nasm in windows * fix(svt-av1): fix wasm build error * fix(svt-av1): fix wasm build error * fix(svt-av1): fix a typo * fix(libvpx): fix fedora build error * fix(svt-av1): fix fedora build error * fix(libvpx): fix fedora build error * feat: add package which * fix(svt-av1): fix wasm build error in some emscripten version * fix(libvpx): fix cross build error * fix(libvpx): fix build error * fix(libvpx): fix some errors * chore(libvpx): tweaks * fix(libvpx): support os name `ios` * fix(libvpx): improve cc detect * chore(libvpx): add debug msg * chore(libvpx): fix typos * chore(libvpx): add debug msg * chore(libvpx): use nasm for mingw * fix(libvpx): fix a typo * chore: tweaks * fix: fix bsd build error * fix: fix bsd build error * feat:libvpx output config.log when configure failed * fix(libvpx): fix typos * chore: temporarily remove libvpx * fix(svt-av1): fix build error on mingw * fix(svt-av1): fix build error on arm * chore(svt-av1): tweaks * fix(svt-av1): fix android build error * chore(svt-av1): tweaks * fix(svt-av1): fix android build error * fix(svt-av1): fix android build error * feat(svt-av1): test with has_cfuncs * Update xmake.lua * Update xmake.lua * fix(svt-av1): add pthread syslink for bsd * fix(svt-av1): disable `pthread_setaffinity_np` for android * fix(svt-av1): fix a typo * fix(svt-av1): disable `pthread_setschedparam` for wasm * feat(svt-av1): add some options * Update xmake.lua --------- Co-authored-by: ruki <waruqi@gmail.com>
1 year ago
"https://carlowood.github.io/which/which-$(version).tar.gz",
"https://mirrors.ustc.edu.cn/gnu/which/which-$(version).tar.gz")
add_versions("2.16", "0ac8502e9985a3ac6b0e2aa4f2a60f91cad0dc0cca6dc9c1c142ebba4b8dd664")
add_versions("2.17", "176fe9c451487eda787dd58d9469d48c95509f49dbb34a574004a936905dd6da")
add_versions("2.19", "7d79b874f65118ac846a0deb31a8fbd6816cd81e74930299c82103765d45cd52")
add_versions("2.20", "d417b65c650d88ad26a208293c1c6e3eb60d4b6d847f01ff8f66aca63e2857f8")
add_versions("2.21", "f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad")
on_install("@bsd", "@linux", "@macosx", function (package)
import("package.tools.autoconf").install(package)
end)
on_test(function (package)
os.vrun("which -v")
end)