summaryrefslogtreecommitdiff
path: root/network/chromium/chromium.SlackBuild
diff options
context:
space:
mode:
authorFrancisco Ambrozio <sbo@franciscoambrozio.com>2016-10-13 20:49:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-14 22:19:55 +0700
commit9514306f3d8dd25b6f0a41428c0652d06bf80477 (patch)
treed6c5760f4b2ab640ca958b597285a32bb5defc04 /network/chromium/chromium.SlackBuild
parentc180916f9c8feb37b6fb0e415466a0ea45afaa45 (diff)
downloadslackbuilds-9514306f3d8dd25b6f0a41428c0652d06bf80477.tar.gz
network/chromium: Updated for version 53.0.2785.143.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/chromium/chromium.SlackBuild')
-rw-r--r--network/chromium/chromium.SlackBuild28
1 files changed, 16 insertions, 12 deletions
diff --git a/network/chromium/chromium.SlackBuild b/network/chromium/chromium.SlackBuild
index 25e17a0e83..8dd6fe7cc5 100644
--- a/network/chromium/chromium.SlackBuild
+++ b/network/chromium/chromium.SlackBuild
@@ -28,13 +28,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromium
-VERSION=${VERSION:-48.0.2564.97}
+VERSION=${VERSION:-53.0.2785.143}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -55,8 +55,8 @@ GOOGLE_API_KEY=AIzaSyBhWJ-j5RXyt5911BMuVen-WuS10mvOnrY
GOOGLE_DEFAULT_CLIENT_ID=952820686433-mbp5sv9scfj78siq96jlvrem47qgvbi3.apps.googleusercontent.com
GOOGLE_DEFAULT_CLIENT_SECRET=XU4b-j0Ssy-XkTvSVmiFMvNY
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKLDFLAGS=""
LIBDIRSUFFIX=""
TARGETARCH="ia32"
@@ -92,6 +92,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Disable MADV_FREE (if set by glibc)
+# https://bugzilla.redhat.com/show_bug.cgi?id=1361157
+patch -p1 -i $CWD/chromium-52.0.2743.116-unset-madv_free.patch
+
if [ "$USE_CLANG" = "YES" ]; then
CLANG_OPT="-Dclang=1 -Dclang_use_chrome_plugins=0"
sed -e '/-Wno-absolute-value/d' -i build/common.gypi
@@ -113,7 +117,7 @@ _conf=(
-Dgoogle_api_key=$GOOGLE_API_KEY
-Dgoogle_default_client_id=$GOOGLE_DEFAULT_CLIENT_ID
-Dgoogle_default_client_secret=$GOOGLE_DEFAULT_CLIENT_SECRET
- -Dicu_use_data_file_flag=0
+ -Dicu_use_data_file_flag=1
-Dlinux_sandbox_path=/usr/lib${LIBDIRSUFFIX}/chromium/chrome_sandbox
-Dlinux_strip_binary=1
-Dlinux_use_bundled_binutils=0
@@ -127,24 +131,25 @@ _conf=(
-Duse_allocator=none
-Duse_gconf=0
-Duse_kerberos=0
- -Duse_pulseaudio=0
+ -Duse_sysroot=0
+ -Duse_pulseaudio=1
-Duse_system_bzip2=0
- -Duse_system_flac=1
-Duse_system_ffmpeg=0
-Duse_system_harfbuzz=0
-Duse_system_icu=0
- -Duse_system_libevent=1
-Duse_system_libjpeg=0
-Duse_system_libpng=0
-Duse_system_libxml=0
-Duse_system_libxslt=0
- -Duse_system_nspr=1
-Duse_system_opus=0
-Duse_system_snappy=0
+ -Duse_system_zlib=0
+ -Duse_system_flac=1
+ -Duse_system_libevent=1
+ -Duse_system_nspr=1
-Duse_system_openssl=1
-Duse_system_xdg_utils=1
-Duse_system_yasm=1
- -Duse_system_zlib=0
-Dwerror=
-Drelease_extra_cflags="$CFLAGS"
-Dtarget_arch=$TARGETARCH
@@ -177,8 +182,7 @@ cp out/Release/lib/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/chromium/lib
cp out/Release/natives_blob.bin $PKG/usr/lib${LIBDIRSUFFIX}/chromium
cp out/Release/snapshot_blob.bin $PKG/usr/lib${LIBDIRSUFFIX}/chromium
-
-cp -a third_party/icu/source/data/in/icudtl.dat $PKG/usr/lib${LIBDIRSUFFIX}/chromium
+cp -a out/Release/icudtl.dat $PKG/usr/lib${LIBDIRSUFFIX}/chromium
mkdir -p $PKG/usr/man/man1
install -m 0644 -D out/Release/chrome.1 $PKG/usr/man/man1/chromium.1