fix: wayland packages lacks dependency

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-10-13 05:53:07 +00:00
1 parent 1842b8db2e
commit 3604b7a002
2 files changed
+8 -4

No files matched your search

+7 -3
View File
@@ -9,9 +9,11 @@ source_managed("gitlab://gitlab.freedesktop.org/wayland/wayland-protocols#1.49")
builddep("shortcut/meson")
builddep("shortcut/c++")
builddep(f"libffi-dev @{arch.get_target()}")
builddep(f"libexpat-dev @{arch.get_target()}")
builddep(f"pkgconf @{arch.get_target()}")
builddep("libffi-dev @target")
builddep("libexpat-dev @target")
builddep("pkgconf @target")
builddep("libwayland-dev")
builddep("libwayland-dev @target")
builddep("gnu-sed")
@@ -19,6 +21,7 @@ def build():
cpp.meson_setup([
f"--prefix={get_prefix('wayland-protocols')}",
f"--datadir={get_prefix('wayland-protocols')}/share",
f"--includedir={get_prefix('wayland-protocols')}/include",
"-Dtests=false",
])
cpp.meson_compile()
@@ -32,6 +35,7 @@ def pack(composer):
composer.add_dir("share/pkgconfig", "lib/pkgconfig")
composer.makedir("share")
composer.add_dir("share/wayland-protocols")
composer.add_dir("include")
package("wayland-protocols")
on_pack(pack)
+1 -1
View File
@@ -43,4 +43,4 @@ package("libwayland-dev")
dep("libexpat @same-arch")
dep("libwayland (same)")
dep("libffi-dev @same-arch")
cpp.use_auto_pack(["dev", "bin"])
on_pack(pack_dev)