summaryrefslogtreecommitdiff
path: root/network/chromium/chromium.SlackBuild
diff options
context:
space:
mode:
authorFrancisco Ambrozio <developer@franciscoambrozio.com>2012-07-31 08:56:35 -0300
committerErik Hanson <erik@slackbuilds.org>2012-07-31 19:34:12 -0500
commitfa8ec05716bdddae1d7023129304c0d583455bbc (patch)
tree9bfdbcd2bddc48405074f95c85ab78a2dc957360 /network/chromium/chromium.SlackBuild
parenta17957f5805c9880ba27673fa5b8227ae9bfb7d6 (diff)
downloadslackbuilds-fa8ec05716bdddae1d7023129304c0d583455bbc.tar.gz
network/chromium: Updated for version 20.0.1132.57.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/chromium/chromium.SlackBuild')
-rw-r--r--network/chromium/chromium.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/network/chromium/chromium.SlackBuild b/network/chromium/chromium.SlackBuild
index 28dd4634f0..e8de15ecc1 100644
--- a/network/chromium/chromium.SlackBuild
+++ b/network/chromium/chromium.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Google Chromium
#
# Copyright 2010 Yucatan "Kenjiro" Costa, Alegrete, RS, Brasil
-# Copyright 2012 Francisco Ambrozio <francisco.ambrozio@gmail.com>
+# Copyright 2012 Francisco Ambrozio <developer@franciscoambrozio.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromium
-VERSION=${VERSION:-19.0.1084.52}
+VERSION=${VERSION:-20.0.1132.57}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,6 +78,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# https://bugs.webkit.org/show_bug.cgi?id=85781
+patch -p1 -d third_party/WebKit < $CWD/gcc45fix.patch
+
# Change "-Dproprietary_codecs" to "0" if you don't want to use proprietary codecs
SLKCFLAGS="${SLKCFLAGS} -fno-ipa-cp"
@@ -118,9 +121,8 @@ cd out/Release/
mkdir -p $PKG/usr/bin
install -m 0755 -D chrome $PKG/usr/lib${LIBDIRSUFFIX}/chromium
install -m 4555 -o root -g root -D chrome_sandbox $PKG/usr/lib${LIBDIRSUFFIX}/chromium
- install -m 0644 -D chrome.pak $PKG/usr/lib${LIBDIRSUFFIX}/chromium
- install -m 0644 -D resources.pak $PKG/usr/lib${LIBDIRSUFFIX}/chromium
install -m 0755 -D libffmpegsumo.so $PKG/usr/lib${LIBDIRSUFFIX}/chromium
+ cp *.pak $PKG/usr/lib${LIBDIRSUFFIX}/chromium
cp -a locales/ $PKG/usr/lib${LIBDIRSUFFIX}/chromium
cp -a resources/ $PKG/usr/lib${LIBDIRSUFFIX}/chromium
find $PKG -name '*.d' -type f -delete
@@ -131,8 +133,8 @@ cd out/Release/
cp product_logo_48.png $PKG/usr/share/pixmaps/chromium.png
mkdir -p $PKG/usr/share/applications
install -m 0644 $CWD/chromium.desktop $PKG/usr/share/applications
-
cd ../../
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/ || true