[chrome] tag + wayland

This commit is contained in:
Gwenhael Le Moine 2021-12-02 11:14:12 +01:00
parent 4dc6443f3d
commit 611e4b87c8
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -18,10 +18,12 @@ CHANNEL=${CHANNEL:=stable}
wget -c --no-check-certificate https://dl.google.com/linux/direct/google-chrome-${CHANNEL}_current_$DEBARCH.deb
cp $BUILD_DIR/google-chrome.SlackBuild .
RELEASE=$CHANNEL ./google-chrome.SlackBuild
RELEASE=$CHANNEL BUILD=1gwh ./google-chrome.SlackBuild
upgradepkg --install-new --reinstall /tmp/google-chrome-*-$ARCH-*.txz
sed -i "s|Exec=/usr/bin/google-chrome\([a-z-]*\)|Exec=/usr/bin/google-chrome\1 --enable-features=UseOzonePlatform --ozone-platform=wayland|g" /usr/share/applications/google-chrome.desktop
rm google-chrome.SlackBuild google-chrome-${CHANNEL}_current_$DEBARCH.deb
#/root/clean-tmp.sh