fix(aur): add cef runtime dependency to packages
- commit
- 9918575ae1f0aafb29f55c51cf3a7485226a91d0
- author
- brice · · 2026-06-24 12:21 UTC
- committer
- brice · · 2026-06-24 18:30 UTC
- parent
- eba3182
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
6 files · +64 -7
M .github/workflows/aur.yml +6 -2
| @@ -52,7 +52,7 @@ jobs: | |||
| 52 | 52 | 'url="https://github.com/bnema/dumber"' \ | |
| 53 | 53 | "license=('MIT')" \ | |
| 54 | 54 | "makedepends=('go>=1.26' 'git' 'brotli')" \ | |
| 55 | - | "depends=('gtk4' 'webkitgtk-6.0')" \ | |
| 55 | + | "depends=('gtk4' 'cef' 'webkitgtk-6.0')" \ | |
| 56 | 56 | 'optdepends=(' \ | |
| 57 | 57 | " 'gst-plugins-base: Base media codecs'" \ | |
| 58 | 58 | " 'gst-plugins-good: Additional media codecs'" \ | |
| @@ -61,6 +61,8 @@ jobs: | |||
| 61 | 61 | " 'gst-libav: FFmpeg-based codecs'" \ | |
| 62 | 62 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | |
| 63 | 63 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | |
| 64 | + | " 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |
| 65 | + | " 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'" \ | |
| 64 | 66 | " 'pipewire: Audio/video routing'" \ | |
| 65 | 67 | " 'pipewire-pulse: PulseAudio replacement'" \ | |
| 66 | 68 | " 'mesa: VA-API driver for AMD GPUs'" \ | |
| @@ -184,7 +186,7 @@ jobs: | |||
| 184 | 186 | "arch=('x86_64')" \ | |
| 185 | 187 | 'url="https://github.com/bnema/dumber"' \ | |
| 186 | 188 | "license=('MIT')" \ | |
| 187 | - | "depends=('gtk4' 'webkitgtk-6.0')" \ | |
| 189 | + | "depends=('gtk4' 'cef' 'webkitgtk-6.0')" \ | |
| 188 | 190 | 'optdepends=(' \ | |
| 189 | 191 | " 'gst-plugins-base: Base media codecs'" \ | |
| 190 | 192 | " 'gst-plugins-good: Additional media codecs'" \ | |
| @@ -193,6 +195,8 @@ jobs: | |||
| 193 | 195 | " 'gst-libav: FFmpeg-based codecs'" \ | |
| 194 | 196 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | |
| 195 | 197 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | |
| 198 | + | " 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |
| 199 | + | " 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'" \ | |
| 196 | 200 | " 'pipewire: Audio/video routing'" \ | |
| 197 | 201 | " 'pipewire-pulse: PulseAudio replacement'" \ | |
| 198 | 202 | " 'mesa: VA-API driver for AMD GPUs'" \ | |
| @@ -52,7 +52,7 @@ jobs: | |||||
| 52 | 'url="https://github.com/bnema/dumber"' \ | 52 | 'url="https://github.com/bnema/dumber"' \ | ||
| 53 | "license=('MIT')" \ | 53 | "license=('MIT')" \ | ||
| 54 | "makedepends=('go>=1.26' 'git' 'brotli')" \ | 54 | "makedepends=('go>=1.26' 'git' 'brotli')" \ | ||
| 55 | - | "depends=('gtk4' 'webkitgtk-6.0')" \ | 55 | + | "depends=('gtk4' 'cef' 'webkitgtk-6.0')" \ |
| 56 | 'optdepends=(' \ | 56 | 'optdepends=(' \ | ||
| 57 | " 'gst-plugins-base: Base media codecs'" \ | 57 | " 'gst-plugins-base: Base media codecs'" \ | ||
| 58 | " 'gst-plugins-good: Additional media codecs'" \ | 58 | " 'gst-plugins-good: Additional media codecs'" \ | ||
| @@ -61,6 +61,8 @@ jobs: | |||||
| 61 | " 'gst-libav: FFmpeg-based codecs'" \ | 61 | " 'gst-libav: FFmpeg-based codecs'" \ | ||
| 62 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | 62 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | ||
| 63 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | 63 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | ||
| 64 | + | " 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |||
| 65 | + | " 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'" \ | |||
| 64 | " 'pipewire: Audio/video routing'" \ | 66 | " 'pipewire: Audio/video routing'" \ | ||
| 65 | " 'pipewire-pulse: PulseAudio replacement'" \ | 67 | " 'pipewire-pulse: PulseAudio replacement'" \ | ||
| 66 | " 'mesa: VA-API driver for AMD GPUs'" \ | 68 | " 'mesa: VA-API driver for AMD GPUs'" \ | ||
| @@ -184,7 +186,7 @@ jobs: | |||||
| 184 | "arch=('x86_64')" \ | 186 | "arch=('x86_64')" \ | ||
| 185 | 'url="https://github.com/bnema/dumber"' \ | 187 | 'url="https://github.com/bnema/dumber"' \ | ||
| 186 | "license=('MIT')" \ | 188 | "license=('MIT')" \ | ||
| 187 | - | "depends=('gtk4' 'webkitgtk-6.0')" \ | 189 | + | "depends=('gtk4' 'cef' 'webkitgtk-6.0')" \ |
| 188 | 'optdepends=(' \ | 190 | 'optdepends=(' \ | ||
| 189 | " 'gst-plugins-base: Base media codecs'" \ | 191 | " 'gst-plugins-base: Base media codecs'" \ | ||
| 190 | " 'gst-plugins-good: Additional media codecs'" \ | 192 | " 'gst-plugins-good: Additional media codecs'" \ | ||
| @@ -193,6 +195,8 @@ jobs: | |||||
| 193 | " 'gst-libav: FFmpeg-based codecs'" \ | 195 | " 'gst-libav: FFmpeg-based codecs'" \ | ||
| 194 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | 196 | " 'gst-plugin-pipewire: PipeWire audio support'" \ | ||
| 195 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | 197 | " 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'" \ | ||
| 198 | + | " 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |||
| 199 | + | " 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'" \ | |||
| 196 | " 'pipewire: Audio/video routing'" \ | 200 | " 'pipewire: Audio/video routing'" \ | ||
| 197 | " 'pipewire-pulse: PulseAudio replacement'" \ | 201 | " 'pipewire-pulse: PulseAudio replacement'" \ | ||
| 198 | " 'mesa: VA-API driver for AMD GPUs'" \ | 202 | " 'mesa: VA-API driver for AMD GPUs'" \ | ||
M aur/dumber-browser-bin/.SRCINFO +4 -1
| @@ -1,11 +1,12 @@ | |||
| 1 | 1 | pkgbase = dumber-browser-bin | |
| 2 | 2 | pkgdesc = A minimal keyboard-driven browser for tiling WMs | |
| 3 | 3 | pkgver = 0.23.2 | |
| 4 | - | pkgrel = 1 | |
| 4 | + | pkgrel = 2 | |
| 5 | 5 | url = https://github.com/bnema/dumber | |
| 6 | 6 | arch = x86_64 | |
| 7 | 7 | license = MIT | |
| 8 | 8 | depends = gtk4 | |
| 9 | + | depends = cef | |
| 9 | 10 | depends = webkitgtk-6.0 | |
| 10 | 11 | optdepends = gst-plugins-base: Base media codecs | |
| 11 | 12 | optdepends = gst-plugins-good: Additional media codecs | |
| @@ -14,6 +15,8 @@ pkgbase = dumber-browser-bin | |||
| 14 | 15 | optdepends = gst-libav: FFmpeg-based codecs | |
| 15 | 16 | optdepends = gst-plugin-pipewire: PipeWire audio support | |
| 16 | 17 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | |
| 18 | + | optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support | |
| 19 | + | optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support | |
| 17 | 20 | optdepends = pipewire: Audio/video routing | |
| 18 | 21 | optdepends = pipewire-pulse: PulseAudio replacement | |
| 19 | 22 | optdepends = mesa: VA-API driver for AMD GPUs | |
| @@ -1,11 +1,12 @@ | |||||
| 1 | pkgbase = dumber-browser-bin | 1 | pkgbase = dumber-browser-bin | ||
| 2 | pkgdesc = A minimal keyboard-driven browser for tiling WMs | 2 | pkgdesc = A minimal keyboard-driven browser for tiling WMs | ||
| 3 | pkgver = 0.23.2 | 3 | pkgver = 0.23.2 | ||
| 4 | - | pkgrel = 1 | 4 | + | pkgrel = 2 |
| 5 | url = https://github.com/bnema/dumber | 5 | url = https://github.com/bnema/dumber | ||
| 6 | arch = x86_64 | 6 | arch = x86_64 | ||
| 7 | license = MIT | 7 | license = MIT | ||
| 8 | depends = gtk4 | 8 | depends = gtk4 | ||
| 9 | + | depends = cef | |||
| 9 | depends = webkitgtk-6.0 | 10 | depends = webkitgtk-6.0 | ||
| 10 | optdepends = gst-plugins-base: Base media codecs | 11 | optdepends = gst-plugins-base: Base media codecs | ||
| 11 | optdepends = gst-plugins-good: Additional media codecs | 12 | optdepends = gst-plugins-good: Additional media codecs | ||
| @@ -14,6 +15,8 @@ pkgbase = dumber-browser-bin | |||||
| 14 | optdepends = gst-libav: FFmpeg-based codecs | 15 | optdepends = gst-libav: FFmpeg-based codecs | ||
| 15 | optdepends = gst-plugin-pipewire: PipeWire audio support | 16 | optdepends = gst-plugin-pipewire: PipeWire audio support | ||
| 16 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | 17 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | ||
| 18 | + | optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support | |||
| 19 | + | optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support | |||
| 17 | optdepends = pipewire: Audio/video routing | 20 | optdepends = pipewire: Audio/video routing | ||
| 18 | optdepends = pipewire-pulse: PulseAudio replacement | 21 | optdepends = pipewire-pulse: PulseAudio replacement | ||
| 19 | optdepends = mesa: VA-API driver for AMD GPUs | 22 | optdepends = mesa: VA-API driver for AMD GPUs | ||
M aur/dumber-browser-bin/PKGBUILD +4 -2
| @@ -1,12 +1,12 @@ | |||
| 1 | 1 | # Maintainer: bnema <b at bnema dot dev> | |
| 2 | 2 | pkgname=dumber-browser-bin | |
| 3 | 3 | pkgver=0.23.2 | |
| 4 | - | pkgrel=1 | |
| 4 | + | pkgrel=2 | |
| 5 | 5 | pkgdesc="A minimal keyboard-driven browser for tiling WMs" | |
| 6 | 6 | arch=('x86_64') | |
| 7 | 7 | url="https://github.com/bnema/dumber" | |
| 8 | 8 | license=('MIT') | |
| 9 | - | depends=('gtk4' 'webkitgtk-6.0') | |
| 9 | + | depends=('gtk4' 'cef' 'webkitgtk-6.0') | |
| 10 | 10 | optdepends=( | |
| 11 | 11 | 'gst-plugins-base: Base media codecs' | |
| 12 | 12 | 'gst-plugins-good: Additional media codecs' | |
| @@ -15,6 +15,8 @@ optdepends=( | |||
| 15 | 15 | 'gst-libav: FFmpeg-based codecs' | |
| 16 | 16 | 'gst-plugin-pipewire: PipeWire audio support' | |
| 17 | 17 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | |
| 18 | + | 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support' | |
| 19 | + | 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support' | |
| 18 | 20 | 'pipewire: Audio/video routing' | |
| 19 | 21 | 'pipewire-pulse: PulseAudio replacement' | |
| 20 | 22 | 'mesa: VA-API driver for AMD GPUs' | |
| @@ -1,12 +1,12 @@ | |||||
| 1 | # Maintainer: bnema <b at bnema dot dev> | 1 | # Maintainer: bnema <b at bnema dot dev> | ||
| 2 | pkgname=dumber-browser-bin | 2 | pkgname=dumber-browser-bin | ||
| 3 | pkgver=0.23.2 | 3 | pkgver=0.23.2 | ||
| 4 | - | pkgrel=1 | 4 | + | pkgrel=2 |
| 5 | pkgdesc="A minimal keyboard-driven browser for tiling WMs" | 5 | pkgdesc="A minimal keyboard-driven browser for tiling WMs" | ||
| 6 | arch=('x86_64') | 6 | arch=('x86_64') | ||
| 7 | url="https://github.com/bnema/dumber" | 7 | url="https://github.com/bnema/dumber" | ||
| 8 | license=('MIT') | 8 | license=('MIT') | ||
| 9 | - | depends=('gtk4' 'webkitgtk-6.0') | 9 | + | depends=('gtk4' 'cef' 'webkitgtk-6.0') |
| 10 | optdepends=( | 10 | optdepends=( | ||
| 11 | 'gst-plugins-base: Base media codecs' | 11 | 'gst-plugins-base: Base media codecs' | ||
| 12 | 'gst-plugins-good: Additional media codecs' | 12 | 'gst-plugins-good: Additional media codecs' | ||
| @@ -15,6 +15,8 @@ optdepends=( | |||||
| 15 | 'gst-libav: FFmpeg-based codecs' | 15 | 'gst-libav: FFmpeg-based codecs' | ||
| 16 | 'gst-plugin-pipewire: PipeWire audio support' | 16 | 'gst-plugin-pipewire: PipeWire audio support' | ||
| 17 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | 17 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | ||
| 18 | + | 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support' | |||
| 19 | + | 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support' | |||
| 18 | 'pipewire: Audio/video routing' | 20 | 'pipewire: Audio/video routing' | ||
| 19 | 'pipewire-pulse: PulseAudio replacement' | 21 | 'pipewire-pulse: PulseAudio replacement' | ||
| 20 | 'mesa: VA-API driver for AMD GPUs' | 22 | 'mesa: VA-API driver for AMD GPUs' | ||
M aur/dumber-browser-git/.SRCINFO +2 -1
| @@ -18,7 +18,8 @@ pkgbase = dumber-browser-git | |||
| 18 | 18 | optdepends = gst-libav: FFmpeg-based codecs | |
| 19 | 19 | optdepends = gst-plugin-pipewire: PipeWire audio support | |
| 20 | 20 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | |
| 21 | - | optdepends = cef-vaapi: Optional AUR CEF build with VA-API hardware video decoding support | |
| 21 | + | optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support | |
| 22 | + | optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support | |
| 22 | 23 | optdepends = pipewire: Audio/video routing | |
| 23 | 24 | optdepends = pipewire-pulse: PulseAudio replacement | |
| 24 | 25 | optdepends = mesa: VA-API driver for AMD GPUs | |
| @@ -18,7 +18,8 @@ pkgbase = dumber-browser-git | |||||
| 18 | optdepends = gst-libav: FFmpeg-based codecs | 18 | optdepends = gst-libav: FFmpeg-based codecs | ||
| 19 | optdepends = gst-plugin-pipewire: PipeWire audio support | 19 | optdepends = gst-plugin-pipewire: PipeWire audio support | ||
| 20 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | 20 | optdepends = gst-plugin-va: Hardware video decoding (VA-API stateless decoders) | ||
| 21 | - | optdepends = cef-vaapi: Optional AUR CEF build with VA-API hardware video decoding support | 21 | + | optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support |
| 22 | + | optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support | |||
| 22 | optdepends = pipewire: Audio/video routing | 23 | optdepends = pipewire: Audio/video routing | ||
| 23 | optdepends = pipewire-pulse: PulseAudio replacement | 24 | optdepends = pipewire-pulse: PulseAudio replacement | ||
| 24 | optdepends = mesa: VA-API driver for AMD GPUs | 25 | optdepends = mesa: VA-API driver for AMD GPUs | ||
M aur/dumber-browser-git/PKGBUILD +2 -1
| @@ -16,7 +16,8 @@ optdepends=( | |||
| 16 | 16 | 'gst-libav: FFmpeg-based codecs' | |
| 17 | 17 | 'gst-plugin-pipewire: PipeWire audio support' | |
| 18 | 18 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | |
| 19 | - | 'cef-vaapi: Optional AUR CEF build with VA-API hardware video decoding support' | |
| 19 | + | 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support' | |
| 20 | + | 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support' | |
| 20 | 21 | 'pipewire: Audio/video routing' | |
| 21 | 22 | 'pipewire-pulse: PulseAudio replacement' | |
| 22 | 23 | 'mesa: VA-API driver for AMD GPUs' | |
| @@ -16,7 +16,8 @@ optdepends=( | |||||
| 16 | 'gst-libav: FFmpeg-based codecs' | 16 | 'gst-libav: FFmpeg-based codecs' | ||
| 17 | 'gst-plugin-pipewire: PipeWire audio support' | 17 | 'gst-plugin-pipewire: PipeWire audio support' | ||
| 18 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | 18 | 'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)' | ||
| 19 | - | 'cef-vaapi: Optional AUR CEF build with VA-API hardware video decoding support' | 19 | + | 'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support' |
| 20 | + | 'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support' | |||
| 20 | 'pipewire: Audio/video routing' | 21 | 'pipewire: Audio/video routing' | ||
| 21 | 'pipewire-pulse: PulseAudio replacement' | 22 | 'pipewire-pulse: PulseAudio replacement' | ||
| 22 | 'mesa: VA-API driver for AMD GPUs' | 23 | 'mesa: VA-API driver for AMD GPUs' | ||
A scripts/verify_aur_metadata.sh +46 -0
| @@ -0,0 +1,46 @@ | |||
| 1 | + | #!/usr/bin/env bash | |
| 2 | + | set -euo pipefail | |
| 3 | + | ||
| 4 | + | if ! command -v makepkg >/dev/null 2>&1; then | |
| 5 | + | echo "makepkg is required to verify AUR metadata" >&2 | |
| 6 | + | exit 1 | |
| 7 | + | fi | |
| 8 | + | ||
| 9 | + | for pkgdir in aur/dumber-browser-bin aur/dumber-browser-git; do | |
| 10 | + | tmp=$(mktemp) | |
| 11 | + | trap 'rm -f "$tmp"' EXIT | |
| 12 | + | (cd "$pkgdir" && makepkg --printsrcinfo > "$tmp") | |
| 13 | + | diff -u "$pkgdir/.SRCINFO" "$tmp" | |
| 14 | + | grep -qxE '[[:space:]]*depends = cef' "$pkgdir/.SRCINFO" | |
| 15 | + | grep -qxE '[[:space:]]*depends = cef' "$tmp" | |
| 16 | + | for metadata in "$pkgdir/.SRCINFO" "$tmp"; do | |
| 17 | + | if grep -qxE '[[:space:]]*depends = cef-vaapi(-bin)?([<>=].*)?' "$metadata"; then | |
| 18 | + | echo "cef-vaapi providers must remain optdepends, not hard dependencies: $metadata" >&2 | |
| 19 | + | exit 1 | |
| 20 | + | fi | |
| 21 | + | done | |
| 22 | + | grep -q "optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support" "$pkgdir/.SRCINFO" | |
| 23 | + | grep -q "optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support" "$pkgdir/.SRCINFO" | |
| 24 | + | grep -q "optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support" "$tmp" | |
| 25 | + | grep -q "optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support" "$tmp" | |
| 26 | + | rm -f "$tmp" | |
| 27 | + | trap - EXIT | |
| 28 | + | echo "verified $pkgdir" | |
| 29 | + | done | |
| 30 | + | ||
| 31 | + | expected="depends=('gtk4' 'cef' 'webkitgtk-6.0')" | |
| 32 | + | matches=$(grep -F -c "$expected" .github/workflows/aur.yml || true) | |
| 33 | + | if [[ "$matches" -lt 2 ]]; then | |
| 34 | + | echo "expected dependency string in both AUR workflow package blocks" >&2 | |
| 35 | + | exit 1 | |
| 36 | + | fi | |
| 37 | + | ||
| 38 | + | for expected in \ | |
| 39 | + | "'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |
| 40 | + | "'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'"; do | |
| 41 | + | matches=$(grep -F -c "$expected" .github/workflows/aur.yml || true) | |
| 42 | + | if [[ "$matches" -lt 2 ]]; then | |
| 43 | + | echo "expected $expected in both AUR workflow package blocks" >&2 | |
| 44 | + | exit 1 | |
| 45 | + | fi | |
| 46 | + | done | |
| @@ -0,0 +1,46 @@ | |||||
| 1 | + | #!/usr/bin/env bash | |||
| 2 | + | set -euo pipefail | |||
| 3 | + | ||||
| 4 | + | if ! command -v makepkg >/dev/null 2>&1; then | |||
| 5 | + | echo "makepkg is required to verify AUR metadata" >&2 | |||
| 6 | + | exit 1 | |||
| 7 | + | fi | |||
| 8 | + | ||||
| 9 | + | for pkgdir in aur/dumber-browser-bin aur/dumber-browser-git; do | |||
| 10 | + | tmp=$(mktemp) | |||
| 11 | + | trap 'rm -f "$tmp"' EXIT | |||
| 12 | + | (cd "$pkgdir" && makepkg --printsrcinfo > "$tmp") | |||
| 13 | + | diff -u "$pkgdir/.SRCINFO" "$tmp" | |||
| 14 | + | grep -qxE '[[:space:]]*depends = cef' "$pkgdir/.SRCINFO" | |||
| 15 | + | grep -qxE '[[:space:]]*depends = cef' "$tmp" | |||
| 16 | + | for metadata in "$pkgdir/.SRCINFO" "$tmp"; do | |||
| 17 | + | if grep -qxE '[[:space:]]*depends = cef-vaapi(-bin)?([<>=].*)?' "$metadata"; then | |||
| 18 | + | echo "cef-vaapi providers must remain optdepends, not hard dependencies: $metadata" >&2 | |||
| 19 | + | exit 1 | |||
| 20 | + | fi | |||
| 21 | + | done | |||
| 22 | + | grep -q "optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support" "$pkgdir/.SRCINFO" | |||
| 23 | + | grep -q "optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support" "$pkgdir/.SRCINFO" | |||
| 24 | + | grep -q "optdepends = cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support" "$tmp" | |||
| 25 | + | grep -q "optdepends = cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support" "$tmp" | |||
| 26 | + | rm -f "$tmp" | |||
| 27 | + | trap - EXIT | |||
| 28 | + | echo "verified $pkgdir" | |||
| 29 | + | done | |||
| 30 | + | ||||
| 31 | + | expected="depends=('gtk4' 'cef' 'webkitgtk-6.0')" | |||
| 32 | + | matches=$(grep -F -c "$expected" .github/workflows/aur.yml || true) | |||
| 33 | + | if [[ "$matches" -lt 2 ]]; then | |||
| 34 | + | echo "expected dependency string in both AUR workflow package blocks" >&2 | |||
| 35 | + | exit 1 | |||
| 36 | + | fi | |||
| 37 | + | ||||
| 38 | + | for expected in \ | |||
| 39 | + | "'cef-vaapi-bin: Prebuilt CEF provider with VA-API hardware video decoding support'" \ | |||
| 40 | + | "'cef-vaapi: Source-built CEF provider with VA-API hardware video decoding support'"; do | |||
| 41 | + | matches=$(grep -F -c "$expected" .github/workflows/aur.yml || true) | |||
| 42 | + | if [[ "$matches" -lt 2 ]]; then | |||
| 43 | + | echo "expected $expected in both AUR workflow package blocks" >&2 | |||
| 44 | + | exit 1 | |||
| 45 | + | fi | |||
| 46 | + | done | |||