summaryrefslogtreecommitdiff
path: root/www-client/ungoogled-chromium
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-15 12:11:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-15 12:11:50 +0000
commit82f32bbbbaeb7c078961ddcf1540002d33a71ad9 (patch)
treec8dd7a39e0c5a516c4dc669f2b06a6a3c4683bb6 /www-client/ungoogled-chromium
parent6fd491eb6e1f1dcb7a997fc656297de84a5742c4 (diff)
www-client/ungoogled-chromium : version bump
Diffstat (limited to 'www-client/ungoogled-chromium')
-rw-r--r--www-client/ungoogled-chromium/Manifest2
-rw-r--r--www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.128.ebuild (renamed from www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.111.ebuild)27
2 files changed, 24 insertions, 5 deletions
diff --git a/www-client/ungoogled-chromium/Manifest b/www-client/ungoogled-chromium/Manifest
index 45569501..2a6da07b 100644
--- a/www-client/ungoogled-chromium/Manifest
+++ b/www-client/ungoogled-chromium/Manifest
@@ -1 +1 @@
-DIST ungoogled-chromium_122.0.6261.111-1_linux.tar.xz 125795832 BLAKE2B 787c307c0f6442347c08b1f6137b114661711248b0e879610028d3d70b27a5031fc1485fb1befd7e20748b3ec2fad40196a2e2e3844042fd7c3cee8ac729f661 SHA512 7221b219e05664006507acc160fd13ea4c254fd7f91535120829ef9099c9c981f12b036cda5a298620abbe379a5ffa8a4812c6356dcc9639ad2cb3f7a27a86e8
+DIST ungoogled-chromium_122.0.6261.128-1_linux.tar.xz 125788468 BLAKE2B 61a79d6d27c14ce1898b66050beb673d36faef7e60a6ec51adad852f542981a48df8c04f9d79bd62b8d7897354ee9e4cc02d975ef95897e50d2223d636539462 SHA512 fb657e8a9bd75a8849255035a4ff34cc7a4f7b7dfde94d0584331289c40100135273e12e5d83a6f9d594247c87b23762ff246426a9f09fc31f5f293155c5f811
diff --git a/www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.111.ebuild b/www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.128.ebuild
index 17d2b2e7..940d6a90 100644
--- a/www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.111.ebuild
+++ b/www-client/ungoogled-chromium/ungoogled-chromium-122.0.6261.128.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit desktop readme.gentoo-r1 xdg-utils
+inherit desktop pax-utils readme.gentoo-r1 xdg-utils
DESCRIPTION="Modifications to Chromium for removing Google integration and enhancing privacy"
HOMEPAGE="https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium"
@@ -13,7 +13,7 @@ RESTRICT="binchecks mirror strip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+widevine"
+IUSE="qt5 qt6 +suid +widevine"
CDEPEND="
app-accessibility/at-spi2-core
@@ -53,6 +53,12 @@ CDEPEND="
x11-libs/libxcb
>=x11-libs/libXi-1.6.0
virtual/udev
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[X]
+ dev-qt/qtwidgets:5
+ )
+ qt6? ( dev-qt/qtbase:6[gui,widgets] )
widevine? ( www-plugins/chrome-binary-plugins )
"
@@ -94,9 +100,7 @@ src_install() {
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
- fperms 4711 "${CHROMIUM_HOME}"/chrome_sandbox
insinto "${CHROMIUM_HOME}"
for i in *.bin *.pak *.so *.so.1 icudtl.dat; do
@@ -113,10 +117,25 @@ src_install() {
insinto /etc/chromium
newins "${FILESDIR}"/chromium.default default
+ if ! use qt5; then
+ rm "${ED}"/"${CHROMIUM_HOME}"/libqt5_shim.so || die
+ else
+ fperms 0755 "${CHROMIUM_HOME}"/libqt5_shim.so || die
+ fi
+
+ if ! use qt6; then
+ rm "${ED}"/"${CHROMIUM_HOME}"/libqt6_shim.so || die
+ else
+ fperms 0755 "${CHROMIUM_HOME}"/libqt6_shim.so || die
+ fi
+
if use widevine; then
dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm "${CHROMIUM_HOME}"/WidevineCdm
fi
+ pax-mark m "${CHROMIUM_HOME}"/chrome
+ use suid && fperms 4711 "${CHROMIUM_HOME}"/chrome_sandbox
+
newicon -s 48 product_logo_48.png chromium-browser.png
local mime_types="text/html;text/xml;application/xhtml+xml;"