Skip to content

Commit 7ed0e9a

Browse files
bootstrap: add tools::wayland_scanner & pkg::wayland_protocols
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent fc34c81 commit 7ed0e9a

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

bootstrap.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ sources:
124124
regenerate:
125125
- args: ['autoreconf', '-f', '-i']
126126

127+
- name: wayland
128+
subdir: 'bundled'
129+
git: 'https://github.com/wayland-project/wayland.git'
130+
tag: '1.20.0'
131+
version: '1.20.0'
132+
127133
tools:
128134
- name: host-autoconf-v2.69
129135
source:
@@ -336,6 +342,22 @@ tools:
336342
- args: ['ninja', 'install', '-j@PARALLELISM@']
337343
# quiet: true
338344

345+
- name: wayland-scanner
346+
from_source: wayland
347+
configure:
348+
- args:
349+
- 'meson'
350+
- '--prefix=@PREFIX@'
351+
- '-Ddtd_validation=false'
352+
- '-Ddocumentation=false'
353+
- '-Dscanner=true'
354+
- '-Dlibraries=false'
355+
- '@THIS_SOURCE_DIR@'
356+
compile:
357+
- args: ['ninja']
358+
install:
359+
- args: ['ninja', 'install']
360+
339361
packages:
340362
- name: ripgrep
341363
source:
@@ -867,6 +889,32 @@ packages:
867889
- '-j@PARALLELISM@'
868890
- args: ['make', 'install', 'INSTALL_TOP=@THIS_COLLECT_DIR@/usr']
869891

892+
# -------------------- wayland (wayland-protocols, wayland-scanner) --------------------
893+
- name: wayland-protocols
894+
source:
895+
subdir: 'bundled'
896+
git: 'https://github.com/wayland-project/wayland-protocols.git'
897+
tag: '1.24'
898+
version: '1.24'
899+
tools_required:
900+
- host-gcc
901+
- wayland-scanner
902+
configure:
903+
- args:
904+
- 'meson'
905+
- '--cross-file'
906+
- '@SOURCE_ROOT@/userland/cross-file.ini'
907+
- '--prefix=/usr'
908+
- '--buildtype=release'
909+
- '-Dtests=false'
910+
- '@THIS_SOURCE_DIR@'
911+
build:
912+
- args: ['ninja']
913+
- args: ['ninja', 'install']
914+
environ:
915+
DESTDIR: '@THIS_COLLECT_DIR@'
916+
quiet: true
917+
870918
tasks:
871919
- name: sysroot
872920
pkgs_required:

0 commit comments

Comments
 (0)