pkgname=chromium-vaapi-bin pkgver=69.0.3497.100 _pkgrel=1 pkgrel=1 pkgdesc='Chromium compiled with VA-API support for Intel Graphics' url='https://www.chromium.org/Home' arch=('x86_64') license=('BSD') provides=('chromium') conflicts=('chromium' 'chromium-vaapi') depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'libva') optdepends=('pepper-flash: support for Flash content' 'kdialog: needed for file dialogs in KDE' 'gnome-keyring: for storing passwords in GNOME keyring' 'kwallet: for storing passwords in KWallet' 'libva-intel-driver: Needed to support VA-API for Intel graphics cards') source_x86_64=("https://github.com/maximbaz/$pkgname/raw/master/$arch/chromium-vaapi-$pkgver-$_pkgrel-$arch.pkg.tar.xz") sha256sums_x86_64=('1ed93448dffa0502b034f05d27eac2e702ae47767e98315337cafefb3601c94c') # Keep in sync with AUR/chromium-vaapi: # # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py # Keys are the names in the above script; values are the dependencies in Arch declare -gA _system_libs=( [ffmpeg]=ffmpeg [flac]=flac [fontconfig]=fontconfig [freetype]=freetype2 [harfbuzz-ng]=harfbuzz [icu]=icu [libdrm]= [libjpeg]=libjpeg #[libpng]=libpng # https://crbug.com/752403#c10 #[libvpx]=libvpx # needs unreleased libvpx [libwebp]=libwebp [libxml]=libxml2 [libxslt]=libxslt [opus]=opus [re2]=re2 [snappy]=snappy [yasm]= [zlib]=minizip ) depends+=(${_system_libs[@]}) package() { cp -ar "$srcdir/usr" "$pkgdir/usr" chmod 4755 "$pkgdir/usr/lib/chromium/chrome-sandbox" }