Skip to content

Commit

Permalink
add libxkbcommon dep
Browse files Browse the repository at this point in the history
  • Loading branch information
xq114 committed Feb 4, 2025
1 parent 0220a06 commit 6524436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/l/libxkbcommon/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ package("libxkbcommon")

add_urls("https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-$(version).tar.gz",
"https://github.com/xkbcommon/libxkbcommon.git")

add_versions("1.7.0", "20d5e40dabd927f7a7f4342bebb1e8c7a59241283c978b800ae3bf60394eabc4")
add_versions("1.0.3", "5d10a57ab65daad7d975926166770eca1d2c899131ab96c23845df1c42da5c31")

if is_plat("linux") then
add_extsources("apt::libxkbcommon-dev")
end

add_configs("x11", {description = "Enable backend to X11 (default is false).", default = false, type = "boolean"})
add_configs("wayland", {description = "Enable backend to X11 (default is true).", default = true, type = "boolean"})
add_configs("wayland", {description = "Enable backend to Wayland (default is true).", default = true, type = "boolean"})

on_load(function (package)
if package:config("x11") then
Expand Down
4 changes: 2 additions & 2 deletions packages/o/open3d/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package("open3d")
add_includedirs("include", "include/open3d/3rdparty")
if is_plat("linux") then
add_syslinks("stdc++fs")
add_deps("libx11", "libxrandr", "libxrender", "libxinerama", "libxcursor", "libxfixes", "libxext", "libxi", "wayland", "wayland-protocols")
add_deps("libx11", "libxrandr", "libxrender", "libxinerama", "libxcursor", "libxfixes", "libxext", "libxi", "libxkbcommon", "wayland", "wayland-protocols")
end
on_load("windows|x64", "linux|x86_64", "macosx|x86_64", function (package)
if package:config("cuda") then
Expand Down Expand Up @@ -91,7 +91,7 @@ package("open3d")
if package:is_plat("windows") then
import("package.tools.cmake").install(package, configs, {buildir = os.tmpfile() .. ".dir"})
elseif package:is_plat("linux") then
import("package.tools.cmake").install(package, configs, {packagedeps = {"libxrandr", "libxrender", "libxinerama", "libxcursor", "libxfixes", "libxext", "libxi", "libx11", "wayland", "wayland-protocol"}})
import("package.tools.cmake").install(package, configs, {packagedeps = {"libxrandr", "libxrender", "libxinerama", "libxcursor", "libxfixes", "libxext", "libxi", "libx11", "libxkbcommon", "wayland", "wayland-protocol"}})
else
import("package.tools.cmake").install(package, configs)
end
Expand Down

0 comments on commit 6524436

Please sign in to comment.