cef-vaapi

LOW
maintainer bnema 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source uses a Chromium tarball from Google's official storage domain, which is a legitimate and expected source for this package; the non-whitelisted host is a false alarm as commondatastorage.googleapis.com is part of Google Cloud Platform used by Chromium projects.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source uses a Chromium tarball from Google's official storage domain, which is a legitimate and expected source for this package; the non-whitelisted host is a false alarm as commondatastorage.googleapis.com is part of Google Cloud Platform used by Chromium projects.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:72 source=("chromium-$_chromium_ver-lite.tar.xz::https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$_chromium_ver-lite.tar.xz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Christian Heusel <gromit@archlinux.org>
2# Maintainer: Jonathan Grotelüschen <tippfehlr@archlinux.org>
3# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org>
4
5# Note: This PKGBUILD and the chromium PKGBUILD are loosely kept in sync to ease maintenance.
6# As such care should be taken to minimize the differences between these PKGBUILDs.
7pkgname=cef-vaapi
8# pkgver is updated automatically.
9# To update this package, update the _cef_commit and _chromium_ver variables.
10# For the CEF versioning scheme, see
11# https://chromiumembedded.github.io/cef/branches_and_building#version-number-format
12pkgver=152.0.6
13# See https://github.com/chromiumembedded/cef/tree/<release branch>
14# Also see https://chromiumembedded.github.io/cef/branches_and_building
15_cef_commit=708dc140cbc3286826a8abef89dc23a44ff9ea72
16# the chromium version must match CHROMIUM_BUILD_COMPATIBILITY.txt in the CEF repo
17_chromium_ver=152.0.7977.83
18_system_clang=1
19pkgrel=1
20pkgdesc="Chromium Embedded Framework (CEF), simple framework for embedding Chromium-based browsers in other applications (VAAPI-enabled variant)"
21provides=("cef=$pkgver") # provides="cef=$pkgver"
22conflicts=('cef') # conflicts='cef'
23arch=('x86_64')
24url="https://chromiumembedded.github.io/cef"
25license=('BSD-3-Clause')
26depends=(
27 'alsa-lib'
28 'at-spi2-core'
29 'dbus'
30 'libdrm'
31 'libffi'
32 'libpulse'
33 'libxcomposite'
34 'libxdamage'
35 'libxkbcommon'
36 'libxrandr'
37 'mesa'
38 'nss'
39 'pango'
40 'systemd-libs'
41 'libva'
42)
43optdepends=(
44 'libva-mesa-driver: VAAPI driver for AMD GPUs'
45 'intel-media-driver: VAAPI driver for modern Intel GPUs'
46 'libva-utils: VAAPI diagnostics such as vainfo'
47)
48
49makedepends=(
50 'clang'
51 'compiler-rt'
52 'git'
53 'gn'
54 'go'
55 'gperf'
56 'java-runtime-headless'
57 'lld'
58 'ninja'
59 'nodejs'
60 'npm'
61 'pipewire'
62 'python'
63 'python-httplib2'
64 'python-pyparsing'
65 'python-six'
66 'rsync'
67 'rust'
68 'rust-bindgen'
69 'libxtst'
70)
71options=('!lto') # Chromium adds its own flags for ThinLTO
72source=("chromium-$_chromium_ver-lite.tar.xz::https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$_chromium_ver-lite.tar.xz"
73 "cef::git+https://github.com/chromiumembedded/cef.git#commit=${_cef_commit}"
74 chromium-138-nodejs-version-check.patch
75 chromium-145-fix-SYS_SECCOMP.patch
76 chromium-147-revert-clang-no-lifetime-dse-flag.patch
77 chromium-147-rust-1.95-bytemuck.patch
78 chromium-149-drop-unknown-clang-flag.patch
79 chromium-149-use-of-undeclared-identifier-ERROR.patch
80 chromium-149-build-with-wasm-rollup.patch
81 chromium-150-revert-avx-flag-change.patch
82 chromium-152-crubit.patch
83 chromium-152-dawn-llvm-22.patch
84 chromium-152-fix-gn-no-public_inputs.patch
85 chromium-152-unbundle-minizip-undo-unicode.patch
86 chromium-152-unbundle-opus-devtools.patch
87 compiler-rt-adjust-paths.patch
88 increase-fortify-level.patch
89 glibc-2.42-baud-rate-fix.patch
90 cef-no-sysroot.patch
91 cef-no-libxml-visibility-patch.patch
92 chromium-disable-font-tests.patch
93 FindCEF.cmake
94)
95sha256sums=('ba910f09b487b076f79fa8badfa0cefd130cc50fcae88d61a7d92ee2d9665ad2'
96 'a9470d579bb7be8fcee09bbbbf989c3c4c273a5e034c7f599f868d140db7d1be'
97 '11a96ffa21448ec4c63dd5c8d6795a1998d8e5cd5a689d91aea4d2bdd13fb06e'
98 '4fc040a0656a0a524dd8ad090cd129fc5b6cb21adcc66be82080165789e8c13e'
99 'c382830318c5b37826ecf44f3ba9def6be8affdad1bce819ecb83f3222ff4b3a'
100 'b9e6339221efe03540ffb360c161d93604a1fc93a5a1c53e5e9849066f987d05'
101 'e25cf8fb60f5958127053c515b8decc2b45acceebf9a57654066d093df11f8e9'
102 '951514535be65f0e2f84e82305d96292be1da353c1427ba1048ea24be70003c4'
103 'c4df27d25d298ac95d85e6f06b558b73bb67de5110a19a0228cb7f8519291ea5'
104 '5f6ccb7b945c8a13c690493723bad816b36f2f25792d47e677b56f8200907e60'
105 '6cf0b76bc5d9c9bb82ecde1fa87ed1f4380b4bbd29ea485261e5f2aada5d71ea'
106 '5e465d199c1a28d58078af08bcab151561d6423f43c6dba57d4db3f5de534140'
107 '5c4640a211d02ba8249299842ea2999ccc239d85bfd59a0f7c302483683adc07'
108 '890e5d98088ef1c7c075a551442f03385d1db266cad8a65576704a22720683f9'
109 '3276453f2ce655b6286476f48d4df837be952d9447afa46583f79ec71f2288c3'
110 'ec8e49b7114e2fa2d359155c9ef722ff1ba5fe2c518fa48e30863d71d3b82863'
111 'd634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342'
112 '1c1898f263eaacbc069a8e1a3e732852350350d1dad4cb1a6bba430e3b796cd0'
113 'cdc046c3da5a57dae8fba0de49cadbe65d4f8fbfffb172f7a768222232595faa'
114 '6695d7bcac489f74b8290a05dac540c2b5c5fed997ee119ae05419d36509445d'
115 '44dcc0da55a8c6c6af875addcfb9c552c722b56a31479eb7d99f16d0a27f4ebb'
116 'e576250c4d0f3dd307bd22c6d4f9f7aba54fdf4d5899520c0bd1c3527aec65ed')
117
118# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
119# Keys are the names in the above script; values are the dependencies in Arch
120declare -gA _system_libs=(
121 [brotli]=brotli
122 [dav1d]=dav1d
123 #[ffmpeg]=ffmpeg # YouTube playback stopped working in Chromium 120
124 [flac]=flac
125 [fontconfig]=fontconfig
126 [freetype]=freetype2
127 [harfbuzz]=harfbuzz
128 #[icu]=icu
129 #[jsoncpp]=jsoncpp # needs libstdc++
130 #[libaom]=aom
131 #[libavif]=libavif # needs -DAVIF_ENABLE_EXPERIMENTAL_GAIN_MAP=ON
132 [libdrm]=libdrm
133 [libjpeg]=libjpeg-turbo
134 # [libpng]=libpng
135 #[libvpx]=libvpx
136 [libwebp]=libwebp
137 [libxml]=libxml2
138 [libxslt]=libxslt
139 [openh264]=openh264
140 [opus]=opus
141 #[re2]=re2 # needs libstdc++
142 #[snappy]=snappy # needs libstdc++
143 #[woff2]=woff2 # needs libstdc++
144 [zlib]=minizip
145 [zstd]=zstd
146)
147_unwanted_bundled_libs=(
148 $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
149)
150depends+=(${_system_libs[@]})
151
152_validate_cef_vaapi_invariants() {
153 local _pkgbuild="${BASH_SOURCE[0]}"
154 local _required_flags=(
155 'ffmpeg_branding="Chrome"'
156 'proprietary_codecs=true'
157 'rtc_use_pipewire=true'
158 'link_pulseaudio=true'
159 'use_vaapi=true'
160 )
161 local _flag _actual _flag_ok
162 for _flag in "${_required_flags[@]}"; do
163 _flag_ok=0
164 for _actual in "${_flags[@]}"; do
165 if [[ "$_actual" == "$_flag" ]]; then
166 _flag_ok=1
167 break
168 fi
169 done
170 if (( ! _flag_ok )); then
171 echo "ERROR: required GN flag missing or changed: ${_flag}" >&2
172 exit 1
173 fi
174 done
175
176 if grep -Eq '^[[:space:]]*\[ffmpeg\]=' "$_pkgbuild"; then
177 echo "ERROR: _system_libs[ffmpeg] must stay commented or absent" >&2
178 exit 1
179 fi
180
181 local _source_ok=0 _s
182 for _s in "${source[@]}"; do
183 if [[ "$_s" == cef::git+https://github.com/chromiumembedded/cef.git* ]]; then
184 _source_ok=1
185 break
186 fi
187 done
188 if (( ! _source_ok )); then
189 echo "ERROR: source must use cef::git+https://github.com/chromiumembedded/cef.git" >&2
190 exit 1
191 fi
192
193 local _provides_ok=0 _p
194 for _p in "${provides[@]}"; do
195 if [[ "$_p" == cef=* ]]; then
196 _provides_ok=1
197 break
198 fi
199 done
200 if (( ! _provides_ok )); then
201 echo "ERROR: provides must include cef=\$pkgver" >&2
202 exit 1
203 fi
204
205 local _conflicts_ok=0 _c
206 for _c in "${conflicts[@]}"; do
207 if [[ "$_c" == cef ]]; then
208 _conflicts_ok=1
209 break
210 fi
211 done
212 if (( ! _conflicts_ok )); then
213 echo "ERROR: conflicts must include cef" >&2
214 exit 1
215 fi
216
217 if declare -p replaces >/dev/null 2>&1 && (( ${#replaces[@]} > 0 )); then
218 echo "ERROR: replaces must not be set" >&2
219 exit 1
220 fi
221
222 local _libva_ok=0 _d
223 for _d in "${depends[@]}"; do
224 if [[ "$_d" == libva ]]; then
225 _libva_ok=1
226 break
227 fi
228 done
229 if (( ! _libva_ok )); then
230 echo "ERROR: depends must include libva" >&2
231 exit 1
232 fi
233}
234
235prepare() {
236 cd chromium-$_chromium_ver
237
238 # Move CEF into the chromium source tree
239 mv "$srcdir/cef" cef
240
241 # Allow building against system libraries in official builds
242 sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
243 tools/generate_shim_headers/generate_shim_headers.py
244
245 # https://crbug.com/893950
246 sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
247 -e '1i #include <cstdlib>' \
248 third_party/blink/renderer/core/xml/*.cc \
249 third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \
250 third_party/libxml/chromium/*.cc
251
252 # Fixes from Gentoo
253 patch -Np1 -i ../chromium-138-nodejs-version-check.patch
254
255 # Allow libclang_rt.builtins from compiler-rt >= 16 to be used
256 patch -Np1 -i ../compiler-rt-adjust-paths.patch
257
258 # Increase _FORTIFY_SOURCE level to match Arch's default flags
259 patch -Np1 -i ../increase-fortify-level.patch
260
261 # clang 22 lacks -fsanitize-ignore-for-ubsan-feature, which is needed to use
262 # -fsanitize=array-bounds without triggering UBSan feature detection. Without
263 # feature detection suppression, V8 compiles in __sanitizer_set_death_callback
264 # calls that require the UBSan runtime, which is not linked in a trap-mode
265 # build. Drop the entire sanitize_c_array_bounds cflags block.
266 # Can be dropped when arch has LLVM 23.
267 patch -Np1 -i ../chromium-149-drop-unknown-clang-flag.patch
268
269 # Causes a build failure with our clang version
270 patch -Np1 -i ../chromium-147-revert-clang-no-lifetime-dse-flag.patch
271
272 # https://crbug.com/456218403
273 patch -Np1 -i ../chromium-145-fix-SYS_SECCOMP.patch
274
275 patch -Np1 -i ../chromium-149-build-with-wasm-rollup.patch
276
277 patch -Np1 -i ../chromium-147-rust-1.95-bytemuck.patch
278
279 patch -Np1 -i ../chromium-disable-font-tests.patch
280
281 # https://crbug.com/456677057
282 patch -Np1 -i ../glibc-2.42-baud-rate-fix.patch
283
284 patch -Np1 -i ../chromium-149-use-of-undeclared-identifier-ERROR.patch
285
286 # Fix issue about missing AVX functions
287 # Credit: https://github.com/ungoogled-software/ungoogled-chromium/pull/3837
288 patch -Np1 -i ../chromium-150-revert-avx-flag-change.patch
289
290 patch -Np1 -i ../chromium-152-crubit.patch
291
292 patch -Np1 -i ../chromium-152-dawn-llvm-22.patch
293
294 # Just the reverted commit 8dab8b761385b7946588232e4e2a8c116f9293c3
295 patch -Np1 -i "$srcdir/chromium-152-fix-gn-no-public_inputs.patch" -d third_party/devtools-frontend/src
296
297 patch -Np1 -i ../chromium-152-unbundle-minizip-undo-unicode.patch
298
299 patch -Np1 -i ../chromium-152-unbundle-opus-devtools.patch
300
301 # CEF: Remove sysroot requirement for non-x64 builds
302 patch -Np1 -i ../cef-no-sysroot.patch
303
304 # CEF: Remove libxml_visibility patch (fails with system libxml2)
305 patch -Np1 -i ../cef-no-libxml-visibility-patch.patch
306
307 # CEF: Override clang_exe to use system clang
308 echo 'clang_exe = "clang"' >>cef/tools/clang_util.py
309
310 # Link to system tools required by the build
311 mkdir -p \
312 third_party/node/linux/node-linux-x64/bin \
313 third_party/node/linux/node-linux-arm64/bin \
314 third_party/jdk/current/bin \
315 third_party/rust-toolchain/bin \
316 third_party/dawn/tools/golang/linux-amd64/bin \
317 third_party/dawn/tools/golang/linux-arm64/bin
318
319 ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/
320 ln -s /usr/bin/node third_party/node/linux/node-linux-arm64/bin/
321 ln -s /usr/bin/java third_party/jdk/current/bin/
322 ln -s /usr/bin/rustc third_party/rust-toolchain/bin/
323 ln -s /usr/bin/go third_party/dawn/tools/golang/linux-amd64/bin/
324 ln -s /usr/bin/go third_party/dawn/tools/golang/linux-arm64/bin/
325
326 # remove x86_64 binary and use our own
327 rm -f third_party/gperf/cipd/bin/gperf
328 ln -s /usr/bin/gperf third_party/gperf/cipd/bin/
329
330 if ((!_system_clang)); then
331 # Use prebuilt rust as system rust cannot be used due to the error:
332 # error: the option `Z` is only accepted on the nightly compiler
333 ./tools/rust/update_rust.py
334
335 # To link to rust libraries we need to compile with prebuilt clang
336 ./tools/clang/scripts/update.py
337 fi
338
339 # Remove bundled libraries for which we will use the system copies; this
340 # *should* do what the remove_bundled_libraries.py script does, with the
341 # added benefit of not having to list all the remaining libraries
342 local _lib
343 for _lib in ${_unwanted_bundled_libs[@]}; do
344 find "third_party/$_lib" -type f \
345 \! -path "third_party/$_lib/chromium/*" \
346 \! -path "third_party/$_lib/google/*" \
347 \! -path "third_party/harfbuzz-ng/utils/hb_scoped.h" \
348 \! -regex '.*\.\(gn\|gni\|isolate\)' \
349 -delete
350 done
351
352 ./build/linux/unbundle/replace_gn_files.py \
353 --system-libraries "${!_system_libs[@]}"
354
355 # check if the right chromium version is available.
356 local _expected_chromium_ver=$(grep -oP "refs/tags/\K[0-9.]+" cef/CHROMIUM_BUILD_COMPATIBILITY.txt)
357 if [[ "$_expected_chromium_ver" != "$_chromium_ver" ]]; then
358 echo "Error: CEF expects chromium $_expected_chromium_ver, but $_chromium_ver was set in PKGBUILD" >&2
359 exit 1
360 fi
361}
362
363pkgver() {
364 cd chromium-$_chromium_ver
365
366 # python tool to get the full CEF version. For the full output, look at
367 # /usr/include/cef/include/cef_version.h in the built package.
368 python cef/tools/make_version_header.py cef_version_header
369 grep -oP 'CEF_VERSION "\K[^"]+' cef_version_header | sed -E 's/\+.*//'
370}
371
372build() {
373 cd chromium-$_chromium_ver
374
375 if ((_system_clang)); then
376 export CC=clang
377 export CXX=clang++
378 export AR=ar
379 export NM=nm
380 else
381 local _clang_path="$PWD/third_party/llvm-build/Release+Asserts/bin"
382 export CC=$_clang_path/clang
383 export CXX=$_clang_path/clang++
384 export AR=$_clang_path/llvm-ar
385 export NM=$_clang_path/llvm-nm
386 fi
387
388 # Add depot_tools to PATH (needed by CEF's gclient_hook.py)
389 export PATH="$PATH:$PWD/third_party/depot_tools"
390
391 # Use system ninja, remove the wrapper which only supports x86_64
392 rm -f third_party/depot_tools/ninja
393
394 # GN defines passed to CEF's gclient_hook.py via GN_DEFINES env var
395 local _flags=(
396 'custom_toolchain="//build/toolchain/linux/unbundle:default"'
397 'host_toolchain="//build/toolchain/linux/unbundle:default"'
398 'is_official_build=true' # implies is_cfi=true on x86_64
399 'symbol_level=0' # sufficient for backtraces on x86(_64)
400 'treat_warnings_as_errors=false'
401 'fatal_linker_warnings=false'
402 'disable_fieldtrial_testing_config=true'
403 'blink_enable_generated_code_formatting=false'
404 'ffmpeg_branding="Chrome"'
405 'proprietary_codecs=true'
406 'rtc_use_pipewire=true'
407 'link_pulseaudio=true'
408 'use_custom_libcxx=true' # https://github.com/llvm/llvm-project/issues/61705
409 'use_sysroot=false'
410 'use_system_libffi=true'
411 'use_qt5=false'
412 'use_qt6=false'
413 'use_gtk=false'
414 'use_cups=false'
415 'use_gio=false'
416 'use_kerberos=false'
417 'use_libpci=false'
418 'use_udev=true'
419 'cef_use_gtk=false'
420 'enable_remoting=false'
421 'use_vaapi=true'
422 'use_clang_modules=false'
423 'devtools_bundle=false'
424 )
425
426 if [[ -n ${_system_libs[icu]+set} ]]; then
427 _flags+=('icu_use_data_file=false')
428 fi
429
430 if ((_system_clang)); then
431 local _clang_version=$(
432 clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/'
433 )
434
435 _flags+=(
436 'clang_base_path="/usr"'
437 'clang_use_chrome_plugins=false'
438 "clang_version=\"$_clang_version\""
439 'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile
440 )
441
442 # Allow the use of nightly features with stable Rust compiler
443 # https://github.com/ungoogled-software/ungoogled-chromium/pull/2696#issuecomment-1918173198
444 export RUSTC_BOOTSTRAP=1
445
446 _flags+=(
447 'rust_sysroot_absolute="/usr"'
448 'rust_bindgen_root="/usr"'
449 "rustc_version=\"$(rustc --version | awk '{ print $2 ;}')\""
450 )
451 fi
452
453 _validate_cef_vaapi_invariants
454
455 export GN_DEFINES="${_flags[*]}"
456 # Only build Release config
457 if [[ $CARCH == "aarch64" ]]; then
458 export GN_DEFINES+=' target_cpu="arm64"'
459 export GN_OUT_CONFIGS="Release_GN_arm64"
460 else
461 export GN_OUT_CONFIGS="Release_GN_x64"
462 fi
463
464 # Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
465 CFLAGS+=' -Wno-builtin-macro-redefined'
466 CXXFLAGS+=' -Wno-builtin-macro-redefined'
467 CPPFLAGS+=' -D__DATE__= -D__TIME__= -D__TIMESTAMP__='
468
469 # Do not warn about unknown warning options
470 CFLAGS+=' -Wno-unknown-warning-option'
471 CXXFLAGS+=' -Wno-unknown-warning-option'
472
473 # Let Chromium set its own symbol level
474 CFLAGS=${CFLAGS/-g /}
475 CXXFLAGS=${CXXFLAGS/-g /}
476
477 # https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/123
478 CFLAGS=${CFLAGS/-fexceptions/}
479 CFLAGS=${CFLAGS/-fcf-protection/}
480 CXXFLAGS=${CXXFLAGS/-fexceptions/}
481 CXXFLAGS=${CXXFLAGS/-fcf-protection/}
482
483 # This appears to cause random segfaults when combined with ThinLTO
484 # https://bugs.archlinux.org/task/73518
485 CFLAGS=${CFLAGS/-fstack-clash-protection/}
486 CXXFLAGS=${CXXFLAGS/-fstack-clash-protection/}
487
488 # https://crbug.com/957519#c122
489 CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS/}
490
491 # aarch64: strip -march= as chromium sub-targets need their own arch flags
492 if [[ $CARCH == "aarch64" ]]; then
493 CFLAGS="${CFLAGS/-march=*([^ ]) }"
494 CXXFLAGS="${CXXFLAGS/-march=*([^ ]) }"
495 fi
496
497 python3 cef/tools/gclient_hook.py
498 sed -i '/__sanitizer_set_death_callback/d' v8/src/sandbox/testing.cc
499
500 if [[ $CARCH == "aarch64" ]]; then
501 ninja -C out/Release_GN_arm64 libcef chrome_sandbox
502 else
503 ninja -C out/Release_GN_x64 libcef chrome_sandbox
504 fi
505
506 # Build the CEF binary distribution
507 if [[ $CARCH == "aarch64" ]]; then
508 local _distrib_arch_flag="--arm64-build"
509 else
510 local _distrib_arch_flag="--x64-build"
511 fi
512
513 python3 cef/tools/make_distrib.py \
514 --distrib-subdir=distrib \
515 --output-dir=.. \
516 --ninja-build \
517 $_distrib_arch_flag \
518 --minimal \
519 --no-docs \
520 --no-archive
521}
522
523package() {
524 cd distrib_minimal
525
526 install -d "$pkgdir/usr/lib/cef/"
527 cp -r Release/* "$pkgdir/usr/lib/cef/"
528 install -Dvm4755 Release/chrome-sandbox "$pkgdir/usr/lib/cef/chrome-sandbox"
529 cp -r Resources/* "$pkgdir/usr/lib/cef/"
530
531 # Headers
532 install -d "$pkgdir/usr/include/cef"
533 cp -a "include" "$pkgdir/usr/include/cef/"
534
535 # libcef_dll wrapper source
536 install -d "$pkgdir/usr/src/cef"
537 cp -a "libcef_dll" "$pkgdir/usr/src/cef/"
538
539 # Remove include file targets, since includes are in a different path
540 sed -i -e '/\.\.\/include/d' "$pkgdir/usr/src/cef/libcef_dll/CMakeLists.txt"
541
542 # The FindCEF.cmake from CEF expects one unified directory.
543 # We provide a custom FindCEF.cmake that looks in the right places.
544 # Copied from https://src.fedoraproject.org/rpms/cef/blob/rawhide/f/FindCEF.cmake (thanks Fedora!)
545 install -Dm644 "$srcdir/FindCEF.cmake" -t "$pkgdir/usr/share/cmake/Modules/"
546
547 install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE-CEF"
548 install -Dm644 ../chromium-$_chromium_ver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-CHROMIUM"
549}
550
551# vim:set ts=2 sw=2 et:
552

Changes since previous scan

--- PKGBUILD @ 2026-09-11 00:19
+++ PKGBUILD @ 2026-09-17 00:27
@@ -9,12 +9,12 @@
# To update this package, update the _cef_commit and _chromium_ver variables.
# For the CEF versioning scheme, see
# https://chromiumembedded.github.io/cef/branches_and_building#version-number-format
-pkgver=151.3.24
+pkgver=152.0.6
# See https://github.com/chromiumembedded/cef/tree/<release branch>
# Also see https://chromiumembedded.github.io/cef/branches_and_building
-_cef_commit=2384915b7b1f0fe5ad1107e48d80c34e86b698d7
+_cef_commit=708dc140cbc3286826a8abef89dc23a44ff9ea72
# the chromium version must match CHROMIUM_BUILD_COMPATIBILITY.txt in the CEF repo
-_chromium_ver=151.0.7922.174
+_chromium_ver=152.0.7977.83
_system_clang=1
pkgrel=1
pkgdesc="Chromium Embedded Framework (CEF), simple framework for embedding Chromium-based browsers in other applications (VAAPI-enabled variant)"
@@ -76,11 +76,14 @@
chromium-147-revert-clang-no-lifetime-dse-flag.patch
chromium-147-rust-1.95-bytemuck.patch
chromium-149-drop-unknown-clang-flag.patch
- chromium-149-unbundle-minizip-undo-unicode.patch
chromium-149-use-of-undeclared-identifier-ERROR.patch
chromium-149-build-with-wasm-rollup.patch
chromium-150-revert-avx-flag-change.patch
- chromium-151-dont-depends-on-histograms.xml-if-it-is-not-git-checkout.patch
+ chromium-152-crubit.patch
+ chromium-152-dawn-llvm-22.patch
+ chromium-152-fix-gn-no-public_inputs.patch
+ chromium-152-unbundle-minizip-undo-unicode.patch
+ chromium-152-unbundle-opus-devtools.patch
compiler-rt-adjust-paths.patch
increase-fortify-level.patch
glibc-2.42-baud-rate-fix.patch
@@ -89,18 +92,21 @@
chromium-disable-font-tests.patch
FindCEF.cmake
)
-sha256sums=('054ebe79d7235dfaaca063fc6ea32dbaa74b8cd3b915f1edbe622d740908f5fe'
- '2129393a400da2b56aa566a178ec6931d3ff2540812f8a4f07586498d2f995fb'
+sha256sums=('ba910f09b487b076f79fa8badfa0cefd130cc50fcae88d61a7d92ee2d9665ad2'
+ 'a9470d579bb7be8fcee09bbbbf989c3c4c273a5e034c7f599f868d140db7d1be'
'11a96ffa21448ec4c63dd5c8d6795a1998d8e5cd5a689d91aea4d2bdd13fb06e'
'4fc040a0656a0a524dd8ad090cd129fc5b6cb21adcc66be82080165789e8c13e'
'c382830318c5b37826ecf44f3ba9def6be8affdad1bce819ecb83f3222ff4b3a'
'b9e6339221efe03540ffb360c161d93604a1fc93a5a1c53e5e9849066f987d05'
'e25cf8fb60f5958127053c515b8decc2b45acceebf9a57654066d093df11f8e9'
- 'c22338d13f12772cdbcb5cfc1ace94438b9f9c72353cdb165a3ff3ef3d677c78'
'951514535be65f0e2f84e82305d96292be1da353c1427ba1048ea24be70003c4'
'c4df27d25d298ac95d85e6f06b558b73bb67de5110a19a0228cb7f8519291ea5'
'5f6ccb7b945c8a13c690493723bad816b36f2f25792d47e677b56f8200907e60'
- '552ddcef0cf139927f54c9c728c68b0e385600107e5166449b29de75e5dfcd7f'
+ '6cf0b76bc5d9c9bb82ecde1fa87ed1f4380b4bbd29ea485261e5f2aada5d71ea'
+ '5e465d199c1a28d58078af08bcab151561d6423f43c6dba57d4db3f5de534140'
+ '5c4640a211d02ba8249299842ea2999ccc239d85bfd59a0f7c302483683adc07'
+ '890e5d98088ef1c7c075a551442f03385d1db266cad8a65576704a22720683f9'
+ '3276453f2ce655b6286476f48d4df837be952d9447afa46583f79ec71f2288c3'
'ec8e49b7114e2fa2d359155c9ef722ff1ba5fe2c518fa48e30863d71d3b82863'
'd634d2ce1fc63da7ac41f432b1e84c59b7cceabf19d510848a7cff40c8025342'
'1c1898f263eaacbc069a8e1a3e732852350350d1dad4cb1a6bba430e3b796cd0'
@@ -275,17 +281,22 @@
# https://crbug.com/456677057
patch -Np1 -i ../glibc-2.42-baud-rate-fix.patch
- # Chromium bundles a patched minizip with extra features
- patch -Np1 -i ../chromium-149-unbundle-minizip-undo-unicode.patch
-
patch -Np1 -i ../chromium-149-use-of-undeclared-identifier-ERROR.patch
# Fix issue about missing AVX functions
# Credit: https://github.com/ungoogled-software/ungoogled-chromium/pull/3837
patch -Np1 -i ../chromium-150-revert-avx-flag-change.patch
- # Credit: https://github.com/ungoogled-software/ungoogled-chromium/pull/3883
- patch -Np1 -i ../chromium-151-dont-depends-on-histograms.xml-if-it-is-not-git-checkout.patch
+ patch -Np1 -i ../chromium-152-crubit.patch
+
+ patch -Np1 -i ../chromium-152-dawn-llvm-22.patch
+
+ # Just the reverted commit 8dab8b761385b7946588232e4e2a8c116f9293c3
+ patch -Np1 -i "$srcdir/chromium-152-fix-gn-no-public_inputs.patch" -d third_party/devtools-frontend/src
+
+ patch -Np1 -i ../chromium-152-unbundle-minizip-undo-unicode.patch
+
+ patch -Np1 -i ../chromium-152-unbundle-opus-devtools.patch
# CEF: Remove sysroot requirement for non-x64 builds
patch -Np1 -i ../cef-no-sysroot.patch

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 07:22:16 Medium 1
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion