@@ -124,13 +124,42 @@ sources:
124124 regenerate :
125125 - args : ['autoreconf', '-f', '-i']
126126
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+
127141 - name : wayland
128142 subdir : ' bundled'
129143 git : ' https://github.com/wayland-project/wayland.git'
130144 tag : ' 1.20.0'
131145 version : ' 1.20.0'
132146
133147tools :
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+
134163 - name : host-autoconf-v2.69
135164 source :
136165 name : autoconf-v2.69
@@ -371,9 +400,14 @@ tools:
371400
372401 - name : wayland-scanner
373402 from_source : wayland
403+ tools_required :
404+ - virtual : pkgconfig-for-host
405+ program_name : host-pkg-config
374406 configure :
375407 - args :
376408 - ' meson'
409+ - ' --native-file'
410+ - ' @SOURCE_ROOT@/userland/native-file.ini'
377411 - ' --prefix=@PREFIX@'
378412 - ' -Ddtd_validation=false'
379413 - ' -Ddocumentation=false'
@@ -916,7 +950,7 @@ packages:
916950 - ' -j@PARALLELISM@'
917951 - args : ['make', 'install', 'INSTALL_TOP=@THIS_COLLECT_DIR@/usr']
918952
919- # -------------------- wayland (wayland-protocols, wayland-scanner, wayland, libexpat, host-libtool, libffi) --------------------
953+ # -------------------- wayland --------------------
920954 - name : wayland-protocols
921955 source :
922956 subdir : ' bundled'
@@ -1003,39 +1037,111 @@ packages:
10031037 - ' --with-sysroot=@SYSROOT_DIR@' # Set libtool's lt_sysroot.
10041038 build :
10051039 - args : ['make', '-j@PARALLELISM@']
1006- - args : ['make', 'install']
1040+ - args : ['make', 'install-strip ']
10071041 environ :
10081042 DESTDIR : ' @THIS_COLLECT_DIR@'
1009- quiet : true
10101043
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'
10131088 # tools_required:
1014- # - host-gcc
1015- # - wayland-scanner
1089+ # - host-autoconf-v2.69
1090+ # - host-automake-v1.15
10161091 # - 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
10171099 # pkgs_required:
10181100 # - 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
10211113 # configure:
10221114 # - args:
10231115 # - 'meson'
1116+ # - '--native-file'
1117+ # - '@SOURCE_ROOT@/scripts/meson.native-file'
10241118 # - '--cross-file'
1025- # - '@SOURCE_ROOT@/userland/ cross-file.ini '
1119+ # - '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@. cross-file'
10261120 # - '--prefix=/usr'
1121+ # - '--libdir=lib'
10271122 # - '--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'
10311135 # - '@THIS_SOURCE_DIR@'
10321136 # environ:
10331137 # 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'
10341139 # build:
10351140 # - args: ['ninja']
10361141 # - args: ['ninja', 'install']
10371142 # environ:
10381143 # DESTDIR: '@THIS_COLLECT_DIR@'
1144+ # quiet: true
10391145
10401146tasks :
10411147 - name : sysroot
0 commit comments