PKGBUILD 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. # Maintainer: Caleb Maclennan <caleb@alerque.com>
  2. # Contributor: loqs <bugs-archlinux@entropy-collector.net>
  3. # Contributor: kxxt <rsworktech@outlook.com>
  4. # https://releases.electronjs.org/
  5. # https://gitlab.com/Matt.Jolly/chromium-patches/-/tags
  6. # Note: source array can be synced with an Electron release after updating $pkgver with:
  7. # bash -c 'source PKGBUILD; _update_sources'
  8. pkgver=29.3.0
  9. _gcc_patches=122-3
  10. pkgrel=1
  11. _major_ver=${pkgver%%.*}
  12. pkgname="electron${_major_ver}"
  13. pkgdesc='Build cross platform desktop apps with web technologies'
  14. arch=(x86_64)
  15. url='https://electronjs.org'
  16. license=(MIT BSD-3-Clause)
  17. depends=(c-ares
  18. gcc-libs # libgcc_s.so
  19. glibc # libc.so libm.so
  20. gtk3 libgtk-3.so
  21. libevent
  22. libffi libffi.so
  23. libpulse libpulse.so
  24. nss # libnss3.so
  25. zlib libz.so)
  26. makedepends=(clang
  27. git
  28. gn
  29. gperf
  30. harfbuzz-icu
  31. http-parser
  32. java-runtime-headless
  33. libnotify
  34. libva
  35. lld
  36. llvm
  37. ninja
  38. # Electron ships a vendored nodejs. Meanwhile the npm dependency pulls in nodejs whith is Arch's freshest version.
  39. # Pinning the closest LTS here makes the build environment more consistent with the vendored copy.
  40. nodejs-lts-iron
  41. npm
  42. patchutils
  43. pciutils
  44. pipewire
  45. python
  46. python-httplib2
  47. python-pyparsing
  48. python-requests
  49. python-six
  50. rust
  51. qt5-base
  52. wget
  53. yarn)
  54. optdepends=('kde-cli-tools: file deletion support (kioclient5)'
  55. 'pipewire: WebRTC desktop sharing under Wayland'
  56. 'qt5-base: enable Qt5 with --enable-features=AllowQt'
  57. 'gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)'
  58. 'trash-cli: file deletion support (trash-put)'
  59. 'xdg-utils: open URLs with desktop’s default (xdg-email, xdg-open)')
  60. options=('!lto') # Electron adds its own flags for ThinLTO
  61. source=("git+https://github.com/electron/electron.git#tag=v$pkgver"
  62. https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/$_gcc_patches/chromium-patches-$_gcc_patches.tar.bz2
  63. # Chromium
  64. support-ICU-74-in-LazyTextBreakIterator.patch
  65. drop-flag-unsupported-by-clang17.patch
  66. use-system-libraries-in-node.patch
  67. compiler-rt-adjust-paths.patch
  68. # Electron
  69. default_app-icon.patch
  70. electron-launcher.sh
  71. electron.desktop
  72. jinja-python-3.10.patch
  73. makepkg-source-roller.py
  74. # BEGIN managed sources
  75. chromium-mirror::git+https://github.com/chromium/chromium.git#tag=122.0.6261.156
  76. chromium-mirror_third_party_nan::git+https://github.com/nodejs/nan.git#commit=e14bdcd1f72d62bca1d541b66da43130384ec213
  77. chromium-mirror_third_party_electron_node::git+https://github.com/nodejs/node.git#tag=v20.9.0
  78. chromium-mirror_third_party_engflow-reclient-configs::git+https://github.com/EngFlow/reclient-configs.git#commit=955335c30a752e9ef7bff375baab5e0819b6c00d
  79. chromium-mirror_third_party_clang-format_script::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git#commit=e5337933f2951cacd3aeacd238ce4578163ca0b9
  80. chromium-mirror_third_party_libc++_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git#commit=28aa23ffb4c7344914a5b4ac7169f12e5a12333f
  81. chromium-mirror_third_party_libc++abi_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git#commit=9986707a5f2fc6d5d1ffa7f224a032bdd45c95fd
  82. chromium-mirror_third_party_libunwind_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git#commit=f400fdb561d4416b59b8f8a33d8ec8b79da60495
  83. chromium-mirror_chrome_test_data_perf_canvas_bench::git+https://chromium.googlesource.com/chromium/canvas_bench.git#commit=a7b40ea5ae0239517d78845a5fc9b12976bfc732
  84. chromium-mirror_chrome_test_data_perf_frame_rate_content::git+https://chromium.googlesource.com/chromium/frame_rate/content.git#commit=c10272c88463efeef6bb19c9ec07c42bc8fe22b9
  85. chromium-mirror_chrome_test_data_xr_webvr_info::git+https://chromium.googlesource.com/external/github.com/toji/webvr.info.git#commit=c58ae99b9ff9e2aa4c524633519570bf33536248
  86. chromium-mirror_media_cdm_api::git+https://chromium.googlesource.com/chromium/cdm.git#commit=fef0b5aa1bd31efb88dfab804bdbe614f3d54f28
  87. chromium-mirror_native_client::git+https://chromium.googlesource.com/native_client/src/native_client.git#commit=225f880e2de2a2d2b33fbdad55ca27eca3cdc103
  88. chromium-mirror_net_third_party_quiche_src::git+https://quiche.googlesource.com/quiche.git#commit=0e39ce016ee1ec8271aa7216d547917c239db525
  89. chromium-mirror_third_party_angle::git+https://chromium.googlesource.com/angle/angle.git#commit=f9bad5e27d61e2ab6a7504b1793be5aa14eb1414
  90. chromium-mirror_third_party_anonymous_tokens_src::git+https://chromium.googlesource.com/external/github.com/google/anonymous-tokens.git#commit=d024f05b39e21bb2a0b8205a7ce72b1b185b84c2
  91. chromium-mirror_third_party_content_analysis_sdk_src::git+https://chromium.googlesource.com/external/github.com/chromium/content_analysis_sdk.git#commit=9a408736204513e0e95dd2ab3c08de0d95963efc
  92. chromium-mirror_third_party_dav1d_libdav1d::git+https://chromium.googlesource.com/external/github.com/videolan/dav1d.git#commit=47107e384bd1dc25674acf04d000a8cdc6195234
  93. chromium-mirror_third_party_dawn::git+https://dawn.googlesource.com/dawn.git#commit=6a6719ee09f1078356fdd31c69061e07b5c61c2d
  94. chromium-mirror_third_party_highway_src::git+https://chromium.googlesource.com/external/github.com/google/highway.git#commit=8f20644eca693cfb74aa795b0006b6779c370e7a
  95. chromium-mirror_third_party_google_benchmark_src::git+https://chromium.googlesource.com/external/github.com/google/benchmark.git#commit=b177433f3ee2513b1075140c723d73ab8901790f
  96. chromium-mirror_third_party_boringssl_src::git+https://boringssl.googlesource.com/boringssl.git#commit=414f69504d30d0848b69f6453ea7fb5e88004cb4
  97. chromium-mirror_third_party_breakpad_breakpad::git+https://chromium.googlesource.com/breakpad/breakpad.git#commit=62ecd463583d09eb7d15b1d410055f30b2c7bcb4
  98. chromium-mirror_third_party_cast_core_public_src::git+https://chromium.googlesource.com/cast_core/public.git#commit=71f51fd6fa45fac73848f65421081edd723297cd
  99. chromium-mirror_third_party_catapult::git+https://chromium.googlesource.com/catapult.git#commit=ab03292694695864b523636060e2a96b2c9b2df2
  100. chromium-mirror_third_party_ced_src::git+https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git#commit=ba412eaaacd3186085babcd901679a48863c7dd5
  101. chromium-mirror_third_party_chromium-variations::git+https://chromium.googlesource.com/chromium-variations.git#commit=d0dcd8802c22c1ac4a7d112782a4c75f0c6ca8ee
  102. chromium-mirror_third_party_cld_3_src::git+https://chromium.googlesource.com/external/github.com/google/cld_3.git#commit=b48dc46512566f5a2d41118c8c1116c4f96dc661
  103. chromium-mirror_third_party_colorama_src::git+https://chromium.googlesource.com/external/colorama.git#commit=3de9f013df4b470069d03d250224062e8cf15c49
  104. chromium-mirror_third_party_cpu_features_src::git+https://chromium.googlesource.com/external/github.com/google/cpu_features.git#commit=936b9ab5515dead115606559502e3864958f7f6e
  105. chromium-mirror_third_party_cpuinfo_src::git+https://chromium.googlesource.com/external/github.com/pytorch/cpuinfo.git#commit=76cc10d627add77922dc24521b332a055a4d6d77
  106. chromium-mirror_third_party_crc32c_src::git+https://chromium.googlesource.com/external/github.com/google/crc32c.git#commit=fa5ade41ee480003d9c5af6f43567ba22e4e17e6
  107. chromium-mirror_third_party_cros_system_api::git+https://chromium.googlesource.com/chromiumos/platform2/system_api.git#commit=12d5e386005a211570cfdf9849d2fa6a3b38594b
  108. chromium-mirror_third_party_crossbench::git+https://chromium.googlesource.com/crossbench.git#commit=1983b3f517da56c35c91296467458f71ad5b9340
  109. chromium-mirror_third_party_depot_tools::git+https://chromium.googlesource.com/chromium/tools/depot_tools.git#commit=6fc0c97ab284021b72e3bc962f7fa879ffcad65b
  110. chromium-mirror_third_party_devtools-frontend_src::git+https://chromium.googlesource.com/devtools/devtools-frontend.git#commit=3fa1fc736f46022f45c7ba7d817d1df1519c55d7
  111. chromium-mirror_third_party_dom_distiller_js_dist::git+https://chromium.googlesource.com/chromium/dom-distiller/dist.git#commit=199de96b345ada7c6e7e6ba3d2fa7a6911b8767d
  112. chromium-mirror_third_party_eigen3_src::git+https://chromium.googlesource.com/external/gitlab.com/libeigen/eigen.git#commit=454f89af9d6f3525b1df5f9ef9c86df58bf2d4d3
  113. chromium-mirror_third_party_farmhash_src::git+https://chromium.googlesource.com/external/github.com/google/farmhash.git#commit=816a4ae622e964763ca0862d9dbd19324a1eaf45
  114. chromium-mirror_third_party_ffmpeg::git+https://chromium.googlesource.com/chromium/third_party/ffmpeg.git#commit=17525de887d54b970ffdd421a0879c1db1952307
  115. chromium-mirror_third_party_flac::git+https://chromium.googlesource.com/chromium/deps/flac.git#commit=689da3a7ed50af7448c3f1961d1791c7c1d9c85c
  116. chromium-mirror_third_party_flatbuffers_src::git+https://chromium.googlesource.com/external/github.com/google/flatbuffers.git#commit=bcb9ef187628fe07514e57756d05e6a6296f7dc5
  117. chromium-mirror_third_party_fontconfig_src::git+https://chromium.googlesource.com/external/fontconfig.git#commit=2fb3419a92156569bc1ec707401258c922cd0d99
  118. chromium-mirror_third_party_fp16_src::git+https://chromium.googlesource.com/external/github.com/Maratyszcza/FP16.git#commit=0a92994d729ff76a58f692d3028ca1b64b145d91
  119. chromium-mirror_third_party_gemmlowp_src::git+https://chromium.googlesource.com/external/github.com/google/gemmlowp.git#commit=13d57703abca3005d97b19df1f2db731607a7dc2
  120. chromium-mirror_third_party_grpc_src::git+https://chromium.googlesource.com/external/github.com/grpc/grpc.git#commit=822dab21d9995c5cf942476b35ca12a1aa9d2737
  121. chromium-mirror_third_party_freetype_src::git+https://chromium.googlesource.com/chromium/src/third_party/freetype2.git#commit=57617782464411201ce7bbc93b086c1b4d7d84a5
  122. chromium-mirror_third_party_freetype-testing_src::git+https://chromium.googlesource.com/external/github.com/freetype/freetype2-testing.git#commit=7a69b1a2b028476f840ab7d4a2ffdfe4eb2c389f
  123. chromium-mirror_third_party_fxdiv_src::git+https://chromium.googlesource.com/external/github.com/Maratyszcza/FXdiv.git#commit=63058eff77e11aa15bf531df5dd34395ec3017c8
  124. chromium-mirror_third_party_harfbuzz-ng_src::git+https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git#commit=155015f4bec434ecc2f94621665844218f05ce51
  125. chromium-mirror_third_party_emoji-segmenter_src::git+https://chromium.googlesource.com/external/github.com/google/emoji-segmenter.git#commit=9ba6d25d0d9313569665d4a9d2b34f0f39f9a50e
  126. chromium-mirror_third_party_ots_src::git+https://chromium.googlesource.com/external/github.com/khaledhosny/ots.git#commit=46bea9879127d0ff1c6601b078e2ce98e83fcd33
  127. chromium-mirror_third_party_libgav1_src::git+https://chromium.googlesource.com/codecs/libgav1.git#commit=35fea10bfdb790cf131ae74a4ee346905f34dc3c
  128. chromium-mirror_third_party_googletest_src::git+https://chromium.googlesource.com/external/github.com/google/googletest.git#commit=af29db7ec28d6df1c7f0f745186884091e602e07
  129. chromium-mirror_third_party_hunspell_dictionaries::git+https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git#commit=41cdffd71c9948f63c7ad36e1fb0ff519aa7a37e
  130. chromium-mirror_third_party_icu::git+https://chromium.googlesource.com/chromium/deps/icu.git#commit=bad7ddbf921358177e56fd723c2f59f8041a370f
  131. chromium-mirror_third_party_jsoncpp_source::git+https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git#commit=42e892d96e47b1f6e29844cc705e148ec4856448
  132. chromium-mirror_third_party_leveldatabase_src::git+https://chromium.googlesource.com/external/leveldb.git#commit=068d5ee1a3ac40dabd00d211d5013af44be55bea
  133. chromium-mirror_third_party_libFuzzer_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git#commit=758bd21f103a501b362b1ca46fa8fcb692eaa303
  134. chromium-mirror_third_party_fuzztest_src::git+https://chromium.googlesource.com/external/github.com/google/fuzztest.git#commit=12e7428ab0847b1d1dc6c4b89203adfd1f16a1ad
  135. chromium-mirror_third_party_libaddressinput_src::git+https://chromium.googlesource.com/external/libaddressinput.git#commit=e8712e415627f22d0b00ebee8db99547077f39bd
  136. chromium-mirror_third_party_libaom_source_libaom::git+https://aomedia.googlesource.com/aom.git#commit=1a72ea323d65e46eb90d08d492c04891abb91926
  137. chromium-mirror_third_party_libavif_src::git+https://chromium.googlesource.com/external/github.com/AOMediaCodec/libavif.git#commit=e170c9366090cdc389d5f47ee3c2d7db71d263bc
  138. chromium-mirror_third_party_libavifinfo_src::git+https://aomedia.googlesource.com/libavifinfo.git#commit=b496868f7c3fd17dfeeecc0364fe37e19edd548a
  139. chromium-mirror_third_party_nearby_src::git+https://chromium.googlesource.com/external/github.com/google/nearby-connections.git#commit=4bdb5000ee7919724530cf89d50969e7b0ed58a7
  140. chromium-mirror_third_party_beto-core_src::git+https://beto-core.googlesource.com/beto-core.git#commit=4d202dab960a0b6a6e4757ab4393945aca5a09db
  141. chromium-mirror_third_party_securemessage_src::git+https://chromium.googlesource.com/external/github.com/google/securemessage.git#commit=fa07beb12babc3b25e0c5b1f38c16aa8cb6b8f84
  142. chromium-mirror_third_party_speedometer_v3.0::git+https://chromium.googlesource.com/external/github.com/WebKit/Speedometer.git#commit=2ee210ca20767c949c4ff29bdffa1138eb0501fe
  143. chromium-mirror_third_party_ukey2_src::git+https://chromium.googlesource.com/external/github.com/google/ukey2.git#commit=0275885d8e6038c39b8a8ca55e75d1d4d1727f47
  144. chromium-mirror_third_party_cros-components_src::git+https://chromium.googlesource.com/external/google3/cros_components.git#commit=ab7bdff32543991f52872c25cecf1f926702dfe3
  145. chromium-mirror_third_party_libdrm_src::git+https://chromium.googlesource.com/chromiumos/third_party/libdrm.git#commit=98e1db501173303e58ef6a1def94ab7a2d84afc1
  146. chromium-mirror_third_party_expat_src::git+https://chromium.googlesource.com/external/github.com/libexpat/libexpat.git#commit=441f98d02deafd9b090aea568282b28f66a50e36
  147. chromium-mirror_third_party_libipp_libipp::git+https://chromium.googlesource.com/chromiumos/platform2/libipp.git#commit=2209bb84a8e122dab7c02fe66cc61a7b42873d7f
  148. chromium-mirror_third_party_libjpeg_turbo::git+https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git#commit=9b894306ec3b28cea46e84c32b56773a98c483da
  149. chromium-mirror_third_party_liblouis_src::git+https://chromium.googlesource.com/external/liblouis-github.git#commit=9700847afb92cb35969bdfcbbfbbb74b9c7b3376
  150. chromium-mirror_third_party_libphonenumber_dist::git+https://chromium.googlesource.com/external/libphonenumber.git#commit=140dfeb81b753388e8a672900fb7a971e9a0d362
  151. chromium-mirror_third_party_libprotobuf-mutator_src::git+https://chromium.googlesource.com/external/github.com/google/libprotobuf-mutator.git#commit=a304ec48dcf15d942607032151f7e9ee504b5dcf
  152. chromium-mirror_third_party_libsrtp::git+https://chromium.googlesource.com/chromium/deps/libsrtp.git#commit=5b7c744eb8310250ccc534f3f86a2015b3887a0a
  153. chromium-mirror_third_party_libsync_src::git+https://chromium.googlesource.com/aosp/platform/system/core/libsync.git#commit=f4f4387b6bf2387efbcfd1453af4892e8982faf6
  154. chromium-mirror_third_party_libvpx_source_libvpx::git+https://chromium.googlesource.com/webm/libvpx.git#commit=893c9f6d070cc3bd8503152480089673f57fdf76
  155. chromium-mirror_third_party_libwebm_source::git+https://chromium.googlesource.com/webm/libwebm.git#commit=e4fbea0c9751ae8aa86629b197a28d8276a2b0da
  156. chromium-mirror_third_party_libwebp_src::git+https://chromium.googlesource.com/webm/libwebp.git#commit=ca332209cb5567c9b249c86788cb2dbf8847e760
  157. chromium-mirror_third_party_libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git#commit=04821d1e7d60845525e8db55c7bcd41ef5be9406
  158. chromium-mirror_third_party_lss::git+https://chromium.googlesource.com/linux-syscall-support.git#commit=ce877209e11aa69dcfffbd53ef90ea1d07136521
  159. chromium-mirror_third_party_material_color_utilities_src::git+https://chromium.googlesource.com/external/github.com/material-foundation/material-color-utilities.git#commit=bec7bab60e6431201a82761ea4482b98b54c2af9
  160. chromium-mirror_third_party_minigbm_src::git+https://chromium.googlesource.com/chromiumos/platform/minigbm.git#commit=3018207f4d89395cc271278fb9a6558b660885f5
  161. chromium-mirror_third_party_nasm::git+https://chromium.googlesource.com/chromium/deps/nasm.git#commit=f477acb1049f5e043904b87b825c5915084a9a29
  162. chromium-mirror_third_party_neon_2_sse_src::git+https://chromium.googlesource.com/external/github.com/intel/ARM_NEON_2_x86_SSE.git#commit=a15b489e1222b2087007546b4912e21293ea86ff
  163. chromium-mirror_third_party_openh264_src::git+https://chromium.googlesource.com/external/github.com/cisco/openh264.git#commit=09a4f3ec842a8932341b195c5b01e141c8a16eb7
  164. chromium-mirror_third_party_openscreen_src::git+https://chromium.googlesource.com/openscreen.git#commit=b70c552bedf189fc238e98f8f69e6c30e7925207
  165. chromium-mirror_third_party_openxr_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenXR-SDK.git#commit=95fe35ffb383710a6e0567e958ead9a3b66e930c
  166. chromium-mirror_third_party_pdfium::git+https://pdfium.googlesource.com/pdfium.git#commit=4c4f9ab25dab142d7888f3258ab54df24b97b44f
  167. chromium-mirror_third_party_perfetto::git+https://android.googlesource.com/platform/external/perfetto.git#commit=1e15d01da5d619ca617dcdd870efe3c35046a89c
  168. chromium-mirror_third_party_pthreadpool_src::git+https://chromium.googlesource.com/external/github.com/Maratyszcza/pthreadpool.git#commit=4fe0e1e183925bf8cfa6aae24237e724a96479b8
  169. chromium-mirror_third_party_pyelftools::git+https://chromium.googlesource.com/chromiumos/third_party/pyelftools.git#commit=19b3e610c86fcadb837d252c794cb5e8008826ae
  170. chromium-mirror_third_party_quic_trace_src::git+https://chromium.googlesource.com/external/github.com/google/quic-trace.git#commit=caa0a6eaba816ecb737f9a70782b7c80b8ac8dbc
  171. chromium-mirror_third_party_pywebsocket3_src::git+https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/pywebsocket3.git#commit=50602a14f1b6da17e0b619833a13addc6ea78bc2
  172. chromium-mirror_third_party_re2_src::git+https://chromium.googlesource.com/external/github.com/google/re2.git#commit=826ad10e58a042faf57d7c329b0fd0a04b797e0b
  173. chromium-mirror_third_party_ruy_src::git+https://chromium.googlesource.com/external/github.com/google/ruy.git#commit=cd7b92695b5d3f0c9ff65b865c2a1e19b99d766d
  174. chromium-mirror_third_party_skia::git+https://skia.googlesource.com/skia.git#commit=8464f41cf051974e499be9caeab3243506e025c2
  175. chromium-mirror_third_party_smhasher_src::git+https://chromium.googlesource.com/external/smhasher.git#commit=e87738e57558e0ec472b2fc3a643b838e5b6e88f
  176. chromium-mirror_third_party_snappy_src::git+https://chromium.googlesource.com/external/github.com/google/snappy.git#commit=c9f9edf6d75bb065fa47468bf035e051a57bec7c
  177. chromium-mirror_third_party_sqlite_src::git+https://chromium.googlesource.com/chromium/deps/sqlite.git#commit=a5270ae741714a5aad187ba8dcd8bddca39f791f
  178. chromium-mirror_third_party_swiftshader::git+https://swiftshader.googlesource.com/SwiftShader.git#commit=2fa7e9b99ae4e70ea5ae2cc9c8d3afb43391384f
  179. chromium-mirror_third_party_text-fragments-polyfill_src::git+https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/text-fragments-polyfill.git#commit=c036420683f672d685e27415de0a5f5e85bdc23f
  180. chromium-mirror_third_party_tflite_src::git+https://chromium.googlesource.com/external/github.com/tensorflow/tensorflow.git#commit=296f1e3cce03308c7fd5cdc7a76fbc3e41ec5214
  181. chromium-mirror_third_party_vulkan-deps::git+https://chromium.googlesource.com/vulkan-deps.git#commit=c00c99b8e979ca1b1eba221a60cb1e1d3b12f956
  182. chromium-mirror_third_party_vulkan_memory_allocator::git+https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git#commit=56300b29fbfcc693ee6609ddad3fdd5b7a449a21
  183. chromium-mirror_third_party_wayland_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland.git#commit=af7f44122127b86a8c74cb7432909180f4899eaa
  184. chromium-mirror_third_party_wayland-protocols_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git#commit=681c33c8547d6aefe24455ba2bffe1c5ae11fee5
  185. chromium-mirror_third_party_wayland-protocols_kde::git+https://chromium.googlesource.com/external/github.com/KDE/plasma-wayland-protocols.git#commit=0b07950714b3a36c9b9f71fc025fc7783e82926e
  186. chromium-mirror_third_party_wayland-protocols_gtk::git+https://chromium.googlesource.com/external/github.com/GNOME/gtk.git#commit=40ebed3a03aef096addc0af09fec4ec529d882a0
  187. chromium-mirror_third_party_webdriver_pylib::git+https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium/py.git#commit=fc5e7e70c098bfb189a9a74746809ad3c5c34e04
  188. chromium-mirror_third_party_webgl_src::git+https://chromium.googlesource.com/external/khronosgroup/webgl.git#commit=f4bf599a8b575df685c31d9c4729a70a04e377ed
  189. chromium-mirror_third_party_webgpu-cts_src::git+https://chromium.googlesource.com/external/github.com/gpuweb/cts.git#commit=e082b08475761a2ba6a3349dfea72f704c8b68d4
  190. chromium-mirror_third_party_webrtc::git+https://webrtc.googlesource.com/src.git#commit=6b419a0536b1a0ccfff3682f997c6f19bcbd9bd8
  191. chromium-mirror_third_party_wuffs_src::git+https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git#commit=e3f919ccfe3ef542cfc983a82146070258fb57f8
  192. chromium-mirror_third_party_weston_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/weston.git#commit=ccf29cb237c3ed09c5f370f35239c93d07abfdd7
  193. chromium-mirror_third_party_xdg-utils::git+https://chromium.googlesource.com/chromium/deps/xdg-utils.git#commit=cb54d9db2e535ee4ef13cc91b65a1e2741a94a44
  194. chromium-mirror_third_party_xnnpack_src::git+https://chromium.googlesource.com/external/github.com/google/XNNPACK.git#commit=a68aa0a24b0d3e1c75f2f7c0915b70121cee0470
  195. chromium-mirror_tools_page_cycler_acid3::git+https://chromium.googlesource.com/chromium/deps/acid3.git#commit=a926d0a32e02c4c03ae95bb798e6c780e0e184ba
  196. chromium-mirror_third_party_zstd_src::git+https://chromium.googlesource.com/external/github.com/facebook/zstd.git#commit=050fec5c378d676fede8b2171ec5e84f6afa1504
  197. chromium-mirror_v8::git+https://chromium.googlesource.com/v8/v8.git#commit=ddb4756a90fb7d89dc789859f8b2a3639d8de125
  198. chromium-mirror_third_party_angle_third_party_glmark2_src::git+https://chromium.googlesource.com/external/github.com/glmark2/glmark2.git#commit=ca8de51fedb70bace5351c6b002eb952c747e889
  199. chromium-mirror_third_party_angle_third_party_rapidjson_src::git+https://chromium.googlesource.com/external/github.com/Tencent/rapidjson.git#commit=781a4e667d84aeedbeb8184b7b62425ea66ec59f
  200. chromium-mirror_third_party_angle_third_party_VK-GL-CTS_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git#commit=0f6fd3de81102058dc2ae299af1ad5287d2145dd
  201. chromium-mirror_third_party_dawn_buildtools::git+https://chromium.googlesource.com/chromium/src/buildtools.git#commit=48ab3bd053bfe2fef4635d7cb1861f8923167b96
  202. chromium-mirror_third_party_dawn_build::git+https://chromium.googlesource.com/chromium/src/build.git#commit=df6338f68f66357d27ea7f0354d50216c8c74473
  203. chromium-mirror_third_party_dawn_tools_clang::git+https://chromium.googlesource.com/chromium/src/tools/clang.git#commit=419fc5706504be3cc8d17cc61bdc6b45226927e9
  204. chromium-mirror_third_party_dawn_testing::git+https://chromium.googlesource.com/chromium/src/testing.git#commit=035a9b18047370df7403758b006e6c9696d6b84d
  205. chromium-mirror_third_party_dawn_third_party_jinja2::git+https://chromium.googlesource.com/chromium/src/third_party/jinja2.git#commit=e2d024354e11cc6b041b0cff032d73f0c7e43a07
  206. chromium-mirror_third_party_dawn_third_party_markupsafe::git+https://chromium.googlesource.com/chromium/src/third_party/markupsafe.git#commit=0bad08bb207bbfc1d6f3bbc82b9242b0c50e5794
  207. chromium-mirror_third_party_dawn_third_party_glfw::git+https://chromium.googlesource.com/external/github.com/glfw/glfw.git#commit=62e175ef9fae75335575964c845a302447c012c7
  208. chromium-mirror_third_party_dawn_third_party_zlib::git+https://chromium.googlesource.com/chromium/src/third_party/zlib.git#commit=526382e41c9c5275dc329db4328b54e4f344a204
  209. chromium-mirror_third_party_dawn_third_party_abseil-cpp::git+https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp.git#commit=4ef9b33175828ea46d091e7e5ec28259d39a8ba5
  210. chromium-mirror_third_party_dawn_third_party_dxc::git+https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler.git#commit=701a2b1da0387ac6abf73bdbaf7864b9615db033
  211. chromium-mirror_third_party_dawn_third_party_dxheaders::git+https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers.git#commit=980971e835876dc0cde415e8f9bc646e64667bf7
  212. chromium-mirror_third_party_dawn_third_party_khronos_OpenGL-Registry::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry.git#commit=5bae8738b23d06968e7c3a41308568120943ae77
  213. chromium-mirror_third_party_dawn_third_party_khronos_EGL-Registry::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry.git#commit=7dea2ed79187cd13f76183c4b9100159b9e3e071
  214. chromium-mirror_third_party_dawn_third_party_protobuf::git+https://chromium.googlesource.com/chromium/src/third_party/protobuf.git#commit=41759e11ec427e29e1a72b9401d2af3f6e02d839
  215. chromium-mirror_third_party_dawn_tools_protoc_wrapper::git+https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper.git#commit=b5ea227bd88235ab3ccda964d5f3819c4e2d8032
  216. chromium-mirror_third_party_dawn_third_party_partition_alloc::git+https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git#commit=67fd2f86eef40b1357387e2b0fc1eaf3c67d6ed7
  217. chromium-mirror_third_party_openscreen_src_third_party_tinycbor_src::git+https://chromium.googlesource.com/external/github.com/intel/tinycbor.git#commit=d393c16f3eb30d0c47e6f9d92db62272f0ec4dc7
  218. chromium-mirror_third_party_vulkan-deps_glslang_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git#commit=57d86ab763da7b2cd1e00ecec8aa697403a8fd20
  219. chromium-mirror_third_party_vulkan-deps_spirv-cross_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git#commit=b82536766d1b81631b126d1ddbe49baf42929bd3
  220. chromium-mirror_third_party_vulkan-deps_spirv-headers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git#commit=7b0309708da5126b89e4ce6f19835f36dc912f2f
  221. chromium-mirror_third_party_vulkan-deps_spirv-tools_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git#commit=c96fe8b943564fbab3424219d924d21cac2e877a
  222. chromium-mirror_third_party_vulkan-deps_vulkan-headers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git#commit=217e93c664ec6704ec2d8c36fa116c1a4a1e2d40
  223. chromium-mirror_third_party_vulkan-deps_vulkan-loader_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git#commit=0b2b71306aebf1e11304b9f961f9a29ab0234756
  224. chromium-mirror_third_party_vulkan-deps_vulkan-tools_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git#commit=7c6d640a5ca3ab73c1f42d22312f672b54babfaf
  225. chromium-mirror_third_party_vulkan-deps_vulkan-utility-libraries_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries.git#commit=4cfc176e3242b4dbdfd3f6c5680c5d8f2cb7db45
  226. chromium-mirror_third_party_vulkan-deps_vulkan-validation-layers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=d26b50b03815ff226e6df478b4ddc4b98d8deaee
  227. # END managed sources
  228. )
  229. sha256sums=('14613283f3e194a0636054f82a014a821656e4dcb439a3f26fb6a3adbf6171ac'
  230. '7916b80d801bcc5c23cb9dd1ae820d939af3ef640dbcb2a3c8d6780dcf6ba7a3'
  231. '8c256b2a9498a63706a6e7a55eadbeb8cc814be66a75e49aec3716c6be450c6c'
  232. '3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1'
  233. 'ff588a8a4fd2f79eb8a4f11cf1aa151298ffb895be566c57cc355d47f161f53f'
  234. 'b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961'
  235. 'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
  236. 'b0ac3422a6ab04859b40d4d7c0fd5f703c893c9ec145c9894c468fbc0a4d457c'
  237. '4484200d90b76830b69eea3a471c103999a3ce86bb2c29e6c14c945bf4102bae'
  238. '55dbe71dbc1f3ab60bf1fa79f7aea7ef1fe76436b1d7df48728a1f8227d2134e'
  239. '3ae82375ba212c31fd4ba6f1fa4e2445eeca8eb8c952176131ad57c0258db224'
  240. '3de51be7a535e69910fb5d8c7c8efd4fef48df988128c182f476c1a56d40f8bd'
  241. '0b7a546ee6913c49519c10c293ac530ff381641a8a465fa2e184d6dbe0fb784d'
  242. '4781df343cf17fe7647c82219a26e39ca47e6a83d37ecd26ae5a5092a93bd965'
  243. '3522166c3ca75316a172b7cc4fe12bba9367e30fed16df8193ede2e236dca8c5'
  244. '1a1204e831ce56a1ea506037aae01417cf5157b5fb0e26a5e3310227ebd973cc'
  245. '273c7ae3bba146fa43ce73e98514026725245554f8888ca483f338051c6a9871'
  246. 'ee43d3902444954e8091b453d2150ef37ba64f05093d8c8910ec7dbabf7f93b3'
  247. '5d060fc2458decb3ad8c43c29de640d15772fcb6affe7ff79e9acc2d424f362a'
  248. '5abf726ce9e19c0b0e7818a7ced615a1a6d16f306e7315b9e6db53118c0669b5'
  249. '045eb27642ac8f49b52efec7c52bb6ea3c908552ffadc50449a23b27da7a4737'
  250. '8a8c21768a1f3764e6887cfc907dd857e9fc00a1269dd858e2ba98d70aef889d'
  251. 'a62dd76d5ebcae2e2302509f057d21c35ffd69549ee7cdac47b2a85616dcc9be'
  252. '666ab0ad02d7ca8e38f432310649a7ef3a20c70c4da1b09267dab398066d1618'
  253. 'de562fecf27132a60844f417ef8dfc54fd06d6e52fedb96cf1fc000b4d6cf216'
  254. '8c5cbc839e6e3f1832da9d68735390b22056cb0d2cf167677b4cc85991c55373'
  255. 'd604e4c22318c21645aea18069fffb70a33409ae47ad248462f5682160df3d19'
  256. '89a368f0652d857d38402d6f3c5cded3c1757230ab7abe01df850a7bf8359119'
  257. '14bc49da17d7be84a99e41d414723b0ad2f2f6193d91d63995d6acb1e3debfe0'
  258. '4f4d2eeda3cb9363d03f6be3edd0c2f8ffbf87526f83b723000613e6a09587e6'
  259. 'd6045d4ebf49f14b994e58fbd2a84f95ca43a23f627db19b20cbfad1a0f49016'
  260. '580078d0e6e5dfd1ae1f935978e04270012fb594ed4ce435bf98963d4541715a'
  261. 'c45a272506bb20e632fc7c36cc2bcabc51d5732f379772880ccdb7ea55c2a342'
  262. 'd27aeb74a01e92fdc4afc40a36c4dfa1b87f0ed041d01cf94c60598e8429d280'
  263. 'af24f30b90d5942ecb89b9e5f373de70ec16ce590788a03a8d21f714bbca7337'
  264. '853d9b67a6ee2ead94815ced150ae261b1386ce044d5e85db481e9aa999448f4'
  265. '8b97c25874c17644300d1cbe6ac1fceb705bf18297e27699ba20497fc47ae239'
  266. '68a96daf56308815f789ac68377ba242ef8fd7150a59ab5629bdd30c9daacb50'
  267. 'e6a28c25e3d93c9c37414149ff44ac7a1bbb4d8a167061f8ee9679dc065af1bb'
  268. '9e950d9f0bf7f0b52de6744de0922583b4b32281e87f0488c2d1cfc533665aa5'
  269. '6125206b56f365874ba812038dbcd4271f8a73235ab4d211c42b7fd2d636bbc8'
  270. 'fc391bdf81998185f93f1f40e0d29265d3374239159e003fe49a322033e1128a'
  271. '4f5fd6719234fbc67c517e20e2170db66d37455d69bec880624a0a0304a0e91c'
  272. '382e185133fa676fd4ec01d8cbdd005dd2daadf66ba9fef258b6a9109f7425c5'
  273. 'c978d8c0aa4f05774a64f1373ce6c31d4243f94eea9b01c0853363e0dba1c674'
  274. 'a02fed8c58a0454b851a86fc11501f1d31f123d36284377093efa7f7927d3daa'
  275. '7c33a69ac04526d86691c5baca38ce6c96bbe2c2e23288e01fb2b65f1bb23102'
  276. '47f3f3d044cc0658274833022db1e7695964b1da8f37cb905882d15457212fba'
  277. 'faba7f18b7a5f3f77c267473ff853d90f53e8940f039329fa2c76f3f7146c6b4'
  278. '6258126c4c354ccacd0ec5f9f82c6970d576359c7aba86e44277b459d1645325'
  279. '3fcead668775cf379eab0c9ed83b317d1baa25790e0a729205a9b2dbd68b88b3'
  280. 'cf96ae84ef29434dd20b0f2daca6013373dd6e47c87cde3aa03abce0500a9f03'
  281. 'e1f5935ff59c8fec646878794a789a20e7d23269ea1ea0b95774d25cad5f7038'
  282. 'aa491e99435618daed147fc1e7ff9038c11f9656fef2d21397fa0b0fb9cb5a98'
  283. '5d0c4f261d36707f926fa9ef9a39349f1cccac8ae6443a8f8571c1625eb90c41'
  284. '1a1e2859649a95beef8dba22e8c77735652a212bc88a9bb4dfe1458667dcabbc'
  285. '792d29bbb3fdcfdf21face515e6b9fba1a14ee7bdc82f0cff9620592925425c9'
  286. '0ca8652cf0d05035abe519c2f4c4cdffbd9032f1cbff7f85d85535fbfc48c484'
  287. '12081574c11ef21850e9d2cf62580216296a6b7af48f679e6c28e05a376d1f3d'
  288. '0f27ab5434870f31886d7c958ced4ff335a09a1080637fb50afdf95db19e3442'
  289. '0c7f1847c2a818019123e8d575833774d99fb5f0c36870517ebef9c036948cb7'
  290. '88cdf771889253831a8873b3234e80cd0b6604bd1fc31a93cff36fa9c2281159'
  291. 'af81f653b73270d4b8f9d1e92ecf39821498c08f4ca5c69872e39bac90b40083'
  292. 'dafb0e7267453bda1ecae862958ed72819f83ddb4c9469c4d14fa057b5ab1894'
  293. '409ee4de1d8d203c839118b398d508788cdd270ec9295b3c5375ac33f39c12af'
  294. '92fe0e99dea519a56b80321646b7b2b674564f4e8d036cbbf4d98e8588531720'
  295. 'd88e3663b3e3f4cd7765bc50ba172329001f2611aa798e79dd2eabb97b796fa7'
  296. '9f58ce3d45baf6796965aa79109af62c330f82b97d320bb5d7bbbdea0e579a92'
  297. '0debfc572068aeab2fa4e6e7ba45fc14a402fa735423cc9bbfc5ce94a8cd074d'
  298. '1a7d08a586c05f35cee816b3a6a4ad807f21d0d8cd04eb4024997b0e89737d2f'
  299. '5b972e6c8608370be3630ae4c2dc55180f46ca168c1ffdb9b5c366069442df50'
  300. '63e3cc92fb9b5b9181082eb8ba1574a11e4c36272d10930c4bd7610fed17308a'
  301. 'f2c195369475a96823b84aa6e7eefa244f6c0e612432daefc41b7dac54e2ec96'
  302. '226c637dc8bcee8e7343f36b4dab6574f131417392607d90d5f4c624feedbc81'
  303. '1578ca03e489a68b8c7b8372139b83637583462b66a9187b1b268ca4605b9d6f'
  304. 'd35ced39f3c8a14b2bfc809222d0913c13f22d9ad93bfff63038bcd31b824fc3'
  305. '5e773f290e8f079e841d694a35c4424c80147e58a5428e6bc8fe072635f6e605'
  306. '66b8f66432b1325861b5f411c71ec49fa171d9a0063bf958242ddde6ce09c12f'
  307. '2340563cc0c1f3d1327b7d5f91f6506a20ec4563e608d288e01f33e9338b33bb'
  308. '9c888babaaf59afc855d944e8b26ab573d5e80026dc3bc8dc64720b8f5bb27a2'
  309. '4115687220092dd375e0cd9e8c36415fa6f1de84de2527796ad69776e1258d8e'
  310. 'f90cb311a300832f764a36141fe4ffbda8d3303787bcc12805acc09066c7ba75'
  311. 'cc74c39e0133905a1f4f264590b44282df4231b73972e7a9708b311e46e00f88'
  312. 'fe2f23319ca61ecb2fac8e586ad71fe36ba340fd4f5c4d0372d0e119d5c264e0'
  313. '07db0f4f83ec397994c4ef55476ebd6d64c2bd734800ae2eccdb52c37d5b9ce5'
  314. '4070e77bf7afd9fb949067f63c3580d1f5badacfe4c2ab187129ba20446efd04'
  315. '9c8de69ad47af04565a89920c08f44694f97d7a16f8f23610e5beaf9f38cb71c'
  316. '25906418111df0d29db783092d94148e130592d722393ad4bd76809c6f63f9bd'
  317. '698e598c6f94a46eb9a26020a74d8904def28553157712af8afc3e809771ff25'
  318. '9341676174943fbc5268e023c3e572171289fc4748401723a6dcaef50f793dcd'
  319. '67fa63d57094af85997660e1a95ebfa448d3f7446635db4a1bb81e0f2b260f0a'
  320. '7b32c27a5513c451032132fe5dc724de23d3b0738a0609a96bd44deee1d46681'
  321. '9595fd0fb65cbd6a152411617d7564e1f43a76bccb19e19b855c64184d87e707'
  322. '33810d30dcd83520e16e0be2ddc1eec0dc2c3154f32c8d103c2988a43f7ada78'
  323. 'e475d42b746955422ff9e905354091d0b17cdb2c8989cc6beb6470e76a4aa1dd'
  324. '1252f10981671a61cdcd6c492bd7aa4b1556ddd0689ec22f1de715fdadf701d6'
  325. '9010695b87eef676b62ec429879972c135987dab6eb53b0a4edf1b5a7cb0bb8b'
  326. '3d55fa9e1d628aed3e127b6fb4d3dd47b7ada7b865f683f52e21a51043827479'
  327. 'd1c16289a7869f143d72e6d574d4f27f439fd2fd027064dcce1dd6a6aee75d00'
  328. '1f3ed3b9c74a3553539687d0797fd29e202e5c00dd465df443420bea36888e4d'
  329. '9dcca3fb5b28e14b6c6a03310280c2f8961a92904b879b72de8b92b12ff2fa33'
  330. '0c82b35ab74b47cb90e37dcffa27a341339567403aa59b7866bee77251878e13'
  331. '4af87c5435bb96a3ecf43ceaa7e6b13eb56d6956359cca7aea15ce5f3f616a8f'
  332. '5e18da3518ae79d2597968957b2ef055651b7a43167e92ffa12312a45b9e457a'
  333. 'd42b085e33a0961dcc74d9484e67bed481f6a626d9598b0e6d9bae54dd5205ba'
  334. '99995f0ca85ab0e85bd291e5336657df41409a48ca5439dcaf162d8b11ac0ec6'
  335. 'dc1206af7485794e1644097b08736e39c8fa50296e514561f8805c6d28b58925'
  336. '599bbbabf9e2dc2006dd9e3e9636c4f648360726173793bf6a5a5414698762c5'
  337. '96f9e6cf2ba2d124111b56b1871df1129d4c4ef04ab3220cb51ab3b03abcdc35'
  338. 'c3ec8eaf660cc3373be2daf6ecd6366a5527c10a5ff27b8a46f34c9028897e2e'
  339. 'ec2f05a712f762e4b45f841a635d0ae96d11d92643032275e46840f51c894379'
  340. '3624b28203c972ea54b490342be74fbd99d4b4748123f9e2837a54ca01c8b392'
  341. 'bd724ee01b93651b4ec6ba62ba64d23e153ea7100be760ccaee4a1e6e32787a6'
  342. 'f33b4bea7deb64cae0fc8566c6cbdec4f5fc4163798a42849ee8b8b5e4d4c5a1'
  343. '9e83c5fecd56471313baff063796f45b5dbcba364f27c1f4316a23c1adb4aad4'
  344. '108a67f21c2bdf2dbc4838f3ba32c992325a29cb62a14b377f8a04a9ad5b2b82'
  345. '2ffd9b7236c59d739fda5c7232f0a93fa2b4ce0f59bd8e77eb7456758b89a33e'
  346. 'adae2b5a0271575ff86fa740b18a5003c24548fa818ab453a03cca82634e41fc'
  347. '913fc3a85ae676025bafe63880c6413ffafe42495a04a52527ee914ee9ba3ae5'
  348. 'd1dd4f2b315dbc5fa072eda945a665e440595b206fc3118e320210a626e610d2'
  349. '3787099f99a88ca52e8add69ed9640f23e32dc5a67bebaee3384711469a1bf46'
  350. '1da28304d237ba934e76394107e46fed0e4120fd2b257f1c667c2d11b52d959b'
  351. 'a9a8839d08232091a0cd381f51380a0a6ebe841f5a8e50a6047aae7b8e34c681'
  352. '02696a90c7831e3fa903df105573c5f10f4934602fb0e90c846fb44213c40b27'
  353. 'd67105e55534b8ef8fa45c70b6bae7c65466ac3c714b7bb3d22a37ce6dbc0502'
  354. '21ca5d09a4697ec15ee17bc499818a6381d1b68e80818ede1c4b44591b0333ec'
  355. 'ea4c7e577d206db6e28fbe6ddecd0b765783aced2e6508366c0a32cd3c45bab9'
  356. '0c9106a2bef658f02b2312d081faad6ba8a72bbb5b4ee1cae7d0a95e4ef53f8f'
  357. '04a61e218b3a10ec3cf58e3fe12fb2ea23610f03889d19b31b8ccb3b078efd6e'
  358. '910bc5d9e7523ccd09506bafe3fac586db5106d8cc72d77e8457fdf8b43c225e'
  359. 'dff04374ecda48583f80905864a7b65bbae7f2f2f2210555b28a5be1b6a75321'
  360. '548c8cd89cf822c790e4703eff53756791450eba73d267a84f3bf3eedf60bef5'
  361. '0c95ccf608d553a8685e6e483651a5fe2137b990dc71577fe8c85e687ab6fcd8'
  362. 'c46ef780f1bd0b8e4329ad675e7905fcad585cf7bd9a733dc484d764b5e4b4de'
  363. 'e67cdb017c07a7ec72a06f1062dc2f124d97527869604575fe48610ff98b581a'
  364. '716cc81139f11a2b438802d37f245f885fc9a0c69ef429a11b156145c903a932'
  365. '155d1781c8493e7dd462b37d4c55fe7bce70996f00abf2f37d768552ee848b79'
  366. '50b51a692ecacfeac38be03baa0d9a4705249440b6e929f657cecb641d782d24'
  367. '95e6378a3dc22aa512d7cebcff8b3aa4bc4f60d4eec0af02665830a245b1d11c'
  368. '9186d31e4ef8c4370f02fb74bda131f2b28f3a296c3e7c967aa0e54ad2ddd11e'
  369. '902d9c00f2d8731693272cf94fe742beec6d7351eb2603c28c76b40eca58005b'
  370. 'b48490fbcdad8becc160f2dab2ee4a0f67327f1e9d9ddbd96e44150175c68ca9'
  371. '0b95ed21612b4f02e65643f2029d8ce5710f49dbe8b229350bbe643167a4b83b'
  372. '785f769c6c0d465f79038ec4f4c210025043285c345041667b122296c6b961e1'
  373. '149af77a3896e6a2a93383aa6c65e4a7cac0fe90abc909802afdd55f79a0faf5'
  374. '92901c0796ece4b4a5f184d8a4e7052fb8efcd221a4197cb0fc0735314a51360'
  375. 'd32084e3cd53addba2814ed78ae3d461e8492733b1d4313ebeb52cfe28dcfd42'
  376. 'f7f5d15365443cbd8137445c3aedf8ccd31c3402f72c0fa7c16e7bf1c7977139'
  377. 'f8627f5f3a7c119807afc9dc66ce7cb350f905fd1db7fb6b0077552974a07515'
  378. 'ac3f025aa27fec77b24b443df3a69750dc9bb070a40af5180d031b81e66e328c'
  379. '34158c2a53e1aecd50ed31b8473e45f4f785532b538774a294aacd29c10e928b'
  380. '8bd1361cf5c6e4e3336cad5b37c79dcc986a46b99e4ad7d679da146dd1fdb7fe'
  381. '4ef4e78fa0174bf25cc5d0373fe716e1b712a2a398c8d57ae32cadc132e44b86'
  382. '7d89448b9cccc0e2309ce34fef37ed85fd08fd2b030422e456fc531ebb1e8f80'
  383. '0e9843225d3a70c5927fee139be5a765fa79cc94ecdbe9c4cba4aedcbb2d04ed'
  384. 'b25bf2ad18901b838ca61be50a67fd07d2f4337c3d7bd10f5ccfc4c8a651f35b'
  385. 'd9919cf95e98b4e73f12658874853470554d3c747239863210c419ec3630847c'
  386. 'eef45ed3746a1b9a21d9c29c533d966b4e14d08f26d673d73ceb887c049dee3f'
  387. '101537863e56de7828b4d359f9bab3080a51700dc2b491c0638a0ece31aa445e'
  388. '7b73652db3fe11febc5e701ba5029454d410492d645d46b8ce3b7a536999e729'
  389. 'ef69f4552722a08de47a9d362604fc8536c6e2f0a47ba2e52f83cc93b5aceb5e'
  390. 'fd1acfdb2f9b90c6fe6e71ea7027ac7f8252c3665e612f5701d8140432f04b99'
  391. '6aa4b91b085540dc5ba0c53899fa2e4902b3d36d2473b2c294d92a26598ba6e8')
  392. # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
  393. # Keys are the names in the above script; values are the dependencies in Arch
  394. # plus any so names that are provided + linked
  395. declare -gA _system_libs=(
  396. # [brotli]=brotli
  397. [dav1d]="dav1d libdav1d.so"
  398. # [ffmpeg]="ffmpeg libavcodec.so libavcodec.so libavformat.so libavutil.so" # YouTube playback stopped working in Chromium 120
  399. [flac]="flac libFLAC.so"
  400. [fontconfig]="fontconfig libfontconfig.so"
  401. [freetype]="freetype2 libfreetype.so"
  402. [harfbuzz-ng]="harfbuzz libharfbuzz.so libharfbuzz-subset.so"
  403. [icu]="icu libicui18n.so libicuuc.so"
  404. # [jsoncpp]="jsoncpp libjsoncpp.so" # needs libstdc++
  405. # [libaom]=aom
  406. # [libavif]=libavif # libavif.so libavutil.so # needs https://github.com/AOMediaCodec/libavif/commit/5410b23f76
  407. [libdrm]=libdrm # libdrm.so
  408. [libjpeg]="libjpeg libjpeg.so"
  409. [libpng]="libpng libpng16.so"
  410. # [libvpx]=libvpx
  411. [libwebp]="libwebp libwebpdemux.so libwebpmux.so libwebp.so"
  412. [libxml]="libxml2 libxml2.so"
  413. [libxslt]="libxslt libxslt.so"
  414. [opus]="opus libopus.so"
  415. # [re2]="re2 libre2.so" # needs libstdc++
  416. # [snappy]=snappy # libsnappy.so # needs libstdc++
  417. # [woff2]="woff2 libwoff2dec.so" # needs libstdc++
  418. [zlib]=minizip # libminizip.so
  419. )
  420. _unwanted_bundled_libs=(
  421. $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
  422. )
  423. depends+=(${_system_libs[@]})
  424. _update_sources() {
  425. python makepkg-source-roller.py update "v$pkgver" "$pkgname"
  426. updpkgsums
  427. }
  428. prepare() {
  429. sed -i "s|@ELECTRON@|${pkgname}|" electron-launcher.sh
  430. sed -i "s|@ELECTRON@|${pkgname}|" electron.desktop
  431. sed -i "s|@ELECTRON_NAME@|Electron ${_major_ver}|" electron.desktop
  432. cp -r chromium-mirror_third_party_depot_tools depot_tools
  433. export PATH+=":$PWD/depot_tools" DEPOT_TOOLS_UPDATE=0
  434. export VPYTHON_BYPASS='manually managed python not supported by chrome operations'
  435. echo "Putting together electron sources"
  436. # Generate gclient gn args file and prepare-electron-source-tree.sh
  437. python makepkg-source-roller.py generate electron/DEPS $pkgname
  438. rbash prepare-electron-source-tree.sh "$CARCH"
  439. mv electron src/electron
  440. echo "Running hooks..."
  441. # depot_tools/gclient.py runhooks
  442. src/build/landmines.py
  443. src/build/util/lastchange.py -o src/build/util/LASTCHANGE
  444. src/build/util/lastchange.py -m GPU_LISTS_VERSION \
  445. --revision-id-only --header src/gpu/config/gpu_lists_version.h
  446. src/build/util/lastchange.py -m SKIA_COMMIT_HASH \
  447. -s src/third_party/skia --header src/skia/ext/skia_commit_hash.h
  448. src/build/util/lastchange.py \
  449. -s src/third_party/dawn --revision src/gpu/webgpu/DAWN_VERSION
  450. src/tools/update_pgo_profiles.py --target=linux update \
  451. --gs-url-base=chromium-optimization-profiles/pgo_profiles
  452. depot_tools/download_from_google_storage.py --no_resume --extract --no_auth \
  453. --bucket chromium-nodejs -s src/third_party/node/node_modules.tar.gz.sha1
  454. src/electron/script/apply_all_patches.py \
  455. src/electron/patches/config.json
  456. pushd src
  457. pushd electron
  458. yarn install --frozen-lockfile
  459. popd
  460. echo "Applying local patches..."
  461. ## Upstream fixes
  462. # https://crbug.com/893950
  463. sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
  464. third_party/blink/renderer/core/xml/*.cc \
  465. third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
  466. third_party/libxml/chromium/*.cc \
  467. third_party/maldoca/src/maldoca/ole/oss_utils.h
  468. patch -Np1 -i ../support-ICU-74-in-LazyTextBreakIterator.patch
  469. # Drop compiler flag that needs newer clang
  470. patch -Np1 -i ../drop-flag-unsupported-by-clang17.patch
  471. # Allow libclang_rt.builtins from compiler-rt >= 16 to be used
  472. patch -Np1 -i ../compiler-rt-adjust-paths.patch
  473. # Fixes for building with libstdc++ instead of libc++
  474. patch -Np1 -i ../chromium-patches-*/chromium-114-ruy-include.patch
  475. patch -Np1 -i ../chromium-patches-*/chromium-117-material-color-include.patch
  476. # Link to system tools required by the build
  477. mkdir -p third_party/node/linux/node-linux-x64/bin
  478. ln -sfn /usr/bin/node third_party/node/linux/node-linux-x64/bin/
  479. mkdir -p third_party/jdk/current/bin
  480. ln -sfn /usr/bin/java third_party/jdk/current/bin/
  481. ln -sfn /usr/bin/clang-format buildtools/linux64
  482. # Electron specific fixes
  483. patch -Np1 -i "${srcdir}/jinja-python-3.10.patch" -d "third_party/electron_node/tools/inspector_protocol/jinja2"
  484. patch -Np1 -i "${srcdir}/use-system-libraries-in-node.patch"
  485. # patch -Np1 -i "${srcdir}/default_app-icon.patch" # Icon from .desktop file
  486. # Allow building against system libraries in official builds
  487. echo "Patching Chromium for using system libraries..."
  488. sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
  489. tools/generate_shim_headers/generate_shim_headers.py
  490. # Remove bundled libraries for which we will use the system copies; this
  491. # *should* do what the remove_bundled_libraries.py script does, with the
  492. # added benefit of not having to list all the remaining libraries
  493. local _lib
  494. for _lib in ${_unwanted_bundled_libs[@]}; do
  495. find "third_party/$_lib" -type f \
  496. \! -path "third_party/$_lib/chromium/*" \
  497. \! -path "third_party/$_lib/google/*" \
  498. \! -path "third_party/harfbuzz-ng/utils/hb_scoped.h" \
  499. \! -regex '.*\.\(gn\|gni\|isolate\)' \
  500. -delete
  501. done
  502. ./build/linux/unbundle/replace_gn_files.py \
  503. --system-libraries "${!_system_libs[@]}"
  504. }
  505. build() {
  506. cd src
  507. export CC=clang
  508. export CXX=clang++
  509. export AR=ar
  510. export NM=nm
  511. local _flags=(
  512. 'custom_toolchain="//build/toolchain/linux/unbundle:default"'
  513. 'host_toolchain="//build/toolchain/linux/unbundle:default"'
  514. 'is_official_build=true' # implies is_cfi=true on x86_64
  515. 'symbol_level=0' # sufficient for backtraces on x86(_64)
  516. 'treat_warnings_as_errors=false'
  517. 'disable_fieldtrial_testing_config=true'
  518. 'blink_enable_generated_code_formatting=false'
  519. 'ffmpeg_branding="Chrome"'
  520. 'proprietary_codecs=true'
  521. 'rtc_use_pipewire=true'
  522. 'link_pulseaudio=true'
  523. 'use_custom_libcxx=true' # https://github.com/llvm/llvm-project/issues/61705
  524. 'use_sysroot=false'
  525. 'use_system_libffi=true'
  526. 'enable_hangout_services_extension=true'
  527. 'enable_widevine=false'
  528. 'enable_nacl=false'
  529. )
  530. if [[ -n ${_system_libs[icu]+set} ]]; then
  531. _flags+=('icu_use_data_file=false')
  532. fi
  533. local _clang_version=$(
  534. clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
  535. _flags+=(
  536. 'clang_base_path="/usr"'
  537. 'clang_use_chrome_plugins=false'
  538. "clang_version=\"$_clang_version\""
  539. 'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile
  540. )
  541. # Allow the use of nightly features with stable Rust compiler
  542. # https://github.com/ungoogled-software/ungoogled-chromium/pull/2696#issuecomment-1918173198
  543. export RUSTC_BOOTSTRAP=1
  544. _flags+=(
  545. 'rust_sysroot_absolute="/usr"'
  546. "rustc_version=\"$(rustc --version)\""
  547. )
  548. # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
  549. CFLAGS+=' -Wno-builtin-macro-redefined'
  550. CXXFLAGS+=' -Wno-builtin-macro-redefined'
  551. CPPFLAGS+=' -D__DATE__= -D__TIME__= -D__TIMESTAMP__='
  552. # Do not warn about unknown warning options
  553. CFLAGS+=' -Wno-unknown-warning-option'
  554. CXXFLAGS+=' -Wno-unknown-warning-option'
  555. # Let Chromium set its own symbol level
  556. CFLAGS=${CFLAGS/-g }
  557. CXXFLAGS=${CXXFLAGS/-g }
  558. # https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/123
  559. CFLAGS=${CFLAGS/-fexceptions}
  560. CFLAGS=${CFLAGS/-fcf-protection}
  561. CXXFLAGS=${CXXFLAGS/-fexceptions}
  562. CXXFLAGS=${CXXFLAGS/-fcf-protection}
  563. # This appears to cause random segfaults when combined with ThinLTO
  564. # https://bugs.archlinux.org/task/73518
  565. CFLAGS=${CFLAGS/-fstack-clash-protection}
  566. CXXFLAGS=${CXXFLAGS/-fstack-clash-protection}
  567. # https://crbug.com/957519#c122
  568. CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}
  569. export CHROMIUM_BUILDTOOLS_PATH="${PWD}/buildtools"
  570. gn gen out/Release \
  571. --args="import(\"//electron/build/args/release.gn\") ${_flags[*]}"
  572. ninja -C out/Release electron electron_dist_zip
  573. # ninja -C out/Release third_party/electron_node:headers
  574. }
  575. package() {
  576. install -dm755 "${pkgdir:?}/usr/lib/${pkgname}"
  577. bsdtar -xf src/out/Release/dist.zip -C "${pkgdir}/usr/lib/${pkgname}"
  578. chmod u+s "${pkgdir}/usr/lib/${pkgname}/chrome-sandbox"
  579. install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
  580. for l in "${pkgdir}/usr/lib/${pkgname}"/{LICENSE,LICENSES.chromium.html}; do
  581. ln -s \
  582. "$(realpath --relative-to="${pkgdir}/usr/share/licenses/${pkgname}" "${l}")" \
  583. "${pkgdir}/usr/share/licenses/${pkgname}"
  584. done
  585. install -Dm755 "${srcdir}/electron-launcher.sh" \
  586. "${pkgdir}/usr/bin/${pkgname}"
  587. # Install .desktop and icon file (see default_app-icon.patch)
  588. install -Dm644 electron.desktop \
  589. "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  590. install -Dm644 src/electron/default_app/icon.png \
  591. "${pkgdir}/usr/share/pixmaps/${pkgname}.png" # hicolor has no 1024x1024
  592. }