summaryrefslogtreecommitdiff
path: root/www-client
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/ungoogled-chromium/files/chromium-launcher.sh4
-rw-r--r--www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild (renamed from www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85.ebuild)26
2 files changed, 13 insertions, 17 deletions
diff --git a/www-client/ungoogled-chromium/files/chromium-launcher.sh b/www-client/ungoogled-chromium/files/chromium-launcher.sh
index 1163ff3d..62d5cf7d 100644
--- a/www-client/ungoogled-chromium/files/chromium-launcher.sh
+++ b/www-client/ungoogled-chromium/files/chromium-launcher.sh
@@ -34,7 +34,7 @@ if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then
fi
# Select session type and platform
-if @@OZONE_AUTO_SESSION@@; then
+if true; then
platform=
if [[ ${XDG_SESSION_TYPE} == x11 ]]; then
platform=x11
@@ -54,6 +54,6 @@ if @@OZONE_AUTO_SESSION@@; then
fi
# Set the .desktop file name
-export CHROME_DESKTOP="chromium-browser-chromium.desktop"
+export CHROME_DESKTOP="chromium-browser-ungoogled-chromium.desktop"
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
diff --git a/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85.ebuild b/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild
index d6e76f97..0da0ec8f 100644
--- a/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85.ebuild
+++ b/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild
@@ -87,23 +87,19 @@ S="${WORKDIR}/${PN}_${PV}-1.1_linux"
src_install() {
local CHROMIUM_HOME="/opt/chromium-browser"
dodir "${CHROMIUM_HOME}"
+
exeinto "${CHROMIUM_HOME}"
+ for i in chrome chrome_crashpad_handler chromedriver chrome_sandbox chrome-wrapper xdg-mime xdg-settings; do
+ doexe $i || die
+ done
+
doexe "${FILESDIR}"/chromium-launcher.sh
- doexe chrome
- doexe chrome_crashpad_handler
- doexe chromedriver
- doexe chrome_sandbox
- doexe chrome-wrapper
- doexe xdg-mime
- doexe xdg-settings
fperms 4711 "${CHROMIUM_HOME}"/chrome_sandbox
insinto "${CHROMIUM_HOME}"
- doins *.bin
- doins *.pak
- doins *.so
- doins *.so.1
- doins icudtl.dat
+ for i in *.bin *.pak *.so *.so.1 icudtl.dat; do
+ doins $i || die
+ done
doins -r locales
doins -r resources
doins vk_swiftshader_icd.json
@@ -118,9 +114,9 @@ src_install() {
newicon -s 48 product_logo_48.png chromium-browser.png
local mime_types="text/html;text/xml;application/xhtml+xml;"
- mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
- mime_types+="x-scheme-handler/ftp;" # bug #412185
- mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
+ mime_types+="x-scheme-handler/http;x-scheme-handler/https;"
+ mime_types+="x-scheme-handler/ftp;"
+ mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;"
make_desktop_entry \
chromium-browser \