@@ -124,13 +124,42 @@ sources:
124
124
regenerate :
125
125
- args : ['autoreconf', '-f', '-i']
126
126
127
+ - name : ' pkg-config'
128
+ subdir : ' bundled'
129
+ git : ' https://gitlab.freedesktop.org/pkg-config/pkg-config.git'
130
+ tag : ' pkg-config-0.29.2'
131
+ version : ' 0.29.2'
132
+ tools_required :
133
+ - host-autoconf-v2.69
134
+ - host-automake-v1.16
135
+ - host-libtool
136
+ regenerate :
137
+ - args : ['./autogen.sh']
138
+ environ :
139
+ ' NOCONFIGURE ' : ' yes'
140
+
127
141
- name : wayland
128
142
subdir : ' bundled'
129
143
git : ' https://github.com/wayland-project/wayland.git'
130
144
tag : ' 1.20.0'
131
145
version : ' 1.20.0'
132
146
133
147
tools :
148
+ # We could run an external pkg-config; however, we need the aclocal files.
149
+ # The easiest way to ensure that they are available is to just install pkg-config.
150
+ - name : host-pkg-config
151
+ exports_aclocal : true
152
+ from_source : pkg-config
153
+ configure :
154
+ - args :
155
+ - ' @THIS_SOURCE_DIR@/configure'
156
+ - ' --prefix=@PREFIX@'
157
+ - ' --with-internal-glib'
158
+ compile :
159
+ - args : ['make', '-j@PARALLELISM@']
160
+ install :
161
+ - args : ['make', 'install']
162
+
134
163
- name : host-autoconf-v2.69
135
164
source :
136
165
name : autoconf-v2.69
@@ -371,9 +400,14 @@ tools:
371
400
372
401
- name : wayland-scanner
373
402
from_source : wayland
403
+ tools_required :
404
+ - virtual : pkgconfig-for-host
405
+ program_name : host-pkg-config
374
406
configure :
375
407
- args :
376
408
- ' meson'
409
+ - ' --native-file'
410
+ - ' @SOURCE_ROOT@/userland/native-file.ini'
377
411
- ' --prefix=@PREFIX@'
378
412
- ' -Ddtd_validation=false'
379
413
- ' -Ddocumentation=false'
@@ -916,7 +950,7 @@ packages:
916
950
- ' -j@PARALLELISM@'
917
951
- args : ['make', 'install', 'INSTALL_TOP=@THIS_COLLECT_DIR@/usr']
918
952
919
- # -------------------- wayland (wayland-protocols, wayland-scanner, wayland, libexpat, host-libtool, libffi) --------------------
953
+ # -------------------- wayland --------------------
920
954
- name : wayland-protocols
921
955
source :
922
956
subdir : ' bundled'
@@ -1003,39 +1037,111 @@ packages:
1003
1037
- ' --with-sysroot=@SYSROOT_DIR@' # Set libtool's lt_sysroot.
1004
1038
build :
1005
1039
- args : ['make', '-j@PARALLELISM@']
1006
- - args : ['make', 'install']
1040
+ - args : ['make', 'install-strip ']
1007
1041
environ :
1008
1042
DESTDIR : ' @THIS_COLLECT_DIR@'
1009
- quiet : true
1010
1043
1011
- # - name: wayland
1012
- # from_source: wayland
1044
+ - name : wayland
1045
+ from_source : wayland
1046
+ tools_required :
1047
+ - host-pkg-config
1048
+ - host-gcc
1049
+ - wayland-scanner
1050
+ - host-libtool
1051
+ - virtual : pkgconfig-for-target
1052
+ triple : " x86_64-aero"
1053
+ - virtual : pkgconfig-for-host
1054
+ program_name : host-pkg-config
1055
+ pkgs_required :
1056
+ - mlibc
1057
+ - libexpat
1058
+ - libffi
1059
+ configure :
1060
+ - args :
1061
+ - ' meson'
1062
+ - ' --native-file'
1063
+ - ' @SOURCE_ROOT@/userland/native-file.ini'
1064
+ - ' --cross-file'
1065
+ - ' @SOURCE_ROOT@/userland/cross-file.ini'
1066
+ - ' --prefix=/usr'
1067
+ - ' --buildtype=debugoptimized'
1068
+ - ' -Ddtd_validation=false'
1069
+ - ' -Ddocumentation=false'
1070
+ - ' -Dscanner=false'
1071
+ - ' @THIS_SOURCE_DIR@'
1072
+ environ :
1073
+ PKG_CONFIG_SYSROOT_DIR : ' @BUILD_ROOT@/system-root'
1074
+ build :
1075
+ - args : ['ninja']
1076
+ - args : ['ninja', 'install']
1077
+ environ :
1078
+ DESTDIR : ' @THIS_COLLECT_DIR@'
1079
+
1080
+ # - name: weston
1081
+ # labels: [aarch64]
1082
+ # architecture: '@OPTION:arch@'
1083
+ # source:
1084
+ # subdir: 'ports'
1085
+ # git: 'https://github.com/wayland-project/weston.git'
1086
+ # tag: '10.0.0'
1087
+ # version: '10.0.0'
1013
1088
# tools_required:
1014
- # - host-gcc
1015
- # - wayland-scanner
1089
+ # - host-autoconf-v2.69
1090
+ # - host-automake-v1.15
1016
1091
# - host-libtool
1092
+ # - host-pkg-config
1093
+ # - system-gcc
1094
+ # - wayland-scanner
1095
+ # - virtual: pkgconfig-for-target
1096
+ # triple: "@OPTION:arch-triple@"
1097
+ # - virtual: pkgconfig-for-host
1098
+ # program_name: host-pkg-config
1017
1099
# pkgs_required:
1018
1100
# - mlibc
1019
- # - libexpat
1020
- # - libffi
1101
+ # - cairo
1102
+ # - libinput
1103
+ # - libxkbcommon
1104
+ # - mesa
1105
+ # - wayland
1106
+ # - wayland-protocols
1107
+ # - dejavu
1108
+ # - libxcursor
1109
+ # - xorg-server
1110
+ # - pango
1111
+ # - glib
1112
+ # - libjpeg-turbo
1021
1113
# configure:
1022
1114
# - args:
1023
1115
# - 'meson'
1116
+ # - '--native-file'
1117
+ # - '@SOURCE_ROOT@/scripts/meson.native-file'
1024
1118
# - '--cross-file'
1025
- # - '@SOURCE_ROOT@/userland/ cross-file.ini '
1119
+ # - '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@. cross-file'
1026
1120
# - '--prefix=/usr'
1121
+ # - '--libdir=lib'
1027
1122
# - '--buildtype=debugoptimized'
1028
- # - '-Ddtd_validation=false'
1029
- # - '-Ddocumentation=false'
1030
- # - '-Dscanner=false'
1123
+ # - '-Dbackend-x11=false'
1124
+ # - '-Dsimple-clients=damage,im,egl,shm,touch'
1125
+ # - '-Dimage-jpeg=true'
1126
+ # - '-Dimage-webp=false'
1127
+ # - '-Dlauncher-logind=false'
1128
+ # - '-Dbackend-drm-screencast-vaapi=false'
1129
+ # - '-Dbackend-rdp=false'
1130
+ # - '-Dcolor-management-colord=false'
1131
+ # - '-Dcolor-management-lcms=false'
1132
+ # - '-Dsystemd=false'
1133
+ # - '-Dremoting=false'
1134
+ # - '-Dpipewire=false'
1031
1135
# - '@THIS_SOURCE_DIR@'
1032
1136
# environ:
1033
1137
# PKG_CONFIG_SYSROOT_DIR: '@BUILD_ROOT@/system-root'
1138
+ # PKG_CONFIG_LIBDIR: '@BUILD_ROOT@/system-root/usr/lib/pkgconfig:@BUILD_ROOT@/system-root/usr/share/pkgconfig'
1034
1139
# build:
1035
1140
# - args: ['ninja']
1036
1141
# - args: ['ninja', 'install']
1037
1142
# environ:
1038
1143
# DESTDIR: '@THIS_COLLECT_DIR@'
1144
+ # quiet: true
1039
1145
1040
1146
tasks :
1041
1147
- name : sysroot
0 commit comments