summaryrefslogtreecommitdiff
path: root/network/chromium/chromium.SlackBuild
diff options
context:
space:
mode:
authorYucatan Costa <jedi.kenjiro@gmail.com>2011-03-06 10:09:19 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-06 10:09:19 -0300
commitdbf119ec11d3acf73b95d2cf421cf7b0ec8a2ef9 (patch)
treefd33b3e55f3dcf9cd6253379a62c341246e0335c /network/chromium/chromium.SlackBuild
parent67d04ea4e22e66df0dfd36a0ecf6ad2c2a929e0c (diff)
downloadslackbuilds-dbf119ec11d3acf73b95d2cf421cf7b0ec8a2ef9.tar.gz
network/chromium: Updated for version 9.0.597.107.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/chromium/chromium.SlackBuild')
-rw-r--r--network/chromium/chromium.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/network/chromium/chromium.SlackBuild b/network/chromium/chromium.SlackBuild
index fe3b7f93e2..286e40dae2 100644
--- a/network/chromium/chromium.SlackBuild
+++ b/network/chromium/chromium.SlackBuild
@@ -29,10 +29,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromium
-VERSION=${VERSION:-8.0.558.0}
+VERSION=${VERSION:-9.0.597.107}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -68,7 +69,7 @@ cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-chown -R root:root .
+chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -98,12 +99,16 @@ build/gyp_chromium -f make build/all.gyp --depth=. \
-Duse_system_ffmpeg=0 \
-Duse_system_yasm=1 \
-Duse_system_libevent=1 \
+ -Ddisable_sse2=${NO_SSE2:-0} \
-Duse_system_ssl=0
# Compiling...
-
+# ATTENTION ==> the "-fno-ipa-cp" flag is only needed if you intend to build chromium
+# on slackware(64)-current (or if you have gcc-4.5.x installed. On slackware(64)-13.1
+# it is not needed
+#
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fno-ipa-cp" \
make chrome chrome_sandbox BUILDTYPE=Release || exit 1
# Creating the package