X-Git-Url: http://gitweb/?a=blobdiff_plain;f=chromium%2FPkgfile;h=bb3194caf67a414ac348e4752073b051bd2d5c0e;hb=d26692f21ba85b784519440b07aec0aea211f0f7;hp=4d99b4adedd1a338cc9877fe912c27c9a22bdda2;hpb=7e4738adef885301c77b58bceaba047c397342ed;p=ports%2Fopt-arm.git diff --git a/chromium/Pkgfile b/chromium/Pkgfile index 4d99b4a..bb3194c 100644 --- a/chromium/Pkgfile +++ b/chromium/Pkgfile @@ -3,10 +3,11 @@ # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Maintainer: Jose V Beneyto, sepen at crux dot nu # Packager: Tadeusz Sosnierz, tadzikes gmail com -# Depends on: dbus-glib gtk libevent nss xorg-libxscrnsaver xorg-libxtst libgcrypt xorg-libxdamage xorg-libxt gperf speech-dispatcher +# 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.125 +version=52.0.2743.82 + 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 @@ -60,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 \ @@ -71,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 @@ -81,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 @@ -91,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