1 |
commit: 40f40e4c0f5f60472c19c326f2880c30fe37fa0c |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 27 06:18:39 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 06:18:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f40e4c |
7 |
|
8 |
www-client/chromium-bin: add 106.0.5249.61, without keywords |
9 |
|
10 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
11 |
|
12 |
www-client/chromium-bin/Manifest | 11 + |
13 |
.../chromium-bin/chromium-bin-106.0.5249.61.ebuild | 241 +++++++++++++++++++++ |
14 |
2 files changed, 252 insertions(+) |
15 |
|
16 |
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest |
17 |
index 0fc2bc6be634..8c11c02765f4 100644 |
18 |
--- a/www-client/chromium-bin/Manifest |
19 |
+++ b/www-client/chromium-bin/Manifest |
20 |
@@ -9,3 +9,14 @@ DIST chromium-bin-105.0.5195.125-1-wayland-x86_64.tar.xz 84310036 BLAKE2B e1f283 |
21 |
DIST chromium-bin-105.0.5195.125-1-x11-aarch64.tar.xz 82483584 BLAKE2B 1cafd3ce23bdf59d1bbd2771efd4d637ce5194e03b43bc66b2570db2ef2e59d9c063186363395b8c930136bcfc90d3047b26b68e0eb6977fdd2f87dce9ce09b5 SHA512 ac655790242cf6b465bf99706094a8421772154c58cd35e275d26c86b807b4fffc5f4eb4dea0d7c2bee7d6e26654f5b4c79caf5f10a81e7679af6759726327c5 |
22 |
DIST chromium-bin-105.0.5195.125-1-x11-i686.tar.xz 84796860 BLAKE2B 0043e98ba4a1e9b0f019275d3d66c90eb652cdd223584dea5939b160bf108c7c44341a228c8a487f77637545907933d41d8d92995a968229c4b7c6eaf76cebd0 SHA512 2090e4f044d1c23aac5ccff4e947e153b4c614d1f0ffd0329fd9d83e5a964c31f3c9646f3a939754474e7137e327f10d785bbe8ada7e6f2dfe8de1437a0a973f |
23 |
DIST chromium-bin-105.0.5195.125-1-x11-x86_64.tar.xz 84129140 BLAKE2B 26cf5879c932b8d6c123ec500d25febc86e4e2ef3e84224116d3f99b3c70016f8621bea09df64525695ce4eaaf393612c3e02a32110d8be76536ccda0641a10f SHA512 0b0d45bd3a3801c47e1c207ef321ba61e5b0cc6f28f812b1f5544d5943209e35a7ebcf15feaded144946fff9d0931926f66ffee61c8783b7e6f1b7e5b9fb2128 |
24 |
+DIST chromium-bin-106.0.5249.61-1-common-aarch64.tar.xz 3205652 BLAKE2B 7abbfdb83bd78c343eee829ecbbf2d1f654d2a91fc3bd3899cb37e5f563d05f1d74b2a8682fbe42d0eab5ea1612302eeb0baca0ea81db29b760e4cbca4f3975e SHA512 80b9dd6834a5d96805a4d5fbc8af3e55dffbc51b593157d586444ae12a928eab2d092cc596ca3ad468d651f588e2819f93adfcf4aeaa3f3f34775296b51973d5 |
25 |
+DIST chromium-bin-106.0.5249.61-1-common-i686.tar.xz 3217744 BLAKE2B b3e7944f7e2294824f1b3d04b383adef58c6f37792e2b00ae4c7eaade4cf43cf2170ffcb409a466d5c5b461597659cff5b60c7e2c0df5c988f05e59054d7e5a8 SHA512 6eea3dbdc38e3e8500bd2b6b1b790df65e621904aa621102772c75c697212864f463a336591c3d087429229af619a5671d622776ae44788d97e29ba5f960ec1d |
26 |
+DIST chromium-bin-106.0.5249.61-1-common-x86_64.tar.xz 3269596 BLAKE2B c37bddc9a28d3b3801dce22b53a32f207a7c3b8afa3979c183a2451e1cf95ef86ce4c1456f4f92e32a0999fa551507c9dce989faaad3d200340575a580fa3f78 SHA512 0526b19755685ffec3c09e3532f8fee19b46c6625ee154234a3e325e7145f3213b78856991f6837f2cbd63c6ab0c17d3b9a75e479f459320128e8a6c4a49c022 |
27 |
+DIST chromium-bin-106.0.5249.61-1-common.tar.xz 4467896 BLAKE2B e45a541dfabec6a60f72f51c6ae6cb069a233762b32e3bc12b1f615de4dd074a93ab952dc7ad05945e21272e4adca90ef7a6f81eaba9d58a7346cb9170348aaa SHA512 85941d889961423d84be7dd40a935442b14f0c5d8f53c4b947673e5ff3c4ae7efdfdf1525497f0911d2c8e76ce0dba072d2c8f56dbb6d1cc07e1952a93dca9b2 |
28 |
+DIST chromium-bin-106.0.5249.61-1-l10n.tar.xz 5133924 BLAKE2B dbd9936cef91b2ec949c9141af93d33515d84b27b64a796599a61d32994ecb8019fc4d990482a4b64f175a97e39e6c21c991321789c31853db1daa918a13cadb SHA512 9c314eb65a9340dfb809346b5d012cc4d25adb9de88058b0532e265ab7a345e2d78f07c0c6e37b6ea684079ac027f3b85d5f46914d0d8dd2519e2f6fa2fd9f59 |
29 |
+DIST chromium-bin-106.0.5249.61-1-wayland-aarch64.tar.xz 83423748 BLAKE2B 8a0e954a929f5922eba1af8199d154e67a52a46f83bec7a2aeb1087e54fb67a1faa16411af4298183a7e26657bae612378818934e6601dfff6cd424591fcac67 SHA512 66541afef8d4009e7f9d300bc586026986cea5dbb2e74a08291f2d93913734d649ad73a04d7ec69f37bbe8e70b2e97c9ce4b25781468ff1205e1a1c5c563a4c4 |
30 |
+DIST chromium-bin-106.0.5249.61-1-wayland-i686.tar.xz 85526252 BLAKE2B 30ec85f9f2767078c7aa5aaf6dcd118a08f34510d3478b5b8399d9a848f58f0f39790fdd240d183d382ad69c802e5fe32e89a4950d64a24080cb93f1648301d6 SHA512 18311392584361575d7e0fb2348f26c442a88eccbceef7df5122e02425100e9d5a64c62f62e6e0c060f31fdaec919eccf37144282fbd91f0512d3d07beb246ac |
31 |
+DIST chromium-bin-106.0.5249.61-1-wayland-x86_64.tar.xz 85306772 BLAKE2B 6a79ad336222150bad0c7a354b8d80a061c720612c306e58501aac7c50a6324307a87871ca6e598998dd0ef315b3f7bc9f459ea1b092baebe990e892e21303b9 SHA512 570fe9166b30c1b20c443e892e1b91bffc0c9d7d463134ab4b32d9ec9465d026ae3cfa0d52d9af14a3e79172533c57b967cb6ca553542c127f8f1a2775811615 |
32 |
+DIST chromium-bin-106.0.5249.61-1-x11-aarch64.tar.xz 83195888 BLAKE2B b24605f987fa1f0aee8d7857237a8810cbf382ffd12652517373b08fed81f245bf9399065ddbe4175ee4ba29a38ce4a4b9c2683771b99530594c71e28561e46f SHA512 1d43249499287207a256b605fa0ca04ca6ec3274c3ff6e44c3c5acd95191f2e69cba8a4be2913ad80b7f482e69d01641d93a98835195183653db859a70aa1479 |
33 |
+DIST chromium-bin-106.0.5249.61-1-x11-i686.tar.xz 85299124 BLAKE2B 31683561e0d40d6a039755e62fd73e0fa1b8ec85c8343963517359db26802f024890c3a0003a8b0defabd196fd4f9002501e5266804e72a9c1e24f77880e782a SHA512 beede9c2bcb49e3c7a2e05d5f89ea3f5d27c90f9b34f1f5145172662f12be1cbbbe0d1d15b41e2f4126be180d2345c7ea53cf7063ad52432923ca68d68f84a06 |
34 |
+DIST chromium-bin-106.0.5249.61-1-x11-x86_64.tar.xz 85046604 BLAKE2B 6e7e9ef9d48ce57c12759449246ffa9ed69645a5df2de217e1e0797f966903e38d9d9868892341a71193cd04be3caa24d13d4c2188384e714d2afc30f4523d61 SHA512 212f11fe6b96fb6385313aff7c6a15d4346637a2def7bd17d4e91fa615658691da4159d2c88675494ef0c87c066dc6f82cbc0291b3191853c2699a9d20d55ee0 |
35 |
|
36 |
diff --git a/www-client/chromium-bin/chromium-bin-106.0.5249.61.ebuild b/www-client/chromium-bin/chromium-bin-106.0.5249.61.ebuild |
37 |
new file mode 100644 |
38 |
index 000000000000..475b7ec48b04 |
39 |
--- /dev/null |
40 |
+++ b/www-client/chromium-bin/chromium-bin-106.0.5249.61.ebuild |
41 |
@@ -0,0 +1,241 @@ |
42 |
+# Copyright 2020-2022 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=8 |
46 |
+ |
47 |
+CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he |
48 |
+ hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr |
49 |
+ sv sw ta te th tr uk ur vi zh-CN zh-TW" |
50 |
+ |
51 |
+inherit chromium-2 desktop pax-utils readme.gentoo-r1 unpacker xdg-utils |
52 |
+ |
53 |
+DESCRIPTION="Open-source version of Google Chrome web browser" |
54 |
+HOMEPAGE="https://chromium.org/" |
55 |
+ |
56 |
+MY_P=${P}-1 |
57 |
+ |
58 |
+SRC_URI="https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common.tar.xz |
59 |
+ https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-l10n.tar.xz |
60 |
+ amd64? ( |
61 |
+ https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-x86_64.tar.xz |
62 |
+ wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-x86_64.tar.xz ) |
63 |
+ !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-x86_64.tar.xz ) |
64 |
+ ) |
65 |
+ arm64? ( |
66 |
+ https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-aarch64.tar.xz |
67 |
+ wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-aarch64.tar.xz ) |
68 |
+ !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-aarch64.tar.xz ) |
69 |
+ ) |
70 |
+ x86? ( |
71 |
+ https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-i686.tar.xz |
72 |
+ wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-i686.tar.xz ) |
73 |
+ !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-i686.tar.xz ) |
74 |
+ )" |
75 |
+ |
76 |
+LICENSE="BSD" |
77 |
+SLOT="0" |
78 |
+#KEYWORDS="-* ~amd64 ~arm64 ~x86" |
79 |
+IUSE="cpu_flags_x86_sse2 suid wayland widevine" |
80 |
+ |
81 |
+RDEPEND=" |
82 |
+ app-accessibility/at-spi2-atk:2 |
83 |
+ app-accessibility/at-spi2-core:2 |
84 |
+ dev-libs/atk |
85 |
+ dev-libs/expat |
86 |
+ dev-libs/glib:2 |
87 |
+ dev-libs/libxml2[icu] |
88 |
+ dev-libs/libxslt |
89 |
+ dev-libs/nspr |
90 |
+ >=dev-libs/nss-3.26 |
91 |
+ media-libs/alsa-lib |
92 |
+ || ( |
93 |
+ media-libs/flac:0/0 |
94 |
+ media-libs/flac-compat:8.3.0 |
95 |
+ ) |
96 |
+ media-libs/fontconfig |
97 |
+ >=media-libs/freetype-2.11.0-r1 |
98 |
+ media-libs/libjpeg-turbo |
99 |
+ media-libs/libwebp |
100 |
+ media-libs/mesa[gbm(+)] |
101 |
+ media-libs/openh264:0/6.1 |
102 |
+ net-misc/curl[ssl] |
103 |
+ net-print/cups |
104 |
+ sys-apps/dbus |
105 |
+ sys-apps/pciutils |
106 |
+ >=sys-devel/gcc-9.3.0 |
107 |
+ >=sys-libs/glibc-2.32 |
108 |
+ sys-libs/zlib[minizip] |
109 |
+ virtual/ttf-fonts |
110 |
+ virtual/udev |
111 |
+ x11-libs/cairo |
112 |
+ x11-libs/libdrm |
113 |
+ x11-libs/gdk-pixbuf:2 |
114 |
+ || ( |
115 |
+ x11-libs/gtk+:3[X,wayland?] |
116 |
+ gui-libs/gtk:4[X,wayland?] |
117 |
+ ) |
118 |
+ x11-libs/libX11 |
119 |
+ x11-libs/libXcomposite |
120 |
+ x11-libs/libXdamage |
121 |
+ x11-libs/libXext |
122 |
+ x11-libs/libXfixes |
123 |
+ x11-libs/libXrandr |
124 |
+ x11-libs/libXtst |
125 |
+ x11-libs/libxcb |
126 |
+ x11-libs/libxkbcommon |
127 |
+ x11-libs/libxshmfence |
128 |
+ x11-libs/pango |
129 |
+ x11-misc/xdg-utils |
130 |
+ amd64? ( |
131 |
+ widevine? ( www-plugins/chrome-binary-plugins ) |
132 |
+ ) |
133 |
+ wayland? ( dev-libs/wayland ) |
134 |
+" |
135 |
+ |
136 |
+S=${WORKDIR} |
137 |
+QA_PREBUILT="*" |
138 |
+ |
139 |
+DISABLE_AUTOFORMATTING="yes" |
140 |
+DOC_CONTENTS=" |
141 |
+Some web pages may require additional fonts to display properly. |
142 |
+Try installing some of the following packages if some characters |
143 |
+are not displayed properly: |
144 |
+- media-fonts/arphicfonts |
145 |
+- media-fonts/droid |
146 |
+- media-fonts/ipamonafont |
147 |
+- media-fonts/noto |
148 |
+- media-fonts/ja-ipafonts |
149 |
+- media-fonts/takao-fonts |
150 |
+- media-fonts/wqy-microhei |
151 |
+- media-fonts/wqy-zenhei |
152 |
+ |
153 |
+To fix broken icons on the Downloads page, you should install an icon |
154 |
+theme that covers the appropriate MIME types, and configure this as your |
155 |
+GTK+ icon theme. |
156 |
+ |
157 |
+For native file dialogs in KDE, install kde-apps/kdialog. |
158 |
+ |
159 |
+To make password storage work with your desktop environment you may |
160 |
+have install one of the supported credentials management applications: |
161 |
+- app-crypt/libsecret (GNOME) |
162 |
+- kde-frameworks/kwallet (KDE) |
163 |
+If you have one of above packages installed, but don't want to use |
164 |
+them in Chromium, then add --password-store=basic to CHROMIUM_BIN_FLAGS |
165 |
+in /etc/chromium-bin/default. |
166 |
+" |
167 |
+ |
168 |
+pkg_pretend() { |
169 |
+ if use amd64 || use x86; then |
170 |
+ if ! use cpu_flags_x86_sse2; then |
171 |
+ eerror "This package requires a CPU supporting the SSE2 instruction set." |
172 |
+ die "SSE2 support missing" |
173 |
+ fi |
174 |
+ fi |
175 |
+} |
176 |
+ |
177 |
+pkg_setup() { |
178 |
+ chromium_suid_sandbox_check_kernel_config |
179 |
+ |
180 |
+ if ! use amd64 && use widevine; then |
181 |
+ ewarn "Widevine CDM plugin is not available for your architecture." |
182 |
+ fi |
183 |
+} |
184 |
+ |
185 |
+src_unpack() { |
186 |
+ : |
187 |
+} |
188 |
+ |
189 |
+src_install() { |
190 |
+ dodir / |
191 |
+ cd "${ED}" || die |
192 |
+ unpacker |
193 |
+ |
194 |
+ local CHROMIUM_BIN_HOME="opt/chromium-bin" |
195 |
+ |
196 |
+ if ! use suid; then |
197 |
+ rm "${CHROMIUM_BIN_HOME}/chrome-sandbox" || die |
198 |
+ fi |
199 |
+ |
200 |
+ # Clean unneeded languages |
201 |
+ pushd "${CHROMIUM_BIN_HOME}/locales" > /dev/null || die |
202 |
+ chromium_remove_language_paks |
203 |
+ popd > /dev/null || die |
204 |
+ |
205 |
+ # Install icons |
206 |
+ local size |
207 |
+ for size in 16 24 32 48 64 128 256 ; do |
208 |
+ newicon -s ${size} "${CHROMIUM_BIN_HOME}/icons/hicolor/${size}x${size}/apps/chromium-browser.png" ${PN}-browser.png |
209 |
+ done |
210 |
+ rm -r "${CHROMIUM_BIN_HOME}/icons" |
211 |
+ |
212 |
+ # Allow users to override command-line options, bug #357629. |
213 |
+ insinto /etc/chromium-bin |
214 |
+ newins "${FILESDIR}/chromium-bin.default" "default" |
215 |
+ |
216 |
+ # Install desktop entry |
217 |
+ domenu "${FILESDIR}/chromium-bin-browser-chromium.desktop" |
218 |
+ |
219 |
+ # Install GNOME default application entry (bug #303100). |
220 |
+ insinto /usr/share/gnome-control-center/default-apps |
221 |
+ newins "${FILESDIR}/chromium-bin-browser.xml" chromium-bin-browser.xml |
222 |
+ |
223 |
+ # Install manpage; bug #684550 |
224 |
+ doman "${FILESDIR}/chromium-bin-browser.1" |
225 |
+ dosym chromium-bin-browser.1 /usr/share/man/man1/chromium-bin.1 |
226 |
+ |
227 |
+ pax-mark m "${CHROMIUM_BIN_HOME}/chrome" |
228 |
+ |
229 |
+ # Symlink Widevine CDM |
230 |
+ if use widevine; then |
231 |
+ dosym "../../usr/$(get_libdir)/chromium-browser/WidevineCdm" "${CHROMIUM_BIN_HOME}/WidevineCdm" |
232 |
+ fi |
233 |
+ |
234 |
+ # Install launcher |
235 |
+ exeinto "${CHROMIUM_BIN_HOME}" |
236 |
+ doexe "${FILESDIR}/chromium-bin-launcher.sh" |
237 |
+ |
238 |
+ # It is important that we name the target "chromium-bin-browser", |
239 |
+ # xdg-utils expect it; bug #355517. |
240 |
+ dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" /usr/bin/chromium-bin-browser |
241 |
+ # keep the old symlink around for consistency |
242 |
+ dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" /usr/bin/chromium-bin |
243 |
+ |
244 |
+ dosym "../../${CHROMIUM_BIN_HOME}/chromedriver" /usr/bin/chromedriver-bin |
245 |
+ |
246 |
+ readme.gentoo_create_doc |
247 |
+} |
248 |
+ |
249 |
+pkg_postrm() { |
250 |
+ xdg_icon_cache_update |
251 |
+ xdg_desktop_database_update |
252 |
+} |
253 |
+ |
254 |
+pkg_postinst() { |
255 |
+ xdg_icon_cache_update |
256 |
+ xdg_desktop_database_update |
257 |
+ readme.gentoo_print_elog |
258 |
+ |
259 |
+ elog "For VA-API support you need to install x11-libs/libva with" |
260 |
+ elog "USE=X enabled." |
261 |
+ elog |
262 |
+ elog "VA-API is disabled by default at runtime. You have to enable it" |
263 |
+ elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_BIN_FLAGS" |
264 |
+ elog "in /etc/chromium-bin/default." |
265 |
+ |
266 |
+ if use wayland; then |
267 |
+ elog |
268 |
+ elog "For screencast support you need to install media-video/pipewire." |
269 |
+ elog |
270 |
+ elog "Screencast is disabled by default at runtime. Either enable it" |
271 |
+ elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer" |
272 |
+ elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer" |
273 |
+ elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default." |
274 |
+ fi |
275 |
+ |
276 |
+ elog |
277 |
+ elog "chromium-bin profile defaults to \${HOME}/.config/chromium-bin." |
278 |
+ elog "Some extensions (e.g. KeepassXC) expect default chromium profile" |
279 |
+ elog "at \${HOME}/.config/chromium. You can overwrite this by adding" |
280 |
+ elog "--user-data-dir=\${HOME}/.config/chromium to CHROMIUM_BIN_FLAGS" |
281 |
+ elog "in /etc/chromium-bin/default." |
282 |
+} |