2 # Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
4 pkgname=vivaldi-ffmpeg-codecs
6 _vivaldi_major_version=6.0
8 pkgdesc="additional support for proprietary codecs for vivaldi"
10 url="https://ffmpeg.org/"
14 'gn' 'ninja' 'python' 'gtk3' 'nss' 'libva'
17 "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz"
19 sha512sums=('d2fbc32db2995335c86548edb4e5e5967df23d4e9648417cec72f8facadc7a7c96e4c1c528dd330dbe185140e7c4ecb9ec28494d87cbc8b4def460f10fde412c')
22 #cd "$srcdir/chromium-$pkgver"
26 'is_component_build=false'
27 'is_component_ffmpeg=true'
29 'use_gnome_keyring=false'
34 "ffmpeg_branding=\"ChromeOS\""
35 "proprietary_codecs=true"
36 "enable_platform_hevc=true"
37 "enable_platform_ac3_eac3_audio=true"
38 "enable_platform_mpeg_h_audio=true"
39 "enable_platform_dolby_vision=true"
40 "enable_mse_mpeg2ts_stream_parser=true"
43 cd "$srcdir/chromium-$pkgver"
46 python tools/clang/scripts/update.py
47 export PATH="${srcdir}/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin:$PATH"
53 --fail-on-unused-args \
54 --args="${_build_flags[*]} ${_ffmpeg_build_flags[*]}" \
55 --script-executable=/usr/bin/python \
58 ninja -C out/ffmpegso libffmpeg.so
62 cd "$srcdir/chromium-$pkgver"
64 install -Dm644 out/ffmpegso/libffmpeg.so \
65 "$pkgdir/opt/vivaldi/libffmpeg.so.$_vivaldi_major_version"
68 # vim:set ts=2 sw=2 et: