CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
chromium: updated to 52.0.2743.82
[ports/opt-arm.git] / chromium / Pkgfile
index 6eb6d677d51cad6a1f84323298141e8c7471a071..bb3194caf67a414ac348e4752073b051bd2d5c0e 100644 (file)
@@ -6,7 +6,7 @@
 # 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 \
@@ -63,6 +63,7 @@ build() {
         -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 \
@@ -74,7 +75,7 @@ build() {
         -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
 
@@ -94,6 +95,9 @@ build() {
       $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