diff options
author | Iru Cai | 2016-05-01 14:37:43 +0800 |
---|---|---|
committer | Iru Cai | 2016-05-01 14:37:43 +0800 |
commit | de3c3637e0157f7ef67e10c838c34f464aff3aec (patch) | |
tree | c13127a06c13a4db1c150a8aeacb2c0e838c5f67 /PKGBUILD | |
parent | adbd85e272626a4026f0b7bb08eda936fc7aa5c7 (diff) | |
download | aur-de3c3637e0157f7ef67e10c838c34f464aff3aec.tar.gz |
Do not use system icu because of upstream issues
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -9,7 +9,7 @@ pkgdesc="a free, open, and libre browser modification of the Chromium code base" arch=('i686' 'x86_64') url="https://iridiumbrowser.de/" license=('BSD') -depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss' 'icu' +depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss' 'libexif' 'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'flac' 'snappy' 'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz' 'libsecret' 'libvpx' 'perl' 'perl-file-basedir' 'desktop-file-utils' @@ -60,10 +60,13 @@ prepare() { sed "s/@WIDEVINE_VERSION@/Pinkie Pie/" ../chromium-widevine.patch | patch -Np1 - # Remove bundled ICU; its header files appear to get picked up instead of - # the system ones, leading to errors during the final link stage. - # https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q - find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete + # Commentception – use bundled ICU due to build failures (50.0.2661.75) + # See https://crbug.com/584920 and https://crbug.com/592268 + # --- + ## Remove bundled ICU; its header files appear to get picked up instead of + ## the system ones, leading to errors during the final link stage. + ## https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q + #find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete # Use Python 2 find . -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' {} + @@ -119,7 +122,7 @@ build() { -Duse_system_flac=1 -Duse_system_ffmpeg=0 -Duse_system_harfbuzz=1 - -Duse_system_icu=1 + -Duse_system_icu=0 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 @@ -198,6 +201,8 @@ package() { ln -s /usr/lib/chromium/chromedriver "$pkgdir/usr/bin/chromedriver" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/chromium/LICENSE" + + install -Dm644 out/Release/icudtl.dat "${pkgdir}/usr/lib/chromium/icudtl.dat" } # vim:set ts=2 sw=2 et: |