# Depends on: ninja dbus-glib gtk libevent nss xorg-libxscrnsaver xorg-libxtst libgcrypt xorg-libxdamage yasm xorg-libxt gperf speech-dispatcher libdrm libexif pciutils
name=chromium
-version=49.0.2623.112
+version=52.0.2743.82
release=1
source=(http://commondatastorage.googleapis.com/$name-browser-official/$name-$version.tar.xz \
-Duse_system_libevent=1 \
-Duse_system_sqlite=0 \
-Duse_system_ssl=0 \
+ -Duse_system_icu=0 \
-Dremove_webcore_debug_symbols=1 \
-Duse_gconf=0 \
-Duse_cups=0 \
-Dlinux_link_libspeechd=1 \
-Denable_webrtc=1 \
-Ddisable_nacl=1 \
- -Dicu_use_data_file_flag=0
+ -Dicu_use_data_file_flag=1
ninja -C out/Release chrome chrome_sandbox
$PKG/usr/share/icons/hicolor/${size}x${size}/apps/$name.png
done
+ # fix icu installation
+ cp -a out/Release/icudtl.dat $PKG/usr/lib/$name
+
install -d $PKG/usr/share/pixmaps
ln -sf /usr/share/icons/hicolor/48x48/apps/$name.png $PKG/usr/share/pixmaps/$name.png
install -m 0644 -D $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop