CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
chromium: updated to 49.0.2623.112
[ports/opt-arm.git] / chromium / Pkgfile
index 04f8191b19b8b1ad3661255ba17cde4e0008a534..6eb6d677d51cad6a1f84323298141e8c7471a071 100644 (file)
@@ -6,7 +6,8 @@
 # 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=44.0.2403.157
+version=49.0.2623.112
+
 release=1
 source=(http://commondatastorage.googleapis.com/$name-browser-official/$name-$version.tar.xz \
         $name.sh $name.desktop)
@@ -14,7 +15,9 @@ source=(http://commondatastorage.googleapis.com/$name-browser-official/$name-$ve
 build() {
   cd $name-$version
 
-  export CFLAGS="$CFLAGS $(pkg-config --cflags nspr)"
+       touch chrome/test/data/webui/i18n_process_css_test.html
+
+  export CFLAGS="$CFLAGS $(pkg-config --cflags nspr) -lpthread"
   export LDFLAGS="$LDFLAGS $(pkg-config --libs nspr)"
 
   # determine some flags depending on SOC
@@ -81,7 +84,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