summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-02-28 21:51:52 +0000
committer Eric Hameleers <alien@slackware.com>2023-02-28 21:51:52 +0000
commit8d37f63997c914286b9432f6b51f087ca96bf404 (patch)
treec00cd8bf685ecdabdb81f18604d46d01c742be12 /chromium
parent563a5f86a1a1ab15c166552b72757271f03a090f (diff)
downloadasb-8d37f63997c914286b9432f6b51f087ca96bf404.tar.gz
asb-8d37f63997c914286b9432f6b51f087ca96bf404.tar.xz
chromium: update to 110.0.5481.177
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/build/chromium.SlackBuild27
1 files changed, 19 insertions, 8 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild
index 5fc4ca86..8165cab2 100755
--- a/chromium/build/chromium.SlackBuild
+++ b/chromium/build/chromium.SlackBuild
@@ -508,6 +508,8 @@
# * Update to M110.
# 110.0.5481.100-1:15/feb/2023 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 110.0.5481.177-1:26/feb/2023 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# -----------------------------------------------------------------------------
#
@@ -530,8 +532,8 @@ USE_DEV=${USE_DEV:-0}
SRCNAM=chromium
PRGNAM=${SRCNAM}${SRCEXT} # chromium, chromium-dev, chromium-ungoogled, etc
-VERSION=${VERSION:-110.0.5481.100}
-UNGOOGLED=${UNGOOGLED:-110.0.5481.100-1}
+VERSION=${VERSION:-110.0.5481.177}
+UNGOOGLED=${UNGOOGLED:-110.0.5481.177-1}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -567,18 +569,22 @@ else
USE_WAYLAND=${USE_WAYLAND:-0}
fi
-# Enable Qt UI on Slackware 15.0 and newer.
+# Build Chromium using a debian sysroot for Slackware 14.2 or older;
+# FYI, this will actually also just work for Slackware > 14.2:
+USE_SYSROOT=${USE_SYSROOT:-1}
+
+# Enable Qt UI on Slackware 15.0 & newer where we do not need a debian sysroot.
# Until Chromium 110, enable Qt5 UI using param '--enable-features=AllowQt':
if pkg-config --exists "Qt5Core >= 5.15.3" ; then
- USE_QT=${USE_QT:-1}
+ if [ ${USE_SYSROOT} -eq 0 ]; then
+ USE_QT=${USE_QT:-1}
+ else
+ USE_QT=${USE_QT:-0}
+ fi
else
USE_QT=${USE_QT:-0}
fi
-# Build Chromium using a debian sysroot for Slackware 14.2 or older;
-# FYI, this will actually also just work for Slackware > 14.2:
-USE_SYSROOT=${USE_SYSROOT:-1}
-
# By default the ffmpeg and other component libraries are built statically
# into the chromium binary. This takes more time at the linking stage but
# will speed up the browser's startup.
@@ -1010,6 +1016,11 @@ export CXXFLAGS="$SLKCFLAGS -Wno-unknown-warning-option"
export CFLAGS="$SLKCFLAGS -Wno-unused-local-typedefs -Wno-unknown-warning-option"
export PATH="$TMP/tmp-$PRGNAM/privatebin:$PATH"
+if [ ${USE_QT} -eq 1 ]; then
+ export CFLAGS="$CFLAGS -I/usr/include/qt5"
+ export CXXFLAGS="$CXXFLAGS -I/usr/include/qt5"
+fi
+
# After building gn, run:
# "./out/Release/gn args out/Release --list"
# for a list of all variables.