PKGBUILD 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  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=30.0.1
  9. _gcc_patches=124
  10. pkgrel=1
  11. _major_ver=${pkgver%%.*}
  12. pkgname="electron${_major_ver}-xdg"
  13. pkgdesc='Build cross platform desktop apps with web technologies - patched to support the xdg basedir spec'
  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. drop-flag-unsupported-by-clang17.patch
  65. compiler-rt-adjust-paths.patch
  66. # Electron
  67. default_app-icon.patch
  68. electron-launcher.sh
  69. electron.desktop
  70. jinja-python-3.10.patch
  71. use-system-libraries-in-node.patch
  72. makepkg-source-roller.py
  73. # BEGIN managed sources
  74. chromium-mirror::git+https://github.com/chromium/chromium.git#tag=124.0.6367.60
  75. chromium-mirror_third_party_nan::git+https://github.com/nodejs/nan.git#commit=e14bdcd1f72d62bca1d541b66da43130384ec213
  76. chromium-mirror_third_party_electron_node::git+https://github.com/nodejs/node.git#tag=v20.11.1
  77. chromium-mirror_third_party_engflow-reclient-configs::git+https://github.com/EngFlow/reclient-configs.git#commit=955335c30a752e9ef7bff375baab5e0819b6c00d
  78. 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
  79. chromium-mirror_third_party_libc++_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git#commit=80307e66e74bae927fb8709a549859e777e3bf0b
  80. chromium-mirror_third_party_libc++abi_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git#commit=ec88f0ab262c5f2426dbf138b92ee9ae5961e431
  81. chromium-mirror_third_party_libunwind_src::git+https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git#commit=419b03c0b8f20d6da9ddcb0d661a94a97cdd7dad
  82. chromium-mirror_chrome_test_data_perf_canvas_bench::git+https://chromium.googlesource.com/chromium/canvas_bench.git#commit=a7b40ea5ae0239517d78845a5fc9b12976bfc732
  83. chromium-mirror_chrome_test_data_perf_frame_rate_content::git+https://chromium.googlesource.com/chromium/frame_rate/content.git#commit=c10272c88463efeef6bb19c9ec07c42bc8fe22b9
  84. chromium-mirror_chrome_test_data_xr_webvr_info::git+https://chromium.googlesource.com/external/github.com/toji/webvr.info.git#commit=c58ae99b9ff9e2aa4c524633519570bf33536248
  85. chromium-mirror_media_cdm_api::git+https://chromium.googlesource.com/chromium/cdm.git#commit=fef0b5aa1bd31efb88dfab804bdbe614f3d54f28
  86. chromium-mirror_native_client::git+https://chromium.googlesource.com/native_client/src/native_client.git#commit=b58f65651ed89b3a21f82d49b5f263b0d6e6bad1
  87. chromium-mirror_net_third_party_quiche_src::git+https://quiche.googlesource.com/quiche.git#commit=9f8738892edd83219d2f83fdd73c7c14d5dbb80d
  88. chromium-mirror_third_party_accessibility_test_framework_src::git+https://chromium.googlesource.com/external/github.com/google/Accessibility-Test-Framework-for-Android.git#commit=4a764c690353ea136c82f1a696a70bf38d1ef5fe
  89. chromium-mirror_third_party_angle::git+https://chromium.googlesource.com/angle/angle.git#commit=c884489868f982df423d572b6367bdd80110ab8a
  90. chromium-mirror_third_party_anonymous_tokens_src::git+https://chromium.googlesource.com/external/github.com/google/anonymous-tokens.git#commit=321a40ba18a083feccb8ae2f99a8676bb1702676
  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=006ca01d387ac6652825d6cce1a57b2de67dbf8d
  93. chromium-mirror_third_party_dawn::git+https://dawn.googlesource.com/dawn.git#commit=9ae7e7c173d06125da29e1b4bf92e9d708bfa694
  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=344117638c8ff7e239044fd0fa7085839fc03021
  96. chromium-mirror_third_party_boringssl_src::git+https://boringssl.googlesource.com/boringssl.git#commit=4fa4804c8ab4521079af62dba5260a99c34b8a29
  97. chromium-mirror_third_party_breakpad_breakpad::git+https://chromium.googlesource.com/breakpad/breakpad.git#commit=76788faa4ef163081f82273bfca7fae8a734b971
  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=9128ec6d34905512199f953bc60ff75ca29d0cf2
  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=e78e275e34f94fdf333245137878f0f6482db67d
  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=aa4b2163b99ac9534194520f70b93eeefb0b3b4e
  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=9a51dc89c4f21362e858b20a6a7cc8adfd7c7238
  108. chromium-mirror_third_party_crossbench::git+https://chromium.googlesource.com/crossbench.git#commit=acbea986f40578f43c88239c78c797f61842e642
  109. chromium-mirror_third_party_depot_tools::git+https://chromium.googlesource.com/chromium/tools/depot_tools.git#commit=9c43bc14f1a7404fd4b6f744050d553acca557bf
  110. chromium-mirror_third_party_devtools-frontend_src::git+https://chromium.googlesource.com/devtools/devtools-frontend.git#commit=0443776371680847c892adb328aeefae80bc926d
  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=2a9055b50ed22101da7d77e999b90ed50956fe0b
  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=52d8ef3799b2f16b66351dd0972bb0bcee1648ac
  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=14d466b30a8ab4a9d789977ed94f2c30e7209267
  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=f42ce25563b73fed0123d18a2556b9ba01d2c76b
  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=f9a93151adf7203c6ab90f3c94bbd5972b7967b8
  128. chromium-mirror_third_party_googletest_src::git+https://chromium.googlesource.com/external/github.com/google/googletest.git#commit=c231e6f5b152029dbd5fa4a9e0c04095035aec3f
  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=bddcd9f77ba0a81a99ce50bcadf5149efe545df0
  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=158761dfb40e77f3a54c3b14a596112837baa24b
  137. chromium-mirror_third_party_libavif_src::git+https://chromium.googlesource.com/external/github.com/AOMediaCodec/libavif.git#commit=43ec9ace31c6ca11efddddb61b94b744450d46e2
  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=33e682f24427a0eb634bd3186fe3c6fd96bd6768
  140. chromium-mirror_third_party_beto-core_src::git+https://beto-core.googlesource.com/beto-core.git#commit=8bd72cfb219344308ee857bcbe65a27fe91acfe8
  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=8d67f28d0281ac4330f283495b7f48286654ad7d
  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=a254b37189cf97cfc76634644e58be511aefb69a
  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=19832b1702d5b0adf616a0e080abd5207c8445b5
  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=a6a2ec654b1be1166b376476a7555c89eca0c275
  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=13434b50dcb64a482cc91191f8cf6151d90f5465
  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=a3f9719bed95289c59771d4c4bcb85f5ecacac43
  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=e15b92e443568dac2dde59fe3af1ff6afb4e5662
  167. chromium-mirror_third_party_perfetto::git+https://android.googlesource.com/platform/external/perfetto.git#commit=a66020f87046d8934c22e20acb2bb8a91901ce8e
  168. chromium-mirror_third_party_protobuf-javascript_src::git+https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf-javascript.git#commit=e34549db516f8712f678fcd4bc411613b5cc5295
  169. chromium-mirror_third_party_pthreadpool_src::git+https://chromium.googlesource.com/external/github.com/Maratyszcza/pthreadpool.git#commit=4fe0e1e183925bf8cfa6aae24237e724a96479b8
  170. chromium-mirror_third_party_pyelftools::git+https://chromium.googlesource.com/chromiumos/third_party/pyelftools.git#commit=19b3e610c86fcadb837d252c794cb5e8008826ae
  171. chromium-mirror_third_party_quic_trace_src::git+https://chromium.googlesource.com/external/github.com/google/quic-trace.git#commit=caa0a6eaba816ecb737f9a70782b7c80b8ac8dbc
  172. chromium-mirror_third_party_pywebsocket3_src::git+https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/pywebsocket3.git#commit=50602a14f1b6da17e0b619833a13addc6ea78bc2
  173. chromium-mirror_third_party_re2_src::git+https://chromium.googlesource.com/external/github.com/google/re2.git#commit=6598a8ecd57724c8c7d43b2fca8eb9f9969ce57c
  174. chromium-mirror_third_party_ruy_src::git+https://chromium.googlesource.com/external/github.com/google/ruy.git#commit=587c2cf8b11d3c32fa26887063eda3171a3d353e
  175. chromium-mirror_third_party_skia::git+https://skia.googlesource.com/skia.git#commit=e7bf161ff959268a2a2f37530a6ea61c27019d33
  176. chromium-mirror_third_party_smhasher_src::git+https://chromium.googlesource.com/external/smhasher.git#commit=e87738e57558e0ec472b2fc3a643b838e5b6e88f
  177. chromium-mirror_third_party_snappy_src::git+https://chromium.googlesource.com/external/github.com/google/snappy.git#commit=c9f9edf6d75bb065fa47468bf035e051a57bec7c
  178. chromium-mirror_third_party_sqlite_src::git+https://chromium.googlesource.com/chromium/deps/sqlite.git#commit=f51e3fa404f5853650525549c78d7489a7f457b3
  179. chromium-mirror_third_party_swiftshader::git+https://swiftshader.googlesource.com/SwiftShader.git#commit=bbe6452b420c5ddc4b0fd421b0a3ce271262f4ca
  180. chromium-mirror_third_party_text-fragments-polyfill_src::git+https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/text-fragments-polyfill.git#commit=c036420683f672d685e27415de0a5f5e85bdc23f
  181. chromium-mirror_third_party_tflite_src::git+https://chromium.googlesource.com/external/github.com/tensorflow/tensorflow.git#commit=55bc062601e4ee5a4efa834a84ae5c5ec6b28306
  182. chromium-mirror_third_party_vulkan-deps::git+https://chromium.googlesource.com/vulkan-deps.git#commit=3cebaae6743688201c8aa9b3694bba6948f0fa68
  183. chromium-mirror_third_party_vulkan_memory_allocator::git+https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git#commit=56300b29fbfcc693ee6609ddad3fdd5b7a449a21
  184. chromium-mirror_third_party_wayland_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland.git#commit=c35d1a3d1c0a1735afe5eb227cb826faa878ec19
  185. chromium-mirror_third_party_wayland-protocols_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git#commit=681c33c8547d6aefe24455ba2bffe1c5ae11fee5
  186. chromium-mirror_third_party_wayland-protocols_kde::git+https://chromium.googlesource.com/external/github.com/KDE/plasma-wayland-protocols.git#commit=0b07950714b3a36c9b9f71fc025fc7783e82926e
  187. chromium-mirror_third_party_wayland-protocols_gtk::git+https://chromium.googlesource.com/external/github.com/GNOME/gtk.git#commit=40ebed3a03aef096addc0af09fec4ec529d882a0
  188. chromium-mirror_third_party_webdriver_pylib::git+https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium/py.git#commit=fc5e7e70c098bfb189a9a74746809ad3c5c34e04
  189. chromium-mirror_third_party_webgl_src::git+https://chromium.googlesource.com/external/khronosgroup/webgl.git#commit=f4bf599a8b575df685c31d9c4729a70a04e377ed
  190. chromium-mirror_third_party_webgpu-cts_src::git+https://chromium.googlesource.com/external/github.com/gpuweb/cts.git#commit=addbf812fd750dc8cebbd63732e7ce54a763fbee
  191. chromium-mirror_third_party_webrtc::git+https://webrtc.googlesource.com/src.git#commit=93e9ac6285bceef08e4c44c221ec57e8f7995b2f
  192. chromium-mirror_third_party_wuffs_src::git+https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git#commit=e3f919ccfe3ef542cfc983a82146070258fb57f8
  193. chromium-mirror_third_party_weston_src::git+https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/weston.git#commit=ccf29cb237c3ed09c5f370f35239c93d07abfdd7
  194. chromium-mirror_third_party_xdg-utils::git+https://chromium.googlesource.com/chromium/deps/xdg-utils.git#commit=cb54d9db2e535ee4ef13cc91b65a1e2741a94a44
  195. chromium-mirror_third_party_xnnpack_src::git+https://chromium.googlesource.com/external/github.com/google/XNNPACK.git#commit=7e696d941310a528dd2d6fbee3d499d19b24746d
  196. chromium-mirror_tools_page_cycler_acid3::git+https://chromium.googlesource.com/chromium/deps/acid3.git#commit=a926d0a32e02c4c03ae95bb798e6c780e0e184ba
  197. chromium-mirror_third_party_zstd_src::git+https://chromium.googlesource.com/external/github.com/facebook/zstd.git#commit=621a263fb2e6c2175fbd489e5d77ee8038baa2b2
  198. chromium-mirror_v8::git+https://chromium.googlesource.com/v8/v8.git#commit=f0dbf5b81854a664765a94ff82921d63ddc7114a
  199. chromium-mirror_third_party_angle_third_party_glmark2_src::git+https://chromium.googlesource.com/external/github.com/glmark2/glmark2.git#commit=ca8de51fedb70bace5351c6b002eb952c747e889
  200. chromium-mirror_third_party_angle_third_party_rapidjson_src::git+https://chromium.googlesource.com/external/github.com/Tencent/rapidjson.git#commit=781a4e667d84aeedbeb8184b7b62425ea66ec59f
  201. 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=ec9827528085fcffca353c8d941ec20e3de7aaea
  202. chromium-mirror_third_party_dawn_buildtools::git+https://chromium.googlesource.com/chromium/src/buildtools.git#commit=48ab3bd053bfe2fef4635d7cb1861f8923167b96
  203. chromium-mirror_third_party_dawn_build::git+https://chromium.googlesource.com/chromium/src/build.git#commit=c6118a585ff6b2ef9f9a3b180d57b3cbf79e1788
  204. chromium-mirror_third_party_dawn_tools_clang::git+https://chromium.googlesource.com/chromium/src/tools/clang.git#commit=de6b303a8915c2610e6ff30f5e7c89b2c8e4e2af
  205. chromium-mirror_third_party_dawn_testing::git+https://chromium.googlesource.com/chromium/src/testing.git#commit=035a9b18047370df7403758b006e6c9696d6b84d
  206. chromium-mirror_third_party_dawn_third_party_jinja2::git+https://chromium.googlesource.com/chromium/src/third_party/jinja2.git#commit=e2d024354e11cc6b041b0cff032d73f0c7e43a07
  207. chromium-mirror_third_party_dawn_third_party_markupsafe::git+https://chromium.googlesource.com/chromium/src/third_party/markupsafe.git#commit=0bad08bb207bbfc1d6f3bbc82b9242b0c50e5794
  208. chromium-mirror_third_party_dawn_third_party_glfw::git+https://chromium.googlesource.com/external/github.com/glfw/glfw.git#commit=62e175ef9fae75335575964c845a302447c012c7
  209. chromium-mirror_third_party_dawn_third_party_zlib::git+https://chromium.googlesource.com/chromium/src/third_party/zlib.git#commit=526382e41c9c5275dc329db4328b54e4f344a204
  210. chromium-mirror_third_party_dawn_third_party_abseil-cpp::git+https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp.git#commit=1cd1f16ff8f7fb5402aeda870c82652edf8f663a
  211. chromium-mirror_third_party_dawn_third_party_dxc::git+https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler.git#commit=fbc944027c78ef2247fd409f90e62eac0a619f69
  212. chromium-mirror_third_party_dawn_third_party_dxheaders::git+https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers.git#commit=980971e835876dc0cde415e8f9bc646e64667bf7
  213. chromium-mirror_third_party_dawn_third_party_khronos_OpenGL-Registry::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry.git#commit=5bae8738b23d06968e7c3a41308568120943ae77
  214. chromium-mirror_third_party_dawn_third_party_khronos_EGL-Registry::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry.git#commit=7dea2ed79187cd13f76183c4b9100159b9e3e071
  215. chromium-mirror_third_party_dawn_third_party_protobuf::git+https://chromium.googlesource.com/chromium/src/third_party/protobuf.git#commit=41759e11ec427e29e1a72b9401d2af3f6e02d839
  216. chromium-mirror_third_party_dawn_tools_protoc_wrapper::git+https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper.git#commit=b5ea227bd88235ab3ccda964d5f3819c4e2d8032
  217. chromium-mirror_third_party_dawn_third_party_jsoncpp::git+https://github.com/open-source-parsers/jsoncpp.git#commit=69098a18b9af0c47549d9a271c054d13ca92b006
  218. chromium-mirror_third_party_dawn_third_party_langsvr::git+https://github.com/google/langsvr.git#commit=a34f394de431efaeb79bec26577389516b531e31
  219. chromium-mirror_third_party_dawn_third_party_partition_alloc::git+https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git#commit=67fd2f86eef40b1357387e2b0fc1eaf3c67d6ed7
  220. chromium-mirror_third_party_openscreen_src_third_party_tinycbor_src::git+https://chromium.googlesource.com/external/github.com/intel/tinycbor.git#commit=d393c16f3eb30d0c47e6f9d92db62272f0ec4dc7
  221. chromium-mirror_third_party_vulkan-deps_glslang_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang.git#commit=9f37ad360ea1c32162f0cc1799b1b292594fc771
  222. chromium-mirror_third_party_vulkan-deps_spirv-cross_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross.git#commit=b8fcf307f1f347089e3c46eb4451d27f32ebc8d3
  223. chromium-mirror_third_party_vulkan-deps_spirv-headers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers.git#commit=8b246ff75c6615ba4532fe4fde20f1be090c3764
  224. chromium-mirror_third_party_vulkan-deps_spirv-tools_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git#commit=c6615779ef8a1eb5ef48fef77bf3eb2cf4f5438d
  225. chromium-mirror_third_party_vulkan-deps_vulkan-headers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git#commit=577baa05033cf1d9236b3d078ca4b3269ed87a2b
  226. chromium-mirror_third_party_vulkan-deps_vulkan-loader_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git#commit=61a9c50248e09f3a0e0be7ce6f8bb1663855f979
  227. chromium-mirror_third_party_vulkan-deps_vulkan-tools_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git#commit=733fd2b522918f81f9c4669350dafd066f99c5d5
  228. chromium-mirror_third_party_vulkan-deps_vulkan-utility-libraries_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries.git#commit=a4140c5fd47dcf3a030726a60b293db61cfb54a3
  229. chromium-mirror_third_party_vulkan-deps_vulkan-validation-layers_src::git+https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git#commit=5b8af92af052c83444ac560ff1e28c1c322424ef
  230. # END managed sources
  231. )
  232. sha256sums=('cf40db276fb33e553947b29166eaab227839d7afdaa049744e7c1c4c428facf2'
  233. 'c2bc4e65ed2a4e23528dd10d5c15bf99f880b7bbb789cc720d451b78098a7e12'
  234. '3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1'
  235. 'b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961'
  236. 'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4'
  237. 'b0ac3422a6ab04859b40d4d7c0fd5f703c893c9ec145c9894c468fbc0a4d457c'
  238. '4484200d90b76830b69eea3a471c103999a3ce86bb2c29e6c14c945bf4102bae'
  239. '55dbe71dbc1f3ab60bf1fa79f7aea7ef1fe76436b1d7df48728a1f8227d2134e'
  240. 'ff588a8a4fd2f79eb8a4f11cf1aa151298ffb895be566c57cc355d47f161f53f'
  241. '3ae82375ba212c31fd4ba6f1fa4e2445eeca8eb8c952176131ad57c0258db224'
  242. '69ed03f95a63456085538fd3c98aad83dfe5a640dee5c44c409ba641a789fa40'
  243. '0b7a546ee6913c49519c10c293ac530ff381641a8a465fa2e184d6dbe0fb784d'
  244. '9c268910525527870b0013d39eae4f6970aba1e3792ba0612ccd97a191156aa0'
  245. '3522166c3ca75316a172b7cc4fe12bba9367e30fed16df8193ede2e236dca8c5'
  246. '1a1204e831ce56a1ea506037aae01417cf5157b5fb0e26a5e3310227ebd973cc'
  247. 'e4b03ed3959fc4c880c7e886e69003009575209f5add6c8911e8c10d518b21f6'
  248. '8588f7e7b417006c6795c105d4fba762b18c2e6bf798a5dbc386a5dd1432a4ed'
  249. '6aacdcddb947184037ceacbe3e3eff57c4e9a494135ebd68e29bfbb26dcc5800'
  250. '5abf726ce9e19c0b0e7818a7ced615a1a6d16f306e7315b9e6db53118c0669b5'
  251. '045eb27642ac8f49b52efec7c52bb6ea3c908552ffadc50449a23b27da7a4737'
  252. '8a8c21768a1f3764e6887cfc907dd857e9fc00a1269dd858e2ba98d70aef889d'
  253. 'a62dd76d5ebcae2e2302509f057d21c35ffd69549ee7cdac47b2a85616dcc9be'
  254. '403878357b3f2f126655b51370db05104f0ba7aa1c46aae17545bb1a15a2581c'
  255. '3d1b926224bdec6ae7c3c995d9fd282a35f0e2183cc116bfde57927c89d0d301'
  256. 'de6dba1f7c67cb568c5f23e75a994422944ce46c01fc35bddae4ebc023a7145a'
  257. '7da19a9b96477e3d05db70d131b72b548df03a8e2758ee279952c042ceeadab9'
  258. 'f8e611ff60421cdf2e9431739e55808fa00920c5828a03b252febcd52ee4b315'
  259. '89a368f0652d857d38402d6f3c5cded3c1757230ab7abe01df850a7bf8359119'
  260. '4fae43a0a499b60ffe7cdb938880acbcd3547f74a2c80006dc2d497462f2021b'
  261. '32b4ebe2eea915eb680546bb8ff19ffb4b7f0e3524c9a987023ed456e93ee498'
  262. 'd6045d4ebf49f14b994e58fbd2a84f95ca43a23f627db19b20cbfad1a0f49016'
  263. 'bd07cc3f0dfa91629028ed53691eec8e0bf9bed7b3a602f4b8e78a7472e4e6fb'
  264. '1d34860ad27880462dfac4917fce5749b9804cd45803b5c58e661ae73a2f3777'
  265. 'f7aad18d8ba3e0659820838004993d6003f32a6509fecebc167fd3335fb276ea'
  266. 'af24f30b90d5942ecb89b9e5f373de70ec16ce590788a03a8d21f714bbca7337'
  267. '978cb7753b1ae225eda637bd464ddba19102833365d6bc187bcdc3e09a03010e'
  268. '8b97c25874c17644300d1cbe6ac1fceb705bf18297e27699ba20497fc47ae239'
  269. 'f14006efaa2876941e3d35b13370eda1ab050aa9d698c20a895a9972dbd07839'
  270. 'e6a28c25e3d93c9c37414149ff44ac7a1bbb4d8a167061f8ee9679dc065af1bb'
  271. '9e950d9f0bf7f0b52de6744de0922583b4b32281e87f0488c2d1cfc533665aa5'
  272. '6125206b56f365874ba812038dbcd4271f8a73235ab4d211c42b7fd2d636bbc8'
  273. 'a4b9f42bb9fbf59318e01c77a9a498d32fe3f60850f92a9c348a1f375d8f8a23'
  274. '4f5fd6719234fbc67c517e20e2170db66d37455d69bec880624a0a0304a0e91c'
  275. '01201e2c2022f0d48b17b7e3745629d110ac689b994ec0c595952561a85fc196'
  276. '7173e93d9f15285dc5957f51c17f94f643d6bf29026e96d568a252b26ef56f0e'
  277. '9d45d56744eaa9a2d5745ea95ac2e04c385b37a6bea29322796bcce64b685d2d'
  278. '235e613b283aada4e4d6eea114b5bfb7f48e446395969e9ca57f6ed9818c63b4'
  279. '47f3f3d044cc0658274833022db1e7695964b1da8f37cb905882d15457212fba'
  280. '0e5fcc7df6e30d54350231f4be6e8e9960b00c5dc46297dddf8e6e8de7ddad4b'
  281. '6258126c4c354ccacd0ec5f9f82c6970d576359c7aba86e44277b459d1645325'
  282. 'a15036bb43b6558fbbb7511125f863de226bc31d0fabb29173270e1261fb18c7'
  283. 'cf96ae84ef29434dd20b0f2daca6013373dd6e47c87cde3aa03abce0500a9f03'
  284. 'e1f5935ff59c8fec646878794a789a20e7d23269ea1ea0b95774d25cad5f7038'
  285. '0db8417b0fd669b95227c266cbc578af1f5e00198fd24f51fee8cfcfccb8b06b'
  286. '5d0c4f261d36707f926fa9ef9a39349f1cccac8ae6443a8f8571c1625eb90c41'
  287. '1a1e2859649a95beef8dba22e8c77735652a212bc88a9bb4dfe1458667dcabbc'
  288. '792d29bbb3fdcfdf21face515e6b9fba1a14ee7bdc82f0cff9620592925425c9'
  289. 'c15f4b24688675499c115097d11ba02a4abcfa2cd787066add8703bf2cc54b2e'
  290. '12081574c11ef21850e9d2cf62580216296a6b7af48f679e6c28e05a376d1f3d'
  291. '0f27ab5434870f31886d7c958ced4ff335a09a1080637fb50afdf95db19e3442'
  292. '0c7f1847c2a818019123e8d575833774d99fb5f0c36870517ebef9c036948cb7'
  293. '88cdf771889253831a8873b3234e80cd0b6604bd1fc31a93cff36fa9c2281159'
  294. 'af81f653b73270d4b8f9d1e92ecf39821498c08f4ca5c69872e39bac90b40083'
  295. '7ba5c3246731ea235e3fcc2315e0b862914c20c37b1d87a788c583e7b0bc5b17'
  296. 'e505d99e0051104a74b5d4868080461b1c48e2c45b2a4f083b1cb53e3a32da9b'
  297. '92fe0e99dea519a56b80321646b7b2b674564f4e8d036cbbf4d98e8588531720'
  298. 'd88e3663b3e3f4cd7765bc50ba172329001f2611aa798e79dd2eabb97b796fa7'
  299. '9f58ce3d45baf6796965aa79109af62c330f82b97d320bb5d7bbbdea0e579a92'
  300. '0debfc572068aeab2fa4e6e7ba45fc14a402fa735423cc9bbfc5ce94a8cd074d'
  301. '1a7d08a586c05f35cee816b3a6a4ad807f21d0d8cd04eb4024997b0e89737d2f'
  302. '09859a379cc6358b289fbd373807cd41779ac54b2e6dc067318b2c4b4dedd779'
  303. '63e3cc92fb9b5b9181082eb8ba1574a11e4c36272d10930c4bd7610fed17308a'
  304. '3d3b00e6246b70e016ae365e4ea970d651b3299d7469abc87ef2b359c2c2db31'
  305. 'fafeac9dcf69efb33cfc1ce1083a1bce9b5c45ded23b75f57dc264afa87f5b5c'
  306. '1578ca03e489a68b8c7b8372139b83637583462b66a9187b1b268ca4605b9d6f'
  307. 'cc419d3646322e44b14e075198f1c0decfb17ecfb4ab32f46b14d31cef7ce85a'
  308. '865e86583808e267801019efb78a9425a6e685f3ced460fba12f329fdee56b44'
  309. '66b8f66432b1325861b5f411c71ec49fa171d9a0063bf958242ddde6ce09c12f'
  310. 'f849a0242720e6389140b7d7853e9f56186bac9793aea5e7b9b713d76847c398'
  311. '9c888babaaf59afc855d944e8b26ab573d5e80026dc3bc8dc64720b8f5bb27a2'
  312. '0147da77d1c1f9dc735469eff0d17cd6a0fe63b1bcfd10b78cda81c3fb0929ab'
  313. 'f90cb311a300832f764a36141fe4ffbda8d3303787bcc12805acc09066c7ba75'
  314. 'cc74c39e0133905a1f4f264590b44282df4231b73972e7a9708b311e46e00f88'
  315. 'fe2f23319ca61ecb2fac8e586ad71fe36ba340fd4f5c4d0372d0e119d5c264e0'
  316. '07db0f4f83ec397994c4ef55476ebd6d64c2bd734800ae2eccdb52c37d5b9ce5'
  317. '4070e77bf7afd9fb949067f63c3580d1f5badacfe4c2ab187129ba20446efd04'
  318. '9c8de69ad47af04565a89920c08f44694f97d7a16f8f23610e5beaf9f38cb71c'
  319. '25906418111df0d29db783092d94148e130592d722393ad4bd76809c6f63f9bd'
  320. '698e598c6f94a46eb9a26020a74d8904def28553157712af8afc3e809771ff25'
  321. '9341676174943fbc5268e023c3e572171289fc4748401723a6dcaef50f793dcd'
  322. '27a59772403b198d5be1736188455f8a5b0c0d1e6ddbb81eb164e6649710aa85'
  323. '7b32c27a5513c451032132fe5dc724de23d3b0738a0609a96bd44deee1d46681'
  324. '9595fd0fb65cbd6a152411617d7564e1f43a76bccb19e19b855c64184d87e707'
  325. '82003e56072e56ab65267e3366b37a6a75730d846881fe6167965205d1c2549c'
  326. 'e475d42b746955422ff9e905354091d0b17cdb2c8989cc6beb6470e76a4aa1dd'
  327. 'f2aba031573fc4929d2bd9d03e4b18c4385f399fa0b605eca35898567ebdf7b4'
  328. '9010695b87eef676b62ec429879972c135987dab6eb53b0a4edf1b5a7cb0bb8b'
  329. '3d55fa9e1d628aed3e127b6fb4d3dd47b7ada7b865f683f52e21a51043827479'
  330. 'd1c16289a7869f143d72e6d574d4f27f439fd2fd027064dcce1dd6a6aee75d00'
  331. '1f3ed3b9c74a3553539687d0797fd29e202e5c00dd465df443420bea36888e4d'
  332. '037821bd18178937610f8f15bc149daa64b95bc684f58c72344289e276c3b879'
  333. '0c82b35ab74b47cb90e37dcffa27a341339567403aa59b7866bee77251878e13'
  334. '8bb2357a93323f69dd45391ead1e656943c756a81f0521bfeae1c24dc58171b2'
  335. '92ee54e1e707b9dd16ee20c06b9cb24b7e0bc18925366f582b511c01502cfbd2'
  336. '78f5096d2d425b9663cb289964d994c9a15db7938c5a1a35cc4b286014ca2545'
  337. 'd42b085e33a0961dcc74d9484e67bed481f6a626d9598b0e6d9bae54dd5205ba'
  338. '99995f0ca85ab0e85bd291e5336657df41409a48ca5439dcaf162d8b11ac0ec6'
  339. 'dc1206af7485794e1644097b08736e39c8fa50296e514561f8805c6d28b58925'
  340. '599bbbabf9e2dc2006dd9e3e9636c4f648360726173793bf6a5a5414698762c5'
  341. '96555b1d6cfa4c9914663aaf4560b63e22b22e4ae9141d073e090e20c74a1163'
  342. 'bdda3911b435ef7c90e202472bd974030c067f50348b355fcc636ddaab862d68'
  343. '7009cfe46b8a5ff061b6c1f25b70fd06018bcc054b95db2860f0a9f7aa099cd1'
  344. '3624b28203c972ea54b490342be74fbd99d4b4748123f9e2837a54ca01c8b392'
  345. 'bd724ee01b93651b4ec6ba62ba64d23e153ea7100be760ccaee4a1e6e32787a6'
  346. 'b7ab046f3d5b0fa2a6f22912bde55a24b09a86586d884ee1260b0084b0880c79'
  347. '16939f238285647738b1433e61e848bc8a145ec8efaefc28be8e8983bd782da3'
  348. '108a67f21c2bdf2dbc4838f3ba32c992325a29cb62a14b377f8a04a9ad5b2b82'
  349. 'e92b08102c29cf48ce0eea0494b138531b57e4bd855a7cd0702d750d8ec1629d'
  350. 'e738263cc30ac53bb1268d07a29f2a0be2f3c0cdfbc3e1c50d31d26cbb627e42'
  351. '913fc3a85ae676025bafe63880c6413ffafe42495a04a52527ee914ee9ba3ae5'
  352. '3e0c064bcd499cd9ce7a6c2bb1138c011ca41a1a0baccb5665ff4c283fa9c61c'
  353. '3787099f99a88ca52e8add69ed9640f23e32dc5a67bebaee3384711469a1bf46'
  354. '1da28304d237ba934e76394107e46fed0e4120fd2b257f1c667c2d11b52d959b'
  355. 'a9a8839d08232091a0cd381f51380a0a6ebe841f5a8e50a6047aae7b8e34c681'
  356. '02696a90c7831e3fa903df105573c5f10f4934602fb0e90c846fb44213c40b27'
  357. 'd67105e55534b8ef8fa45c70b6bae7c65466ac3c714b7bb3d22a37ce6dbc0502'
  358. '41409a8253be4422332bbb733af93eabed239f48c37ef28991ae343c48fcde9e'
  359. '0b7efcd5a3cffbdf9b93ee583de39b08c54b4628079f53a538cae5ed5dfba095'
  360. '0c9106a2bef658f02b2312d081faad6ba8a72bbb5b4ee1cae7d0a95e4ef53f8f'
  361. '04a61e218b3a10ec3cf58e3fe12fb2ea23610f03889d19b31b8ccb3b078efd6e'
  362. '910bc5d9e7523ccd09506bafe3fac586db5106d8cc72d77e8457fdf8b43c225e'
  363. 'd0838256e115347b90379dc4b9844975f6a7070f656376babee995c19d757e12'
  364. '548c8cd89cf822c790e4703eff53756791450eba73d267a84f3bf3eedf60bef5'
  365. 'fafcc7ce83bd384d41453d98e110c750b75fa635d44fd8a0a08e775390d50fd8'
  366. '7a57f5d44ed51bd8db44544e58d03ad912e2f1602a581fce7e1d055a91d2833a'
  367. 'e67cdb017c07a7ec72a06f1062dc2f124d97527869604575fe48610ff98b581a'
  368. '716cc81139f11a2b438802d37f245f885fc9a0c69ef429a11b156145c903a932'
  369. '0a3e32e4f77ff9b1477b382a32278137ba821b2c7d56c42137fa8f51c8f76de5'
  370. '50b51a692ecacfeac38be03baa0d9a4705249440b6e929f657cecb641d782d24'
  371. '4f1ce58c65876680af870f90d48b85f8f1cad5663ae843495d89bee1b5d7d5b3'
  372. '04b46f2082ca88af9e0a4af5f11f452bf222365cd9aebf878885a04e940b4778'
  373. '902d9c00f2d8731693272cf94fe742beec6d7351eb2603c28c76b40eca58005b'
  374. 'b48490fbcdad8becc160f2dab2ee4a0f67327f1e9d9ddbd96e44150175c68ca9'
  375. '0b95ed21612b4f02e65643f2029d8ce5710f49dbe8b229350bbe643167a4b83b'
  376. '785f769c6c0d465f79038ec4f4c210025043285c345041667b122296c6b961e1'
  377. '149af77a3896e6a2a93383aa6c65e4a7cac0fe90abc909802afdd55f79a0faf5'
  378. '4610fe2ec6b7b8a8d40b5379921aa9deaa18249b27b150e3f6f2bab8297033c0'
  379. 'ced43890c02ea5e7043336d3085f83ee5f3e607122bfe40e2a62cf0cbd18a2a7'
  380. 'f7f5d15365443cbd8137445c3aedf8ccd31c3402f72c0fa7c16e7bf1c7977139'
  381. 'f8627f5f3a7c119807afc9dc66ce7cb350f905fd1db7fb6b0077552974a07515'
  382. 'ac3f025aa27fec77b24b443df3a69750dc9bb070a40af5180d031b81e66e328c'
  383. '34158c2a53e1aecd50ed31b8473e45f4f785532b538774a294aacd29c10e928b'
  384. '8bd1361cf5c6e4e3336cad5b37c79dcc986a46b99e4ad7d679da146dd1fdb7fe'
  385. '868159a9a965cebd40f98f5995d6ac6361869904712c1b62c6b8a67d10dd93b4'
  386. '6d5ce5a365dcfdbccf019fd4b5b3971ddb6b71460e0bc97d09fe131793f9a197'
  387. '4ef4e78fa0174bf25cc5d0373fe716e1b712a2a398c8d57ae32cadc132e44b86'
  388. '7d89448b9cccc0e2309ce34fef37ed85fd08fd2b030422e456fc531ebb1e8f80'
  389. 'af6701d7ba7465d0d1ac558bc7dae8791a55416ea863dcbc2516e6cf6d533dd8'
  390. '0f18fde832017387600b5ee2ec6a0ae82125c82b97c0f717772f3cd5dfdcd57b'
  391. 'bbbdf1f65d11a5e6a1f03da5804e555af9c027e76f9dd22135a092f88b8a9b2b'
  392. '874ecfc831f6e91b43e0af84fead867a9d444d1478ec3f834ec55f2f2b786711'
  393. 'b0a3072cca7d583acaaaaa1c483b74befdc91eb3872bdc6f036f6a467835a826'
  394. '031a0d9f671e088b3eaeb97d5df90e27a6e45df64901e147f8973d2cf3faa829'
  395. 'aa8bbfcfe4c153bfff99a203d06cf13519423054f745b847855a9df34c5f70fd'
  396. 'c90d55dbff2f09ea9fce383ddaa3987b4fca15537467ee4a9297be18a95244d5'
  397. 'cb023b113d3413928eb16efc78c02c86800279fdfe8d03648d922c07e714f875')
  398. # add custom patches by extending the bash array, as this is both cleaner
  399. # and easier to maintain
  400. source=(${source[@]}
  401. xdg-basedir.patch)
  402. sha256sums=(${sha256sums[@]}
  403. 'a7d9c117e713e8fc68c777fcc046da5dcae7706055d6d1af7555687086ff4266')
  404. # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
  405. # Keys are the names in the above script; values are the dependencies in Arch
  406. # plus any so names that are provided + linked
  407. declare -gA _system_libs=(
  408. [brotli]=brotli
  409. [dav1d]="dav1d libdav1d.so"
  410. # [ffmpeg]="ffmpeg libavcodec.so libavcodec.so libavformat.so libavutil.so" # YouTube playback stopped working in Chromium 120
  411. [flac]="flac libFLAC.so"
  412. [fontconfig]="fontconfig libfontconfig.so"
  413. [freetype]="freetype2 libfreetype.so"
  414. [harfbuzz-ng]="harfbuzz libharfbuzz.so libharfbuzz-subset.so"
  415. [icu]="icu libicui18n.so libicuuc.so"
  416. # [jsoncpp]="jsoncpp libjsoncpp.so" # needs libstdc++
  417. # [libaom]=aom
  418. # [libavif]=libavif # libavif.so libavutil.so # needs https://github.com/AOMediaCodec/libavif/commit/5410b23f76
  419. [libdrm]=libdrm # libdrm.so
  420. [libjpeg]="libjpeg libjpeg.so"
  421. [libpng]="libpng libpng16.so"
  422. # [libvpx]=libvpx
  423. # [libwebp]="libwebp libwebpdemux.so libwebpmux.so libwebp.so" # //third_party/libavif:libavif_enc needs //third_party/libwebp:libwebp_sharpyuv
  424. [libxml]="libxml2 libxml2.so"
  425. [libxslt]="libxslt libxslt.so"
  426. [opus]="opus libopus.so"
  427. # [re2]="re2 libre2.so" # needs libstdc++
  428. # [snappy]=snappy # libsnappy.so # needs libstdc++
  429. # [woff2]="woff2 libwoff2dec.so" # needs libstdc++
  430. [zlib]=minizip # libminizip.so
  431. )
  432. _unwanted_bundled_libs=(
  433. $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
  434. )
  435. depends+=(${_system_libs[@]})
  436. _update_sources() {
  437. python makepkg-source-roller.py update "v$pkgver" "${pkgname%-*}"
  438. updpkgsums
  439. }
  440. prepare() {
  441. sed -i "s|@ELECTRON@|${pkgname%-*}|" electron-launcher.sh
  442. sed -i "s|@ELECTRON@|${pkgname%-*}|" electron.desktop
  443. sed -i "s|@ELECTRON_NAME@|Electron ${_major_ver}|" electron.desktop
  444. cp -r chromium-mirror_third_party_depot_tools depot_tools
  445. export PATH+=":$PWD/depot_tools" DEPOT_TOOLS_UPDATE=0
  446. export VPYTHON_BYPASS='manually managed python not supported by chrome operations'
  447. echo "Putting together electron sources"
  448. # Generate gclient gn args file and prepare-electron-source-tree.sh
  449. python makepkg-source-roller.py generate electron/DEPS ${pkgname%-*}
  450. rbash prepare-electron-source-tree.sh "$CARCH"
  451. mv electron src/electron
  452. echo "Running hooks..."
  453. # depot_tools/gclient.py runhooks
  454. src/build/landmines.py
  455. src/build/util/lastchange.py -o src/build/util/LASTCHANGE
  456. src/build/util/lastchange.py -m GPU_LISTS_VERSION \
  457. --revision-id-only --header src/gpu/config/gpu_lists_version.h
  458. src/build/util/lastchange.py -m SKIA_COMMIT_HASH \
  459. -s src/third_party/skia --header src/skia/ext/skia_commit_hash.h
  460. src/build/util/lastchange.py \
  461. -s src/third_party/dawn --revision src/gpu/webgpu/DAWN_VERSION
  462. src/tools/update_pgo_profiles.py --target=linux update \
  463. --gs-url-base=chromium-optimization-profiles/pgo_profiles
  464. depot_tools/download_from_google_storage.py --no_resume --extract --no_auth \
  465. --bucket chromium-nodejs -s src/third_party/node/node_modules.tar.gz.sha1
  466. src/electron/script/apply_all_patches.py \
  467. src/electron/patches/config.json
  468. pushd src
  469. pushd electron
  470. yarn install --frozen-lockfile
  471. popd
  472. echo "Applying local patches..."
  473. ## Upstream fixes
  474. # https://crbug.com/893950
  475. sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
  476. third_party/blink/renderer/core/xml/*.cc \
  477. third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
  478. third_party/libxml/chromium/*.cc \
  479. third_party/maldoca/src/maldoca/ole/oss_utils.h
  480. # Drop compiler flag that needs newer clang
  481. patch -Np1 -i ../drop-flag-unsupported-by-clang17.patch
  482. # Allow libclang_rt.builtins from compiler-rt >= 16 to be used
  483. patch -Np1 -i ../compiler-rt-adjust-paths.patch
  484. # Fixes for building with libstdc++ instead of libc++
  485. patch -Np1 -i ../chromium-patches-*/chromium-117-material-color-include.patch
  486. # Link to system tools required by the build
  487. mkdir -p third_party/node/linux/node-linux-x64/bin
  488. ln -sfn /usr/bin/node third_party/node/linux/node-linux-x64/bin/
  489. mkdir -p third_party/jdk/current/bin
  490. ln -sfn /usr/bin/java third_party/jdk/current/bin/
  491. ln -sfn /usr/bin/clang-format buildtools/linux64
  492. # Electron specific fixes
  493. patch -Np1 -i "${srcdir}/jinja-python-3.10.patch" -d "third_party/electron_node/tools/inspector_protocol/jinja2"
  494. patch -Np1 -i "${srcdir}/use-system-libraries-in-node.patch"
  495. # patch -Np1 -i "${srcdir}/default_app-icon.patch" # Icon from .desktop file
  496. # Allow building against system libraries in official builds
  497. echo "Patching Chromium for using system libraries..."
  498. sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
  499. tools/generate_shim_headers/generate_shim_headers.py
  500. # Remove bundled libraries for which we will use the system copies; this
  501. # *should* do what the remove_bundled_libraries.py script does, with the
  502. # added benefit of not having to list all the remaining libraries
  503. local _lib
  504. for _lib in ${_unwanted_bundled_libs[@]}; do
  505. find "third_party/$_lib" -type f \
  506. \! -path "third_party/$_lib/chromium/*" \
  507. \! -path "third_party/$_lib/google/*" \
  508. \! -path "third_party/harfbuzz-ng/utils/hb_scoped.h" \
  509. \! -regex '.*\.\(gn\|gni\|isolate\)' \
  510. -delete
  511. done
  512. ./build/linux/unbundle/replace_gn_files.py \
  513. --system-libraries "${!_system_libs[@]}"
  514. }
  515. build() {
  516. cd src
  517. export CC=clang
  518. export CXX=clang++
  519. export AR=ar
  520. export NM=nm
  521. local _flags=(
  522. 'custom_toolchain="//build/toolchain/linux/unbundle:default"'
  523. 'host_toolchain="//build/toolchain/linux/unbundle:default"'
  524. 'is_official_build=true' # implies is_cfi=true on x86_64
  525. 'symbol_level=0' # sufficient for backtraces on x86(_64)
  526. 'treat_warnings_as_errors=false'
  527. 'disable_fieldtrial_testing_config=true'
  528. 'blink_enable_generated_code_formatting=false'
  529. 'ffmpeg_branding="Chrome"'
  530. 'proprietary_codecs=true'
  531. 'rtc_use_pipewire=true'
  532. 'link_pulseaudio=true'
  533. 'use_custom_libcxx=true' # https://github.com/llvm/llvm-project/issues/61705
  534. 'use_sysroot=false'
  535. 'use_system_libffi=true'
  536. 'enable_hangout_services_extension=true'
  537. 'enable_widevine=false'
  538. 'enable_nacl=false'
  539. )
  540. if [[ -n ${_system_libs[icu]+set} ]]; then
  541. _flags+=('icu_use_data_file=false')
  542. fi
  543. local _clang_version=$(
  544. clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
  545. _flags+=(
  546. 'clang_base_path="/usr"'
  547. 'clang_use_chrome_plugins=false'
  548. "clang_version=\"$_clang_version\""
  549. 'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile
  550. )
  551. # Allow the use of nightly features with stable Rust compiler
  552. # https://github.com/ungoogled-software/ungoogled-chromium/pull/2696#issuecomment-1918173198
  553. export RUSTC_BOOTSTRAP=1
  554. _flags+=(
  555. 'rust_sysroot_absolute="/usr"'
  556. "rustc_version=\"$(rustc --version)\""
  557. )
  558. # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
  559. CFLAGS+=' -Wno-builtin-macro-redefined'
  560. CXXFLAGS+=' -Wno-builtin-macro-redefined'
  561. CPPFLAGS+=' -D__DATE__= -D__TIME__= -D__TIMESTAMP__='
  562. # Do not warn about unknown warning options
  563. CFLAGS+=' -Wno-unknown-warning-option'
  564. CXXFLAGS+=' -Wno-unknown-warning-option'
  565. # Let Chromium set its own symbol level
  566. CFLAGS=${CFLAGS/-g }
  567. CXXFLAGS=${CXXFLAGS/-g }
  568. # https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/123
  569. CFLAGS=${CFLAGS/-fexceptions}
  570. CFLAGS=${CFLAGS/-fcf-protection}
  571. CXXFLAGS=${CXXFLAGS/-fexceptions}
  572. CXXFLAGS=${CXXFLAGS/-fcf-protection}
  573. # This appears to cause random segfaults when combined with ThinLTO
  574. # https://bugs.archlinux.org/task/73518
  575. CFLAGS=${CFLAGS/-fstack-clash-protection}
  576. CXXFLAGS=${CXXFLAGS/-fstack-clash-protection}
  577. # https://crbug.com/957519#c122
  578. CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}
  579. export CHROMIUM_BUILDTOOLS_PATH="${PWD}/buildtools"
  580. gn gen out/Release \
  581. --args="import(\"//electron/build/args/release.gn\") ${_flags[*]}"
  582. ninja -C out/Release electron electron_dist_zip
  583. # ninja -C out/Release third_party/electron_node:headers
  584. }
  585. package() {
  586. install -dm755 "${pkgdir:?}/usr/lib/${pkgname%-*}"
  587. bsdtar -xf src/out/Release/dist.zip -C "${pkgdir}/usr/lib/${pkgname%-*}"
  588. chmod u+s "${pkgdir}/usr/lib/${pkgname%-*}/chrome-sandbox"
  589. install -dm755 "${pkgdir}/usr/share/licenses/${pkgname%-*}"
  590. for l in "${pkgdir}/usr/lib/${pkgname%-*}"/{LICENSE,LICENSES.chromium.html}; do
  591. ln -s \
  592. "$(realpath --relative-to="${pkgdir}/usr/share/licenses/${pkgname%-*}" "${l}")" \
  593. "${pkgdir}/usr/share/licenses/${pkgname%-*}"
  594. done
  595. install -Dm755 "${srcdir}/electron-launcher.sh" \
  596. "${pkgdir}/usr/bin/${pkgname%-*}"
  597. # Install .desktop and icon file (see default_app-icon.patch)
  598. install -Dm644 electron.desktop \
  599. "${pkgdir}/usr/share/applications/${pkgname%-*}.desktop"
  600. install -Dm644 src/electron/default_app/icon.png \
  601. "${pkgdir}/usr/share/pixmaps/${pkgname%-*}.png" # hicolor has no 1024x1024
  602. }