CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
chromium: updated to 52.0.2743.116
[ports/opt-arm.git] / chromium / Pkgfile
index 6b2bb781764724c323d900cdf0bcfa4575fd437c..f7dc2df2471baedbd2d5263ba16140626706b11c 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.75
+version=52.0.2743.116
 
 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
 
@@ -84,7 +85,7 @@ build() {
   install -d $PKG/usr/lib/$name/locales
   install -m 0644 out/Release/locales/en-US.pak $PKG/usr/lib/$name/locales
   cp -a out/Release/resources $PKG/usr/lib/$name
-  install -m 0644 -D out/Release/chrome.1 $PKG/usr/man/man1/$name.1
+  install -m 0644 -D out/Release/chrome.1 $PKG/usr/share/man/man1/$name.1
 
   # fix v8 natives
   cp -a out/Release/{natives,snapshot}_blob.bin $PKG/usr/lib/$name
@@ -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