update readme

pull/152/head
ruki 4 years ago
parent 135d2942d4
commit 8843b44cb9
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 126
      PKGLIST.md
  2. 12
      README.md
  3. 12
      README_zh.md
  4. 48
      scripts/genlist.lua

@ -1,126 +0,0 @@
## All Supported Packages
|bsd|linux|windows|macosx|msys|mingw|iphoneos|android|
|---|-----|-------|------|----|-----|--------|-------|
|bin2c|abseil|abseil|abseil|bin2c|bin2c|bin2c|bin2c||
|catch2|assimp|assimp|assimp|catch2|box2d|catch2|catch2||
|concurrentqueue|bin2c|bin2c|autoconf|concurrentqueue|catch2|cjson|cjson||
|cpp-taskflow|boost|boost|automake|cpp-taskflow|concurrentqueue|concurrentqueue|concurrentqueue||
|cxxopts|box2d|box2d|bin2c|cxxopts|cpp-taskflow|cpp-taskflow|cpp-taskflow||
|doctest|bullet3|bullet3|boost|doctest|cxxopts|cxxopts|cxxopts||
|fmt|bzip2|bzip2|box2d|fmt|doctest|doctest|doctest||
|gtest|cairo|cairo|bullet3|gtest|fmt|fmt|ffmpeg||
|inja|catch2|catch2|bzip2|inja|glew|gtest|fmt||
|irrXML|cjson|co|cairo|irrXML|glfw|imgui|gtest||
|libjpeg|co|concurrentqueue|catch2|libjpeg|gtest|inja|imgui||
|lua|concurrentqueue|cpp-taskflow|cjson|libxmake|imgui|irrXML|inja||
|luajit|cpp-taskflow|cxxopts|cmake|nlohmann_json|inja|json-c|irrXML||
|moonjit|cxxopts|doctest|co|pybind11|irrXML|libcurl|json-c||
|ncurses|doctest|eigen|concurrentqueue|spdlog|libjpeg|libev|libjpeg||
|nlohmann_json|eigen|expat|cpp-taskflow|stb|libraw|libffi|libpng||
|pybind11|expat|fmt|cxxopts|tbox|libsdl|libjpeg|libuv||
|spdlog|expresscpp|freeglut|doctest|tmxparser|libsdl_image|libpng|libxmake||
|stb|ffmpeg|freetype|eigen||libsdl_mixer|libraw|libxml2||
|tbox|fmt|glew|expat||libsdl_net|libuv|lua||
|tmxparser|fontconfig|glfw|expresscpp||libsdl_ttf|libxml2|luajit||
||freeglut|go|ffmpeg||libuv|luajit|moonjit||
||freetype|gtest|fmt||nlohmann_json|moonjit|nlohmann_json||
||gettext|imgui|fontconfig||pcre|nlohmann_json|pybind11||
||glew|inja|freetype||pcre2|pybind11|spdlog||
||glfw|irrXML|gettext||pybind11|spdlog|stb||
||glib|libcurl|glew||sfml|stb|tbox||
||go|libjpeg|glfw||spdlog|tbox|tinyxml2||
||gperf|libpng|glib||stb|tinyxml2|tmxparser||
||gtest|libraw|go||tbox|tmxparser|zlib||
||icu4c|libsdl|gperf||tinyxml2|zlib|||
||imgui|libsdl_gfx|gtest||tmxparser||||
||inja|libsdl_image|icu4c||xz||||
||irrXML|libsdl_mixer|imgui||zlib||||
||json-c|libsdl_net|inja||||||
||libcurl|libsdl_ttf|irrXML||||||
||libev|libtiff|json-c||||||
||libffi|libuv|libcurl||||||
||libiconv|libwebsockets|libev||||||
||libjpeg|libxmake|libffi||||||
||libmill|libxml2|libiconv||||||
||libomp|lief|libjpeg||||||
||libpng|lua|libmill||||||
||libpthread-stubs|luajit|libomp||||||
||libraw|moonjit|libpng||||||
||libsdl|nana|libpthread-stubs||||||
||libsdl_gfx|nlohmann_json|libraw||||||
||libsdl_image|oatpp|libsdl||||||
||libsdl_mixer|pcre|libsdl_gfx||||||
||libsdl_net|pcre2|libsdl_image||||||
||libsdl_ttf|pixman|libsdl_mixer||||||
||libtask|protobuf-c|libsdl_net||||||
||libtiff|protobuf-cpp|libsdl_ttf||||||
||libusb|pybind11|libtask||||||
||libuv|raylib|libtiff||||||
||libwebsockets|sfml|libtool||||||
||libx11|skia|libusb||||||
||libxau|sol2|libuv||||||
||libxcb|spdlog|libwebsockets||||||
||libxcursor|sqlite3|libx11||||||
||libxdmcp|stb|libxau||||||
||libxext|tbox|libxcb||||||
||libxfixes|tinyxml2|libxcursor||||||
||libxi|tmxparser|libxdmcp||||||
||libxinerama|unqlite|libxext||||||
||libxmake|zeromq|libxfixes||||||
||libxml2|zlib|libxi||||||
||libxrandr||libxinerama||||||
||libxrender||libxmake||||||
||libyaml||libxml2||||||
||lief||libxrandr||||||
||lua||libxrender||||||
||luajit||libyaml||||||
||mbedtls||lief||||||
||mono||lua||||||
||moonjit||luajit||||||
||mysql||make||||||
||nana||mbedtls||||||
||ncurses||meson||||||
||nlohmann_json||mono||||||
||oatpp||moonjit||||||
||opencv||mysql||||||
||openssl||nasm||||||
||pcre||ncurses||||||
||pcre2||ninja||||||
||pixman||nlohmann_json||||||
||protobuf-c||oatpp||||||
||protobuf-cpp||opencv||||||
||pybind11||openssl||||||
||sfml||patch||||||
||skia||pcre||||||
||sol2||pcre2||||||
||spdlog||pixman||||||
||sqlite3||pkg-config||||||
||stb||protobuf-c||||||
||tbox||protobuf-cpp||||||
||tinyxml2||protoc||||||
||tmxparser||pybind11||||||
||unqlite||python||||||
||util-linux||python2||||||
||util-macros||raylib||||||
||x264||sfml||||||
||x265||skia||||||
||xcb-proto||sol2||||||
||xorgproto||spdlog||||||
||xtrans||sqlite3||||||
||xz||stb||||||
||zeromq||tbox||||||
||zlib||tinyxml2||||||
||||tmxparser||||||
||||unqlite||||||
||||util-linux||||||
||||util-macros||||||
||||x264||||||
||||x265||||||
||||xcb-proto||||||
||||xorgproto||||||
||||xtrans||||||
||||xz||||||
||||yasm||||||
||||zeromq||||||
||||zlib||||||

@ -67,6 +67,16 @@ If you want to know more, please refer to:
* [Github](https://github.com/xmake-io/xmake)
* [HomePage](https://xmake.io)
## Xrepo
xrepo is a cross-platform C/C++ package manager based on [Xmake](https://github.com/xmake-io/xmake).
It is based on the runtime provided by xmake, but it is a complete and independent package management program. Compared with package managers such as vcpkg/homebrew, xrepo can provide C/C++ packages for more platforms and architectures at the same time.
If you want to know more, please refer to: [Documents](https://xrepo.xmake.io/#/getting_started), [Github](https://github.com/xmake-io/xrepo) and [Gitee](https://gitee.com/tboox/xrepo)
![](https://xrepo.xmake.io/assets/img/xrepo.gif)
## Submit package to repository
Write a xmake.lua of new package in `packages/x/xxx/xmake.lua` and push a pull-request to the dev branch.
@ -155,7 +165,7 @@ package("zlib")
|libwebsockets|unqlite|||libtool|||
|libxml2|zeromq|||libusb|||
Note: Only some packages are shown here. If you want to see a complete list of all packages, please see: [PKGLIST.md](https://github.com/xmake-io/xmake-repo/blob/master/PKGLIST.md)
Note: Only some packages are shown here. If you want to see a complete list of all packages, please see: [Packages List](https://xrepo.xmake.io/#/packages/linux)
We also welcome everyone to contribute some packages to our package repository.🙏

@ -67,6 +67,16 @@ xmake-repo是一个官方的xmake包管理仓库,收录了常用的c/c++开发
* [在线源码](https://github.com/xmake-io/xmake)
* [项目主页](https://xmake.io/cn)
## Xrepo
xrepo 是一个基于 [Xmake](https://github.com/xmake-io/xmake) 的跨平台 C/C++ 包管理器。
它基于 xmake 提供的运行时,但却是一个完整独立的包管理程序,相比 vcpkg/homebrew 此类包管理器,xrepo 能够同时提供更多平台和架构的 C/C++ 包。
如果你想要了解更多,请参考:[在线文档](https://xrepo.xmake.io/#/zh-cn/getting_started), [Github](https://github.com/xmake-io/xrepo) 以及 [Gitee](https://gitee.com/tboox/xrepo)
![](https://xrepo.xmake.io/assets/img/xrepo.gif)
## 提交一个新包到仓库
在`packages/x/xxx/xmake.lua`中写个关于新包的xmake.lua描述,然后提交一个pull-request到dev分支。
@ -155,6 +165,6 @@ package("zlib")
|libwebsockets|unqlite|||libtool|||
|libxml2|zeromq|||libusb|||
这里只显示了部分包,如果你想看所有包列表,可以看下:[PKGLIST.md](https://github.com/xmake-io/xmake-repo/blob/master/PKGLIST.md)
这里只显示了部分包,如果你想看所有包列表,请到 [仓库包列表](https://xrepo.xmake.io/#/zh-cn/packages/linux) 查看。
我们也非常欢迎大家能够贡献一些进来。🙏

@ -1,48 +0,0 @@
import("packages", {alias = "get_packages"})
function main(...)
-- get packages
local packages = get_packages({onlyhost = true})
local tables = {}
local col = 1
local row_max = 0
for _, pkgs in pairs(packages) do
for row, pkg in ipairs(pkgs) do
tables[row] = tables[row] or {}
tables[row][col] = pkg
end
if #pkgs > row_max then
row_max = #pkgs
end
col = col + 1
end
-- generate markdown table
local packages_md = "## All Supported Packages\n\n"
for plat, _ in pairs(packages) do
packages_md = packages_md .. "|" .. plat
end
packages_md = packages_md .. "|\n"
for plat, _ in pairs(packages) do
packages_md = packages_md .. "|" .. (plat:gsub('.', '-'))
end
packages_md = packages_md .. "|\n"
for y = 1, row_max do
for x = 1, col do
local pkg = tables[y][x]
local info = ""
if pkg then
if pkg.generic then
info = pkg.name
else
info = pkg.name .. "(" .. table.concat(pkg.archs, ",") .. ")"
end
end
packages_md = packages_md .. "|" .. info
end
packages_md = packages_md .. "|\n"
end
print(packages_md)
io.writefile(path.join(os.scriptdir(), "..", "PKGLIST.md"), packages_md)
end
Loading…
Cancel
Save